A year ago on this blog I argued that Kubernetes is the right foundation for agentic apps. Deployments for tools, StatefulSets for memory, Jobs and workflows for tasks, a service mesh for agent-to-agent traffic. I closed by saying the future points to platforms that are not just running agents but are agent-native.
That future arrived faster than I expected. Agent Substrate, a runtime recently donated to the CNCF Sandbox, takes on the hardest part of running agents on Kubernetes: density. It treats agents as actors that can move between Pods, sleep in object storage, and wake up in under a second. For teams building an Agentic Engineering Platform, it is a strong candidate for the agent infrastructure layer: the runtime every agent on the platform lands on.
This article explains which problem Substrate solves, how it works under the hood, and how a platform team can turn it into a golden path. Like my KRO piece, it is an introduction. Everything shown here matches the v1.0.0 release, which shipped on November 5, 2026.
Why one Pod per agent stops working
In the previous article we mapped agents onto existing primitives. That works well for an agent that behaves like a microservice. It falls apart for two shapes that are now everywhere: the coding agent that runs LLM-generated code, and the personal or productivity agent that lives for weeks but works for minutes.
These workloads share four properties that Deployments and StatefulSets were never designed for:
- Untrusted code: The agent executes code nobody reviewed. A standard container shares the host kernel, so a single escape can reach the node and everything on it. You want kernel-level isolation such as gVisor, Kata Containers or a microVM.
- Singleton state: Each agent is one long-lived instance with its own filesystem, its own memory and a stable name. A Deployment treats Pods as interchangeable. A StatefulSet of size one, plus a Service, plus a PVC, gets you close, but it is a lot of YAML for one sandbox.
- Mostly idle: Agents spend most of their life waiting on a model, a tool or a human. A Pod that is waiting still holds its CPU and memory requests.
- Latency-sensitive startup: When a user types a prompt, they expect an answer in seconds. Scheduling a new Pod, pulling an image and attaching a volume often takes longer than that.
Now multiply by scale. A company that gives every employee a background assistant, or every pull request a coding agent, is looking at tens of thousands to millions of agents. Kubernetes does not hibernate Pods, and keeping millions of idle Pods around would exhaust Pod limits and control plane memory long before it exhausted your budget.
This is where Agent Substrate comes into the picture. It handles isolation and per-agent state, like any good sandbox. What sets it apart is that it breaks the one-Pod-per-agent rule altogether, which is exactly what the last two properties need.
Agent Substrate: from Pods to actors
Agent Substrate starts from one observation: agents are idle most of the time. So instead of giving each agent a Pod, it maps a large set of actors (agents) onto a small pool of warm workers (Pods). When an actor goes idle, Substrate snapshots its memory and filesystem, writes the snapshot to object storage, and frees the worker. When a request arrives, it restores the actor onto any free worker.
The project positions itself as a zero-trust runtime for sandboxed agents, with roughly 10x higher density than standard containers and resume times under 500ms. Its demo multiplexes about 250 stateful actors across 8 physical Pods.
The four core concepts
- Actor: One running instance of an agent, with its own memory, files and identity. An actor is not tied to a Pod.
- ActorTemplate: The blueprint for actors: images, environment, size and snapshot policy. It is immutable, so a new version of your agent is a new template.
- Worker: A sandbox, gVisor or a Cloud Hypervisor microVM, where an active actor runs. Plain Linux containers are not supported.
- WorkerPool: A group of pre-started workers, kept warm and ready to receive actors. Under the hood it is a Deployment of worker Pods.
The platform team owns the capacity. A WorkerPool is a regular Kubernetes custom resource:
The agent team owns the blueprint. An ActorTemplate is created through the Substrate API with kubectl ate:
Then each user session becomes an actor:
Notice the split. The WorkerPool says how much compute exists and which sandbox technology it uses. The ActorTemplate says what an agent is and how big it is. A worker with 8 CPUs and 32Gi can host several 1-CPU actors, but only the active ones.
The actor lifecycle
Every request carries the target actor in a header (ate-target-actor: <atespace>/<actor>) and goes through the Substrate router:
- Route: The router identifies the actor the request is for.
- Resume: If the actor is suspended, Substrate claims a warm worker and restores the snapshot, memory included.
- Execute: The request reaches the actor. An optional wakeup probe makes sure it is actually serving.
- Suspend: When the actor goes idle, Substrate snapshots memory and files to object storage and returns the worker to the pool.

