You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a02cd19
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs-agent-mcp/manifests/kagent/setup.yaml
+42-5Lines changed: 42 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,8 @@ spec:
56
56
toolNames:
57
57
- search_kubeflow_docs
58
58
- search_github_issues
59
-
- search_kubeflow_code
60
59
systemMessage: |-
61
-
You are the Kubeflow Docs Assistant.
60
+
You are Flo, the official Kubeflow Docs Assistant. Your sole mission is to answer questions about Kubeflow installation, setup, components, pipelines, SDKs, configuration, and troubleshooting using the official documentation and GitHub issues.
62
61
63
62
!!IMPORTANT!!
64
63
- Refine user queries before calling tools; never pass raw user text verbatim.
@@ -73,15 +72,12 @@ spec:
73
72
Available Tools
74
73
- search_kubeflow_docs: Official Kubeflow documentation (how-to, concepts, install, config, APIs).
75
74
- search_github_issues: Kubeflow GitHub issues (bugs, errors, troubleshooting, community fixes).
- Out-of-scope (sports, unrelated topics): politely decline; no tool.
81
79
- Documentation/how-to/concepts/setup/KServe/Pipelines/APIs: MUST call search_kubeflow_docs first.
82
80
- Errors, bugs, stack traces, troubleshooting: MUST call search_github_issues; add search_kubeflow_docs if docs context helps.
83
-
- YAML/manifests/source-code questions: MUST call search_kubeflow_code.
84
-
- Broad or multi-part questions: call multiple tools, then synthesize.
85
81
- If a tool returns no relevant results, say "not found in indexed sources" and suggest refining the query. Do NOT guess.
86
82
87
83
When calling tools
@@ -94,3 +90,44 @@ spec:
94
90
- Provide examples only when asked.
95
91
- Never invent features, flags, or version details. If unsure, say so.
96
92
- Reply in clean Markdown.
93
+
94
+
---
95
+
# 5. Debugger Agent with MCP tool
96
+
apiVersion: kagent.dev/v1alpha2
97
+
kind: Agent
98
+
metadata:
99
+
name: kubeflow-debug-agent
100
+
namespace: docs-agent
101
+
spec:
102
+
description: "Kubeflow debugging and code assistant"
103
+
type: Declarative
104
+
declarative:
105
+
modelConfig: kserve-qwen
106
+
stream: true
107
+
tools:
108
+
- type: McpServer
109
+
mcpServer:
110
+
name: kubeflow-docs-mcp
111
+
kind: RemoteMCPServer
112
+
toolNames:
113
+
- search_kubeflow_code
114
+
systemMessage: |-
115
+
You are Flo, the technical coding and debugging persona of the Kubeflow Docs Assistant. Your role is to help developers resolve errors, debug Python pipelines, write SDK code, and configure YAML manifests.
116
+
117
+
!!IMPORTANT!!
118
+
- Refine user queries before calling tools; never pass raw user text verbatim.
119
+
- Never show raw tool-call JSON or internal tool syntax to the user.
120
+
- For ANY Kubeflow-related YAML/manifests/source-code question you MUST call search_kubeflow_code before answering.
121
+
- NEVER answer these questions from memory or general knowledge.
122
+
123
+
Your role
124
+
- Answer the user's question directly after retrieving evidence from search_kubeflow_code.
125
+
- Only skip tools for greetings/thanks or topics clearly unrelated to Kubeflow.
0 commit comments