What is kagent?
An open-source framework, in the CNCF Sandbox, that runs AI agents on Kubernetes. Agents, model settings and tool servers are custom resources that a controller keeps in the state you declare.
[ AI tools · Frameworks and platforms ]
kagent is an open-source CNCF project that makes an AI agent a Kubernetes resource. We set it up for platform teams so agents deploy through GitOps, follow your access rules and show up in your existing monitoring.
apiVersion: kagent.dev/v1alpha2kind: Agentmetadata:name: incident-triagenamespace: platformspec:type: Declarativedeclarative:modelConfig: default-modelsystemMessage: Triage alerts, propose fixestools: kubernetes-mcp, prometheus-mcpreplicas: 3
Simplified example manifest. Field names follow the v1alpha2 API in outline.
Started by Solo.io and accepted into the CNCF Sandbox in 2025, kagent adds a few custom resources to your cluster and speaks A2A. Run a command to see each one.
$ kubectl get agents -n platform
NAME TYPE READY AGE incident-triage Declarative 3/3 12d cost-watcher Declarative 1/1 5d
Example output, simplified.
The agent itself: instructions, model, tools and how many copies run. Declarative agents are pure YAML; bring-your-own agents run your container.
The point of kagent is that agents follow the rules your platform team already enforces. These are the six we set up first.
Each agent runs in a namespace with a service account. It can only read and change what that account is allowed to.
$ kubectl auth can-i delete pods \
--as=system:serviceaccount:platform:incident-triage
noAgents live in the same repository as your other manifests and roll out through Argo CD or Flux, with review on every change.
$ argocd app get agents-platform Sync Status: Synced to main (4e1c2a9) Health Status: Healthy
Model API keys and tool credentials come from Kubernetes Secrets or your secrets manager, never from prompts or code.
$ kubectl get secret model-keys -n platform NAME TYPE DATA AGE model-keys Opaque 1 12d
OpenTelemetry traces show each model call and tool call, so agents appear in the dashboards your on-call team already reads.
trace incident-triage 2.4s model.call 1.1s tool kubernetes 0.6s tool prometheus 0.4s
Tools that change things can require a person to approve the call first; read-only tools run on their own.
tool: scale_deployment replicas 4 -> 8 status: waiting for approval approver: on-call platform
Change the replica count, set resource limits and let the scheduler place agents across nodes.
$ kubectl get agents -n platform NAME READY AGE incident-triage 3/3 12d cost-watcher 1/1 5d
$ kubectl auth can-i delete pods \
--as=system:serviceaccount:platform:incident-triage
noMost start read-only and earn the right to act. Each is a few dozen lines of YAML plus the tools it needs.
Our platform engineers work in your repositories and clustersA typical first rollout. Timing depends on your cluster setup and approvals.
30 minutes with a platform engineer on your cluster, GitOps setup and the first agent worth running. You get a written rollout plan and a fixed quote.
Packages from $1,500; custom projects from $8,000. Developers and teams start within 48 hours.
KAGENT(7)QuestionsKAGENT(7)
An open-source framework, in the CNCF Sandbox, that runs AI agents on Kubernetes. Agents, model settings and tool servers are custom resources that a controller keeps in the state you declare.
Yes, someone has to own the cluster. If you have no Kubernetes today, a managed agent runtime is usually simpler and we will say so.
Major providers such as OpenAI, Anthropic, Google and Azure OpenAI, as well as models you host yourself. The choice sits in a ModelConfig resource, so switching is a configuration change.
Through MCP servers, either deployed in the cluster or reached remotely. kagent ships tools for Kubernetes and common cloud-native projects, and we add your own.
Only what its service account allows, and we put write tools behind human approval until the agent has a track record.
It is young and its APIs still change, as with any Sandbox project. We pin versions, test upgrades in staging and keep agents simple enough to move if needed.
Running agents is half of AgenticOps. kagent tools speak the Model Context Protocol, agents talk over A2A, and the cluster itself is DevOps engineers’ work.
Book a free strategy call and leave with a clear plan and estimate. No commitment.