mrkeyoor.com_
Tue 01 Sept 17:41 UTC
AI Toolsevaluationupdated 26 Aug 2026

kagent review

Kagent is a Kubernetes-native framework for defining, running, and observing AI agents as cluster resources. It lets platform teams manage agent prompts, models, MCP tools, and deployments with YAML and `kubectl` instead of building a separate orchestration service from scratch.

+36stars / 7d
Verdict

Our Kagent run built successfully, but 7 of 73 tests failed after a 162-second test step. It is worth an isolated-cluster trial when agent sprawl has become a Kubernetes platform problem. The open no-op user authorization and missing compatibility matrix rule it out for shared production use until operators add isolation and prove upgrades themselves.

We ran it

Lab card: what happened when we ran kagentScreenshot of kagent (kagent.dev)
Install✓ · 123s837 packages
Build✓ · 257s
Tests✗ · 162s66 passed · 7 failed of 73 (go test)
Repo1659 files~220,634 lines of source · 17.7 MB · 11 CI workflows · Dockerfile

Answers from our run

Does kagent build from source?

Dependencies installed in 123 seconds (837 packages), and the build succeeded in 257 seconds. We cloned commit cb869a0 into a clean Debian container with 3 CPUs and no project-specific setup.

Do kagent's tests pass?

Not all of them: 66 of 73 passed and 7 failed when we ran the project's own test command (go test). Some failures need services or credentials a bare container does not have.

Who should not use kagent?

Multi-tenant operators who need enforced per-user permissions today: open issue #1270 says the API, UI, and CLI lack user authorization and that all users can access resources across namespaces.

What are the alternatives to kagent?

LangGraph, AutoGen, Dify. Our Kagent run built successfully, but 7 of 73 tests failed after a 162-second test step.

Setup3/5Simple cluster demo, substantial production infrastructure
Docs4/5Wide guides and references, with version and compatibility gaps
Community5/53,595 stars, same-day pushes, CNCF home, and active issue work
Maturity3/5Serious architecture, but release candidates and access gaps remain

Discussed on

  1. hnKagent: Kubernetes native framework for building AI agents4 points

Who it’s for

Platform teams that already operate Kubernetes and want agents managed through custom resources, controllers, Helm, and existing observability tools.
Organizations building several agents that need shared MCP tool servers and a choice of hosted, local, or gateway-routed models.
Cloud-native engineers who prefer declarative configuration, GitOps review, and namespace-aware resources over a code-only agent framework.
Teams willing to run a cluster control plane, database, model credentials, and agent workloads as a real platform.

Who it’s NOT for

Multi-tenant operators who need enforced per-user permissions today: open issue #1270 says the API, UI, and CLI lack user authorization and that all users can access resources across namespaces.
Teams that need a documented Kubernetes support matrix before upgrades: open issue #2268 says no official release-to-Kubernetes-version compatibility table exists.
Operators who must stage two Kagent installations in one cluster: open issue #2283 requests support for this and notes a metrics collision when attempting it.
Event-driven teams expecting agents to receive webhooks directly: open issue #2185 identifies webhook and external trigger support as missing.
Developers who only need one agent in a script or service: Kagent requires Kubernetes, Helm charts, custom resources, controllers, model configuration, and cluster permissions for benefits a library can provide with much less machinery.

Setup reality

Our sandbox installed 837 Go packages in 123 seconds and built successfully in 257 seconds. Tests failed after 162 seconds: 66 passed and 7 failed out of 73. The log tail showed several passing packages followed by FAIL, without a cause we can safely assign.

The demo still needs kind, Helm, kubectl, a model key, the Kagent CLI, and a cluster install. Production adds separate CRD and application charts, secrets, ingress, OpenTelemetry, PostgreSQL, MCP permissions, and upgrade testing.

The project lives in go/ inside a 17.7 MB, 1,659-file checkout with about 220,634 source lines. Our scan found 11 CI workflows and a Dockerfile. Pin the CLI and charts, then test the chosen Kubernetes version because no official compatibility matrix exists.

Four components turn agents into Kubernetes resources

Kagent represents an agent through a Kubernetes custom resource containing its prompt, model configuration, and references to tools or other agents. A controller reconciles those resources, an engine runs agents through Google's Agent Development Kit, a web interface exposes chats and configuration, and a CLI provides terminal access. ModelConfig resources describe providers, while ToolServer resources connect MCP services that several agents can share.

This fits a platform team already reviewing YAML through GitOps. Agent definitions can move through the same pull requests and namespaces as other workloads. The README documents OpenAI, Anthropic, Azure OpenAI, Vertex AI, Ollama, and gateway-routed models. Its bundled MCP tools cover Kubernetes, Helm, Istio, Argo, Prometheus, Grafana, and Cilium, giving the sample agents direct operational jobs.

For one assistant, this is too much machinery. Kagent becomes interesting when several teams otherwise build separate conventions for deployment, secrets, tool discovery, tracing, and lifecycle management.

