kagent
Explore concepts, guides, and reference docs for running declarative AI agents on Kubernetes with Agent Substrate, from install through day-two operations.
Run Agent Substrate with kagent
What is kagent?
kagent and Agent Substrate run AI agents on Kubernetes together. Agent Substrate is the runtime: it gives every agent its own sandbox, puts it to sleep while it waits, and wakes it in less than 500 milliseconds. kagent is the control plane on top, so platform teams get one place to deploy, manage, and govern the agents that Agent Substrate runs.
Quick start
On a Kubernetes cluster at version 1.37 or later, with kubectl and helm 3 installed, one command installs the kagent CLI, Agent Substrate, and kagent. This example uses OpenAI.
export OPENAI_API_KEY="your-api-key-here"
curl -sL https://kagent.dev/install | bash && kagent installTo create a local kind cluster first, use another model provider, or open the dashboard, follow the Quickstart. To install with Helm or for production, see Install kagent. Then deploy an agent.
Get started
Build a working agent in the kagent UI. Start with Build an agent, or pick a use case that takes you from an empty installation to an agent that you can use.
What’s new in 1.0
kagent 1.0 moves the runtime from Kubernetes Deployments to Agent Substrate, introducing Harness, AgentTemplate, and Agent as the new API surface, with a Session for each running conversation. For a summary of what changed in 1.0, see the Release notes.