-
Notifications
You must be signed in to change notification settings - Fork 416
Description
📋 Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
- I am using the latest version of the software
- I have tried to clear cache/cookies or used incognito mode (if ui-related)
- I can consistently reproduce this issue
🎯 Affected Service(s)
Not Sure
🚦 Impact/Severity
No impact (Default)
🐛 Bug Description
I just updated to the last version of kagent (0.7.17)
I run 2 manifest one for the mcp playwright tools and other for creating an agent.
When creating the mcp tool and the agent through the cli everything is working fine, but if I create the agent using the UI and after creating I try to bind the tools using the UI as well it is not working or at least it is showing a Agent not Accepted message.
I also tried to create the agent and bind the tools (all at once) and is not creating any agent and inside the log it is showing the following error:
{"level":"error","ts":"2026-02-23T17:01:03Z","logger":"http","msg":"Failed to translate Agent to ADK format","method":"POST","path":"/api/agents","remote_addr":"100.64.2.34:37308","user_id":"admin@kagent.dev","error":"unknown tool server type: Service.kagent.dev","stacktrace":"github.com/kagent-dev/kagent/go/internal/httpserver.(*errorResponseWriter).RespondWithError\n\t/workspace/internal/httpserver/middleware_error.go:60\ngithub.com/kagent-dev/kagent/go/internal/httpserver/handlers.(*AgentsHandler).HandleCreateAgent\n\t/workspace/internal/httpserver/handlers/agents.go:209\ngithub.com/kagent-dev/kagent/go/internal/httpserver.(*HTTPServer).setupRoutes.adaptHandler.func25\n\t/workspace/internal/httpserver/server.go:252\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:2286\ngithub.com/kagent-dev/kagent/go/internal/httpserver.errorHandlerMiddleware.func1\n\t/workspace/internal/httpserver/middleware_error.go:21\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:2286\ngithub.com/kagent-dev/kagent/go/internal/httpserver.loggingMiddleware.func1\n\t/workspace/internal/httpserver/middleware.go:28\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:2286\ngithub.com/kagent-dev/kagent/go/internal/httpserver.contentTypeMiddleware.func1\n\t/workspace/internal/httpserver/middleware.go:74\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:2286\ngithub.com/kagent-dev/kagent/go/internal/httpserver.(*HTTPServer).setupRoutes.AuthnMiddleware.func51.1\n\t/workspace/pkg/auth/auth.go:86\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:2286\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/root/go/pkg/mod/github.com/gorilla/mux@v1.8.1/mux.go:212\nnet/http.serverHandler.ServeHTTP\n\t/usr/lib/go/src/net/http/server.go:3311\nnet/http.(*conn).serve\n\t/usr/lib/go/src/net/http/server.go:2073"}
🔄 Steps To Reproduce
- Install mcp server tool using manifest and set it up into the same kagent namespace
- Create an agent using the UI (this should work)
- After agent is up and ready, bind some tools
- It will show Agent not accepted
🤔 Expected Behavior
Agent created correctly using the MCP tools
📱 Actual Behavior
Showing Agent Not Accepted or not creating the agent at all
💻 Environment
Kubernetes version: v1.34.4
Browser: Chrome 145.0.7632.76
App version (kagent): v0.7.17
🔧 CLI Bug Report
No response
🔍 Additional Context
📋 Logs
📷 Screenshots
No response
🙋 Are you willing to contribute?
- I am willing to submit a PR to fix this issue
Metadata
Metadata
Assignees
Labels
Type
Projects
Status