One nice detail: when you create an ActorTemplate, Substrate boots it once and captures a golden snapshot. New actors start from that snapshot instead of cold-booting, so expensive initialization like loading libraries happens once per template, not once per actor.
Snapshots, fidelity and durability
Not every agent needs its full memory preserved. Each ActorTemplate picks a snapshot fidelity:
- MEMORY: Processes and RAM are restored as they were. The agent continues mid-thought, with its in-memory session intact.
- ROOTFS: The root filesystem is preserved, processes start fresh. Good for coding agents whose state lives in files.
- VOLUMES: Only mounted volumes are preserved. The cheapest option, for agents that keep state on disk by design.
Suspends can be synchronous, returning once the snapshot is safe in object storage, or asynchronous, returning as soon as the snapshot is on the node and uploading in the background. Async is faster, but a node that disappears before the upload finishes takes the snapshot with it. When a worker Pod is evicted, for example during a node upgrade, each actor gets a SIGTERM and 30 minutes to be suspended. That makes a SIGTERM handler that triggers a synchronous suspend a requirement, not a nice-to-have.
Choosing the sandbox: gVisor or microVM
The sandbox technology is a property of the WorkerPool, not of the agent. Each pool picks a sandbox class, gvisor or microvm, and points at a cluster-scoped SandboxConfig that pins the exact runtime binaries by URL and SHA-256. A gVisor default ships with the install on most Kubernetes flavors. The microVM class uses Kata Containers assets on Cloud Hypervisor and needs nodes with /dev/kvm. Because SandboxConfig keeps several versions, existing snapshots can still be restored after a runtime upgrade.
Under the hood
Substrate runs on standard Kubernetes and adds a handful of components:
- ate-api-server: The control plane. A gRPC API that manages actors, templates and snapshots. This is what
kubectl ateand agent frameworks talk to. - atecontroller: Reconciles WorkerPool resources into Deployments of worker Pods.
- atelet: A DaemonSet on every node that supervises workers, takes snapshots and moves state to and from object storage.
- ateworker: Runs inside each worker Pod and drives the gVisor or microVM sandbox, including checkpoint and restore.
- atenet: Envoy-based networking, with the ingress router that wakes actors and the egress gateway that enforces policy and injects credentials.
- atenet-egress: The egress gateway every outbound request passes through. It enforces each actor's egress policy and injects credentials into approved requests outside the sandbox.
The design choice that matters most: actors are rows in Substrate's own store, not Kubernetes objects. That is how it avoids the scheduler and kubelet on every resume, and how it scales to millions of agents without exhausting the Kubernetes control plane.
Security is built in, not bolted on
Substrate treats every actor as untrusted and potentially hostile to its neighbors. Each active actor gets a short-lived SPIFFE identity. Networking is default-deny, with no actor-to-actor path. Most interesting for platform teams, actors never hold API keys or cloud tokens: an egress gateway injects credentials into approved outbound requests outside the sandbox. A prompt-injected agent has nothing to exfiltrate.
Trade-offs to know about
Substrate is young, and it changes some Kubernetes assumptions. Open network connections, such as a database session or an MCP connection, do not survive a suspend, so your agent must reconnect on resume. GPU passthrough into actors is not supported today. Actors are managed through Substrate's own API and kubectl ate, not as one Kubernetes object per agent, so your existing tooling sees workers, not agents. And it targets recent clusters: it needs the Pod certificate APIs (PodCertificateRequest and ClusterTrustBundle), so plan on Kubernetes 1.37 or later.
The platform engineering blueprint
Developers should not have to think about WorkerPools, snapshot fidelity or SandboxConfigs. That belongs to the platform. Here is how I would package Substrate as a golden path.
Split ownership along the API
Substrate's resources map cleanly onto three owners:
- Platform team: WorkerPools, SandboxConfigs, egress policies, the credential provider, the snapshot bucket and its IAM.
- Agent teams: ActorTemplates, one per agent version, plus wakeup probes and SIGTERM handling in the agent code.
- Applications: Actors, created and resumed per user or per session through the API.
This split is what makes Substrate platform work rather than a team-by-team decision. Density only pays off when many teams share the same WorkerPools, and the security controls only hold when one team owns them for everyone.
WorkerPools and SandboxConfigs are Kubernetes resources, so manage them with GitOps like the rest of your cluster. ActorTemplates go through the Substrate API, so wrap them in the agent's CI pipeline: build the image, pin the digest, create coding-agent-v2, then repoint suspended actors with kubectl ate update actor --template. Templates are immutable, which gives you a clean versioning story for free.
Most developers will not meet Substrate through kubectl ate at all. They will meet it through a framework. kagent, a CNCF Sandbox project, already uses Substrate as its runtime for sandboxed, stateful agents, and Google's Agent Executor is built on it too. Offering one of those as the paved road is often the fastest path.
Bake security into the templates
- Pick the sandbox per pool: gVisor as the default, microVM pools for workloads that need a full guest kernel or a stronger boundary. Use the template's
workerSelectorso each agent lands on the right class. - Secrets never enter the sandbox: Turn on credential injection in the egress gateway. The bundled provider starts default-deny, so grant each atespace only the namespaces whose Secrets it may use.
- Default-deny networking: Give every actor an egress policy that allows its model endpoint and approved tools, and nothing else. The router only admits clients whose SPIFFE IDs you list.
- Images by digest: Substrate already requires digests in ActorTemplates. Keep a policy on which registries are allowed.
- One atespace per tenant: Snapshot paths include the atespace, so bucket IAM can be scoped per tenant.
Observability that follows the agent
With Substrate, an agent moves between workers over its life. Pod-level dashboards will not tell you what Alice's assistant did yesterday. Trace at the actor level with OpenTelemetry, keyed on the actor identity, and keep the reasoning-level traces we discussed in the previous article: prompt, tool calls, parameters, results.
Cost and capacity
The economics change. You pay for the WorkerPool, so size it to concurrently active agents, not total agents. Track the oversubscription ratio (actors per worker), resume latency and snapshot storage cost as first-class platform metrics. When a pool is saturated, the router can park incoming requests until a worker frees up instead of returning a 503. Parked-request time is a good signal to scale the pool.
Conclusion: the agent-native stack is taking shape
In my previous article I wrote that the journey from cloud-native to agent-native had begun. Agent Substrate is one of the clearest steps on that journey. It keeps Kubernetes for what it does well, provisioning and healing machines and Pods, and adds an agent-native layer on top that decouples the agent from the Pod.
For platform teams, the shift is in the unit of capacity. You stop planning one Pod per agent and start planning workers per active agent. Start small: one WorkerPool, one ActorTemplate, the counter demo. Then put templates, egress policies and credential injection behind a golden path, so developers only ever ask for an agent.
Please note that Substrate moves fast, even after v1.0. Check the docs for the release you install. To get started:
- Agent Substrate on GitHub, including the counter and Claude Code multiplex demos
- Substrate API guide for WorkerPool, ActorTemplate and SandboxConfig
- kagent if you want a Kubernetes-native agent framework on top
If you want to go deeper on the runtime layer for agents, check out the Agent infrastructure for Platform Engineers course.