What happened when we ran it

Our sandbox installed 837 Go packages in 123 seconds and completed the build in 257 seconds. The test step failed after 162 seconds: go test reported 66 passed and 7 failed out of 73. The final log lines showed several packages passing, including controller and translator packages, then ended with FAIL. That tail does not identify the reason for the 7 failures, so assigning one would be guesswork.

The run used commit cb869a0 and the project under go/ in an unprivileged Debian container with 3 CPUs, 8 GB of RAM, Go 1.24, and no secrets. The 17.7 MB checkout contained 1,659 files and about 220,634 source lines. Our scan found 11 CI workflow files, a Dockerfile, and no tests directory. Go tests commonly sit beside source, so the last signal does not mean tests were absent.

A quick start is still a cluster deployment

The official tutorial begins with kind, Helm, kubectl, a model credential, and the Kagent CLI. kagent install --profile demo loads sample agents and tools, while kagent dashboard creates a local port forward. A minimal profile skips samples. This is approachable for a Kubernetes operator, but it is not equivalent to installing an agent library in an existing service.

Production uses separate CRD and application charts. Operators choose resources, store model secrets, expose the UI, configure OpenTelemetry, and provide an external PostgreSQL database. Agent Harness adds substrate charts, a worker pool, controller endpoints, another namespace, and timeout decisions. Each piece has a purpose, but the operating cost arrives before an agent answers its first useful question.

Issue 2268 says the project has no official matrix mapping Kagent releases to tested Kubernetes minor versions. Pin the CLI and both chart families, inspect the CI versions, and rehearse upgrades. A successful chart installation cannot substitute for a published support boundary.

No-op user authorization blocks multi-tenant use

Issue 1270 states that Kagent lacks authorization for its UI and API, and that all users can access resources across namespaces through a NoopAuthorizer. The proposal asks for API-enforced roles, OIDC group mapping, and secret masking. Agents may hold model credentials or invoke MCP tools with operational access, so this is a product boundary rather than an administrative nicety.

Kubernetes service accounts can limit what a workload does. They do not decide which person may discover, invoke, change, or delete agents through Kagent's own surfaces. A shared deployment needs isolation outside the current user model: separate clusters or tightly controlled access, a private dashboard, narrow tool permissions, and human approval for consequential actions.

Issue 2283 adds a staging constraint. Two Kagent installations can collide on cluster-scoped metrics RBAC names, leaving metrics enabled for only one instance unless operators accept a workaround. Teams that require blue-green control-plane upgrades inside one cluster should test this path before choosing Kagent.

Webhooks and some gateways need external workarounds

Kagent's resource model does not yet make it an event receiver. Issue 2185 asks for webhook or Kubernetes-event triggers, using a pull-request review bot as the example. Event-driven teams need an external service that receives the event and invokes the agent.

Model portability also has a specific edge. Issue 2440 reports that both Go and Python OpenAI-compatible embedding paths always request 768 dimensions. Gateways backed by models that support 1,024, 512, or 256 dimensions can reject every memory call even though Kagent's later processing can truncate larger vectors. The report suggests using a native provider path or a model that accepts 768 until the request becomes configurable.

Those limitations do not erase provider choice. They define where the advertised flexibility stops, which is exactly what a platform evaluation should test with its chosen gateway and automation source.

Release candidates are active, not settled infrastructure

GitHub showed 3,595 stars, 148 combined issues and pull requests, and a last push on August 26, 2026. The latest release is v0.10.0-rc3 from August 18. Its notes include file upload in chat, configurable tool-server refresh timing, database cleanup, S3-backed skills, and a security fix. The Apache 2.0 project is part of CNCF and accepts contributions.

Current work and 11 CI workflows are positive signals, while the 7 failing tests in our stated environment prevent an unqualified maturity claim. Kagent deserves a trial when Kubernetes is already the control plane and shared MCP operations are the goal. It should remain isolated until authorization, cluster compatibility, staging, and the exact model gateway all pass an operator-owned acceptance suite.

Alternatives

ProjectWhat it isPick it when
LangGraph gh↗A code-first framework for building durable, stateful agent workflows.pick this instead when application developers want precise graph control and can deploy the resulting service without Kubernetes custom resources.
AutoGen gh↗A framework for constructing conversational single-agent and multi-agent applications.pick this instead when agent interaction patterns and Python or .NET APIs matter more than cluster-native operations.
Dify gh↗A self-hostable visual platform for creating and operating LLM applications.pick this instead when product teams need a visual workflow builder and ready application surfaces more than GitOps-style agent resources.

What people are saying

  1. [github-trending] kagent-dev/kagent

Sources

  1. Kagent README
  2. Kagent quick start
  3. Kagent installation guide
  4. Kagent v0.10.0-rc3 release
  5. User RBAC authorization request
  6. Kubernetes compatibility matrix request

More ai tools reviews

claudian · SkillSpector · robin · mjlab · MoGe · awesome-design-md · the whole board →