kagent 1.0: Running AI Agents on Kubernetes as Sandboxed Actors, Not Pods
The 30-second version: kagent 1.0 — the open-source framework for running AI agents on Kubernetes — went GA on 9 November 2026 at KubeCon NA 2026. This is a rebuild: agents run as Actors in sandboxes on Agent Substrate, instead of Deployments/Pods. There is no upgrade path from 0.x — moving to 1.0 means a fresh install and re-authored resources — and the cluster must run Kubernetes 1.37 or later. Despite the 1.0 label, the API is still
v1alpha3and the project is still at CNCF Sandbox maturity.
What is kagent?
kagent is an open-source framework for running AI agents on Kubernetes, created by Solo.io, now a CNCF Sandbox project (accepted 22 May 2025; Apache 2.0). Agents, model configurations and MCP tools are all Kubernetes resources, run by a controller — instead of an agent running as a standalone application outside the cluster. Agents call models, call tools over MCP, and talk to each other over A2A.
Version 1.0.0 was tagged on GitHub on 9 November 2026 (secondary source quoting the GitHub API, corroborated by kagent.dev and Solo.io). Before that: first alpha 18 September 2026, rc3 6 November 2026; previous stable line 0.10.x (v0.10.3, 2 October 2026). Solo.io calls 1.0 GA.
Why a Pod per agent no longer fits
The 0.x model — one agent, one Pod running around the clock — has four problems.
Agents wait more than they work. An agent spends most of its time waiting — for the user, the model, a tool — yet a permanently running Pod keeps holding CPU and RAM, and the cost multiplies with the number of agents, users and sessions.
Agent state is the work. Conversation history, checkpoints, forking a branch — all of it is state that must survive a restart; restarting a Pod usually means losing the session.
Model-written code needs a real sandbox. An agent writes code and then runs it — an ordinary container sharing a node with other workloads is not enough isolation for model-written code.
One shared ServiceAccount cannot tell users and sessions apart. Many users and sessions running agents on one cluster need identity per actor and per session, and egress policy per agent.
That is why Solo.io built Agent Substrate together with Google: a separate runtime underneath kagent 1.0, also released in November 2026. Instead of each agent holding a Pod, Substrate packs many actors onto pre-warmed worker Pods, snapshots idle actors to object storage, and resumes them on demand. kagent adds sessions, revisions and safe rollouts, suspend/resume, human-in-the-loop, checkpoints and forks, credential injection, UI/CLI and OpenTelemetry observability.
What 1.0 changes
The four new concepts in 1.0 are:
- Harness — how an agent runs: engine, image, WorkerPool, snapshot storage — exactly one engine per Harness.
- AgentTemplate — what the agent does: which model, system prompt, tools, skills and plugins.
- Agent — pairs one template with one harness; the controller compiles it into an immutable revision (SHA-256 digest), called an ActorTemplate.
- Session — one running conversation. A Session is not a Kubernetes resource: it is created through the gRPC API, tracked in PostgreSQL, and runs on an Actor — a sandboxed Substrate process.
Four harnesses: kagent (built-in Go engine), claude (Claude Code CLI), codex (Codex CLI), byo (any image matching the A2A contract). Claude Code and Codex thus run as managed agents with streaming, cancellation and session resume.
| Aspect | 0.x | 1.0 |
|---|---|---|
| Execution model | Agent CRD, backed by a Deployment | Harness + AgentTemplate + Agent; sessions on Actors |
| Unit of execution | A Pod per agent | Sandboxed Actors on pre-warmed Pods |
| API group | kagent.dev/v1alpha2 | api.kagent.dev/v1alpha3 |
| Tool server | ToolServer | RemoteMCPServer |
| State / sessions | Tied to the Pod | Sessions in PostgreSQL; idle actors snapshotted then resumed |
| Upgrade | — | No upgrade path: manual migration, fresh install, re-authored 0.x resources |
Per the official docs, “Moving a 0.x installation to 1.0 is a manual migration, and no upgrade path exists.” 0.x resources must be re-authored against the new API; the 0.x installation retired. Pre-November 2026 material describing a single Agent CRD backed by a Deployment is 0.x, now obsolete.
On performance: figures such as a resume in “as little as 150ms” or “10x to 30x higher density” than Pod deployments are vendor-reported numbers with no independent benchmark — cited here as vendor claims, not measurements by phamnam.me.
How an agent runs in 1.0
Declare the Harness, AgentTemplate and Agent in YAML (apiVersion: api.kagent.dev/v1alpha3), wait for the Agent to become Ready; the controller compiles the Agent into an ActorTemplate — an immutable revision. Create a Session through kagent’s API and it runs on an Actor in a sandbox; an idle session is snapshotted, its resources reclaimed, then resumed when a new task arrives. Running sessions keep their old revision when you deploy a new one (a safe rollout).
Also: idle actors are snapshotted to object storage (idle sessions expire after 7 days); return to a checkpoint or fork a new branch when an agent goes down the wrong path; human-in-the-loop pauses a session for approval before sensitive work.
On security (vendor-described, not verified by running it): actors run in gVisor or microVM sandboxes; each actor has its own SPIFFE-based identity; ingress/egress go through agentgateway with EgressPolicy; credentials are injected by the egress gateway — the sandbox holds no credentials.
Models, tools, MCP and A2A
Solo.io lists these providers for declarative agents: OpenAI, Anthropic, Gemini, Vertex AI, Azure, Bedrock, Ollama, “etc”. But support differs by harness: a comparison post by a Solo.io employee, based on alpha-era enterprise docs (30 October 2026), states that claude takes only Anthropic and Bedrock, codex only OpenAI and Bedrock, while kagent and byo accept all listed providers; the same source says Vertex AI and SAP AI Core do not work in the 1.0 harness model. This point is not settled: the matrix comes from alpha-era docs — check the official 1.0 model-provider documentation before picking a provider.
Tools bind into an AgentTemplate from MCP servers via RemoteMCPServer, or from another AgentTemplate as a subagent. Skills/plugins come from an OCI registry, Git or S3. Every agent is exposed over A2A at /agents/{namespace}/{name} (HTTP) or gRPC; the Session ID is the A2A contextId. kagent also has its own MCP server for sessions, checkpoints and sandboxes — MCP is how an agent gets tools, A2A is how agents are called and call each other.
Trying the install: what you need
Note: commands below are quoted from kagent’s official docs, for illustration — phamnam.me has not run them. Check the latest docs before running anything.
The biggest prerequisite is Kubernetes 1.37 or later — Substrate needs PodCertificateRequest and ClusterTrustBundle, GA since 1.37; most clusters run older versions. (The version-support page says “CI tests against Kubernetes 1.35 today”, conflicting with 1.37+ — this article follows the installation docs.)
Beyond Kubernetes, you need helm (Helm 3), kubectl, the kagent CLI at the release version (--version v1.0.0), and an API key for a model provider (OpenAI is the default). The Helm path additionally needs jq, openssl, psql 15+, the kubectl-ate plugin and a self-provided PostgreSQL 15+.
CLI install (kagent install): one step sets up the CRDs, Agent Substrate (namespace ate-system), the PodCertificate controller, a development PostgreSQL and kagent. The dev database runs stock postgres — without pgvector, so long-term memory needs a different database. Helm install: you provide PostgreSQL yourself and set up the CA/JWT pools, mTLS identity and database schemas manually — heavier, but the production path.
The first-agent flow (official docs): install the CLI, run kagent install, apply the Harness + AgentTemplate + Agent YAML, wait for the Agent to become Ready, then create a session and invoke the agent:
kubectl wait agent/<name> --for=condition=Ready
kagent agent session create --agent <name>
kagent agent invoke --session $SESSION_ID --task "..."
Secondary sources say 1.0.1 shipped on 12 November 2026, unverified against GitHub Releases — this article targets v1.0.0, so check the latest patch before installing.
What it is used for — with evidence
SRE troubleshooting on EKS — the strongest evidence. An AWS Builder Center lab (16 November 2026) deploys kagent 1.0.0 on EKS 1.37 with Bedrock (Claude Sonnet 4.6) and a read-only kagent-tools MCP server diagnosing broken demo apps from events and logs. The trade-offs: Kubernetes 1.37+ is required, you operate an extra runtime plus a database plus an object store, and Bedrock authentication uses an API key (AWS_BEARER_TOKEN_BEDROCK), not an IAM role.
Multi-tenant platform and financial crime. According to Solo.io, OutSystems runs kagent with agentgateway on a large multi-tenant platform, and Swissquote runs financial-crime investigation agents — “Codename Diego” — in production on kagent GA. Both are vendor-cited claims, not independently confirmed.
Managed coding agents. Claude Code and Codex run as kagent harnesses with streaming, cancellation and session resume; kagent can also sandbox Claude Managed Agents — currently experimental, according to Solo.io.
Limitations and when it does not fit
- Kubernetes 1.37+ is a hard requirement.
- Heavy for small needs. Substrate + PostgreSQL + an object store is a whole stack, overkill for one agent. For personal use on one machine, OpenClaw fits better.
- No upgrade from 0.x. A fresh install with re-authored resources; pre-November 2026 0.x docs are obsolete.
- API still alpha, project still Sandbox. The
v1alpha3API group may change; CNCF Sandbox is the earliest tier. - The dev database is not production-grade. Dev PostgreSQL has no pgvector (no long-term memory); production needs self-operated Postgres 15+.
- Bedrock uses an API key, not an IAM role (AWS lab).
- Enterprise features are paid. Granular access control, agent tracing and evaluations, fleet visibility, air-gapped installs and support belong to Solo.io’s enterprise releases, not the open source. Enterprise docs use the
v2026.11.1scheme, different from the OSSv1.0.0. - Performance figures are vendor claims — no independent benchmark.
Comparison: kagent 1.0, running Claude Code/Codex directly, and OpenClaw
| kagent 1.0 | Claude Code / Codex directly | OpenClaw | |
|---|---|---|---|
| Runs on | Kubernetes 1.37+ cluster | Your machine | One machine (yours, a homelab, a VPS) |
| For whom | Platform teams, many users | One developer | Individuals, sysadmins, homelab users |
| Sandbox | gVisor/microVM per actor | Your machine’s shell and files | Runs on the host by default; sandbox must be enabled |
| Multi-user, sessions, governance | Yes: sessions, identity, egress policy, HITL | No — a personal CLI | Gateway + pairing/policy per chat channel |
| Operating cost | High: cluster + Substrate + Postgres | Lowest | Low: a single daemon |
| Choose it when | Many agents for many people, with control | You only need one local coding agent | You want a chat-first self-hosted assistant on one machine |
Running the CLI directly is enough if you only need one coding agent. OpenClaw fits when you want an assistant in Telegram/WhatsApp that does real work on one machine — see OpenClaw Self-Hosted AI Assistant in Telegram & WhatsApp. kagent fits when the need outgrows one machine: many agents, many users, sandboxing, identity, governance. Concat, a local-first video editor with an MCP server for Claude Code, shows MCP in practice — see Concat Video Editor: Free Local-First Editor for Claude Code.
Conclusion: should you try it?
- Try it now if you have (or will soon have) a Kubernetes 1.37+ cluster, need many agents for many users, and accept an alpha API.
- Wait if your cluster is on 1.36 or older with no upgrade planned.
- Do not use kagent if you only need one agent for yourself — Claude Code/Codex directly or OpenClaw are far lighter.
kagent 1.0 is interesting because it answers the Pod-per-agent model’s four real problems: idle resources, session state, a sandbox for model-written code, and per-user/session identity. If those are real problems for you — and you have a 1.37+ cluster — now is the time to try it.
References
- Core concepts — kagent.dev
- Installation — kagent.dev
- Your first agent — kagent.dev
- FAQ — kagent.dev
- Announcing kagent 1.0 GA — Solo.io
- kagent project page — CNCF
- Diagnosing Amazon EKS workloads with kagent and Bedrock — AWS Builder Center
- kagent harnesses compared — Mike Moore (alpha-era data — re-check)
Verified as of 20 November 2026; install commands not run by phamnam.me — check the latest 1.0.x patch before installing.
Bình luận
Bình luận được duyệt trước khi hiển thị.Đang tải bình luận…
Để lại bình luận