Agent Substrate Explained: Google’s CNCF Donation for Running Suspendable AI Agent Actors on Kubernetes

Agent Substrate Explained: Google’s CNCF Donation for Running Suspendable AI Agent Actors on Kubernetes

Agent Substrate Explained: Google’s CNCF Donation for Running Suspendable AI Agent Actors on Kubernetes

An AI agent that sits in a Kubernetes pod spends most of its life waiting. It waits for a model response, a tool call, a CI run or a human approval. Google’s own estimate is that an agent is idle 90 to 95 percent of the time. On 5 November 2026 Google donated Agent Substrate, its answer to that waste, to the Cloud Native Computing Foundation (CNCF) as a Sandbox project, alongside gVisor. Agent Substrate stops treating the pod as the unit of an agent. Instead it treats each agent as a suspendable actor: a snapshot that is restored onto a warm, sandboxed worker only while it has work to do. This matters now because agent fleets are moving from demos to tens of thousands of sessions per cluster. At that scale, pod-per-agent costs and control-plane load add up quickly. This post explains the actor model, how suspend and resume actually work, how requests reach an actor that is asleep, and what the density claims mean in worked arithmetic. It also covers when you should not adopt it yet.

What this covers: the actor model, the resume path, snapshot mechanics, density math, how it relates to agent-sandbox, GKE and AWS Nitro Sandboxes, failure modes, and an adoption checklist.

Context and Background

Sandboxing untrusted agent code on Kubernetes is not new. By mid-2026 most platform teams had a choice of isolation layers. They could use gVisor’s user-space kernel, Kata Containers, or Firecracker and Cloud Hypervisor microVMs. We compared those boundaries in our Firecracker vs gVisor vs Kata guide for AI agent sandboxes. We also covered the wider set of options, including WebAssembly, in sandboxing AI agent code execution compared. Those posts answer one question: how strong is the wall around one agent?

Agent Substrate answers a different question: how many walls can one node afford, and how fast can a wall come back after it has been taken down? Isolation is assumed. Every Agent Substrate actor runs inside gVisor (runsc) or a Cloud Hypervisor microVM, and the README says plainly that “plain Linux containers are not supported.” The new part is the lifecycle and scheduling layer above that wall.

The timeline is short. According to TechTarget’s KubeCon reporting, Agent Substrate’s first commit landed in May 2026. Google Cloud announced Agent Substrate on GKE on 15 September 2026, in a post by Alex Zakonov and Tim Hockin. On 5 November the Google Open Source blog announced the donation of Agent Substrate and gVisor to the CNCF at Sandbox status, with OpenRL as the third project. The agent-substrate/substrate repository on GitHub tagged v1.0.0 on 5 November and v1.0.1 on 20 November. The project is licensed Apache-2.0.

KubeCon + CloudNativeCon North America ran from 9 to 12 November in Salt Lake City. There Hockin and Google’s Dmitry Berkovich presented “Kubernetes Solutions for Agent-Shaped Problems” in the new AI Inference + Agentic track. If you missed the event, our KubeCon North America 2026 recap covers the broader agentic announcements.

gVisor’s move is significant in its own right. The New Stack reports that Anthropic runs Claude-generated code in gVisor containers and that OpenAI uses it to isolate code execution. IT Brief adds Modal, Snowflake, Ant Group and Tencent as external users. Neutral governance is meant to let non-Google maintainers merge code. It also moves gVisor’s test infrastructure out of Google.

Agent Substrate Architecture: Actors on Warm Workers

Agent Substrate is an open-source Kubernetes runtime that maps many stateful, mostly idle “actors” (agent sessions) onto a smaller pool of pre-warmed, sandboxed worker pods. When an actor goes idle, its memory and filesystem are snapshotted to storage and its worker slot is freed. When a request arrives, a router restores the actor onto any free worker, with a vendor-stated target of under 500 ms.

Agent Substrate architecture diagram showing the atenet-router, ate-api-server with PostgreSQL, atelet node supervisor, gVisor and microVM warm worker pods, object storage snapshots and the atenet-egress gateway

Figure 1: Agent Substrate component architecture. Kubernetes manages worker pods, while Substrate’s own control plane handles high-frequency actor placement.

Figure 1 shows the separation that defines the design. Requests carry an ate-target-actor header and enter through atenet-router, which is an Envoy proxy with an ext_proc external processor. The router asks ate-api-server to resume the actor. That gRPC control plane keeps actor and worker state in PostgreSQL rather than etcd. Next, a node-level DaemonSet called atelet restores the snapshot into a warm worker pod. The worker runs either gVisor or a Kata plus Cloud Hypervisor microVM. Snapshots move to and from GCS or S3 through an object-store plugin sidecar. Outbound traffic leaves through atenet-egress, which applies policy and injects credentials. A conventional Kubernetes controller, atecontroller, reconciles the WorkerPool custom resource into Deployments.

Why the pod is the wrong unit for an agent

The project’s architecture document gives four reasons that a Kubernetes pod is a poor fit for an agent session, and each holds up on first principles.

First, idle pods still consume resources. A pod that reserves 1 GiB of memory keeps that reservation while it waits ten minutes for a human reviewer. The scheduler cannot hand that memory to anyone else. Second, the Kubernetes API server “is not designed to handle millions of resources” or a heavy volume of writes. Google’s open source post is blunter: thousands of short-lived pods “overwhelms etcd, saturates kube-apiserver, and exhausts subnet IP addresses.”

Third, pod startup is slow relative to an agent turn. Scheduling, image pulls, network setup and sandbox boot have to converge across several asynchronous controllers. A couple of seconds is acceptable for a pod that runs for days. It is not acceptable for a turn that does 300 ms of work. Google’s post says wake-up latency in serverless cold-start designs “climbs past 20 seconds,” though that figure is a vendor characterization rather than a published benchmark.

Fourth, state is awkward. An agent session carries a scratch filesystem, installed packages, a REPL’s heap, and possibly a half-finished build. Persistent Volumes were not designed to attach and detach millions of small volumes at high speed.

The actor model turns all four problems around. The thing with an identity (the actor) is decoupled from the thing that consumes CPU (the worker). Actors are rows in PostgreSQL plus blobs in object storage, so they cost almost nothing to keep around. Workers are ordinary long-lived pods, created at low frequency, which is the work Kubernetes does well.

Two resource planes: Kubernetes objects and database records

Agent Substrate divides its API into two groups on purpose. The declarative, low-churn resources are Kubernetes custom resources. WorkerPool defines warm capacity. SandboxConfig is cluster-scoped and pins the sandbox runtime binaries and assets for a class (gvisor or microvm). Platform teams can therefore apply their usual RBAC, auditing and admission policy to infrastructure.

The high-churn resources never touch etcd. These are Actor and Worker records, plus ActorAssignment subresources, all held in PostgreSQL behind ate-api-server. Even ActorTemplate, the blueprint for an actor, is an “ate API resource” managed through kubectl ate. It is not a Kubernetes object. The control plane authenticates callers with mTLS and OIDC and authorizes every RPC per atespace, Substrate’s namespace-like tenancy grouping, using an embedded OpenFGA model.

Here is the WorkerPool example from the project’s API guide, reproduced as published:

apiVersion: ate.dev/v1
kind: WorkerPool
metadata:
  name: agent-pool
  namespace: ate-demo
  labels:
    workload: secret-agent
spec:
  replicas: 10
  workerImage: ko://go.ate.dev/substrate/cmd/ateworker-gvisor
  sandboxClasses:
  - name: gvisor
    configRef:
      name: gvisor-default
  template:
    labels:
      project: agent-platform
    annotations:
      policy.example.com/exemption: sandbox-host

The matching ActorTemplate from the same guide is created with kubectl ate create actor-template -f secret-agent.yaml. Its workerSelector matches the pool’s label:

metadata:
  atespace: ate-demo
  name: secret-agent
containers:
- name: agent
  image: gcr.io/my-project/my-agent@sha256:7f28ab0e...
  wakeupProbe:
    httpGet:
      path: /readyz
      port: 80
workerSelector:
  matchLabels:
    workload: secret-agent
resources:
  limits:
    cpuMillicores: 1000
    memoryBytes: 1073741824 # 1Gi

Two details are easy to miss. Container images must be pinned by digest. And an actor is sized by limits, not requests, because the size is baked into its snapshots. That makes the template immutable. To ship new agent code you create a new template, such as v2, and repoint suspended actors to it with kubectl ate update actor --template.

Security sits outside the sandbox

Agent Substrate treats every actor as “untrusted and mutually hostile.” Each active actor receives a short-lived SPIFFE X.509 certificate. The egress gateway can mint per-actor JWTs when a policy calls for one. The design point that matters for agents is that actors never hold API keys or cloud tokens. atenet-egress injects credentials into approved outbound requests outside the sandbox, so a prompt-injected agent has nothing to exfiltrate. Networking is default-deny, with no actor-to-actor path and no access to the control plane.

The egress gateway is described as a replaceable Policy Enforcement Point. You can attach your own DLP, authorization or prompt-injection scanner without placing policy code inside the untrusted workload. If you are designing identity for agents more broadly, our piece on AI agent identity and delegated authorization with OAuth token exchange covers the federation side that Substrate’s actor JWTs are designed to plug into.

Deeper Analysis: Suspend, Resume and Routing to a Sleeping Actor

Two mechanisms carry Agent Substrate’s claims: how a request reaches an actor that does not currently exist in memory, and how that actor’s state is frozen and thawed. This section walks through both, then works through the density arithmetic.

Agent Substrate resume sequence diagram showing a client request to a suspended actor, the ResumeActor call, warm worker claim, snapshot restore by atelet and the mTLS tunnel to the worker

Figure 2: The resume path for a request that targets a suspended actor, based on the project’s actor lifecycle documentation.

Routing to a suspended actor

In Figure 2, the client, or more often a higher-level harness, sends an HTTP request with ate-target-actor: <atespace>/<actor>. The Host header stays the application’s authority and does not select the actor. Envoy’s ext_proc hook pauses the request and calls ResumeActor. The control plane’s scheduler claims a ready worker from an eligible WorkerPool and tells that node’s atelet to restore. Inside the worker pod, the ateworker helper performs the restore and reports ready. Only then does the router open an mTLS CONNECT tunnel to the worker’s atunnel listener on port 8443, which forwards the request to the actor over a private veth interface.

The tricky case is saturation. An oversubscribed system will sometimes have no free worker. The scheduler then returns ResourceExhausted: "no worker has room for the actor". Early versions converted that straight into an HTTP 503. The current router performs request parking by default. It holds the request and retries the resume with exponential backoff, usually until another actor suspends and frees a slot. The default --parked-request-budget is 5 seconds. A resume already in flight when the budget expires is not cancelled, because the control plane has committed work to it. Your client timeouts need to allow for that tail.

Non-default ports work through HTTP CONNECT with the port in the authority, for example CONNECT <actor-dns>:9090. Each request inside a long-lived tunnel can still trigger a resume and re-route independently. The documentation notes that raw TCP and other non-HTTP protocols on non-default ports are not yet reachable this way.

What a snapshot contains

Each ActorTemplate sets a snapshotConfig.preferredFidelity with three cumulative levels:

  • VOLUMES saves only DurableDir volume contents. On resume, new processes start against the saved data.
  • ROOTFS adds writes to each container’s root filesystem overlay since boot.
  • MEMORY, the default, adds the full process tree and RAM. The agent resumes mid-thought, with its interpreter heap intact.

The two sandbox classes implement this differently. On gVisor, ateworker-gvisor uses runsc native checkpoint/restore of the sandboxed process tree. Filesystem state is saved as separate bundles, and VOLUMES or ROOTFS snapshots use runsc fscheckpoint without memory. This works because gVisor’s Sentry virtualizes its own memory and process tables, so the whole guest kernel state is a serializable Go program. The gVisor checkpoint/restore guide documents the underlying runsc checkpoint --image-path and runsc restore commands. Substrate’s docs add one caveat: the gVisor backend currently needs a runsc build with --allow-connected-on-save to work around a networking-resumption bug.

On microVM, ateworker-microvm runs the workload in a Kata Containers guest on the Cloud Hypervisor VMM. It captures a memory-only VM snapshot and restores with userfaultfd demand paging. Pages fault in as the guest touches them, rather than the whole RAM image loading up front. Rootfs writes are host-backed through a virtio-fs share, so they cost reclaimable host page cache rather than guest RAM.

Agent Substrate also builds a golden snapshot for every template by default. It boots a temporary actor and waits for readiness plus a 20-second warmup, which is skipped when every container has a wakeup probe. It then suspends the actor and publishes the snapshot as a tag. New actors start from that image, so expensive initialization such as loading a tokenizer or warming a dependency cache is paid once per template rather than once per actor.

The lifecycle state machine and its durability trade-off

Agent Substrate actor lifecycle state machine with SUSPENDED, RESUMING, RUNNING, SUSPENDING and CRASHED states, RevertActor recovery and asynchronous durable snapshot upload

Figure 3: Actor states and the asynchronous path from a node-local snapshot to durable object storage.

Figure 3 shows the states. An actor is created directly in SUSPENDED. ResumeActor moves it through RESUMING to RUNNING, and SuspendActor moves it through SUSPENDING back to SUSPENDED. The documentation describes suspension as an explicit call. Something has to decide when a turn has ended, and in practice that is the agent harness. Google’s blog describes the effect as snapshotting “when the turn ends.” The idle-detection policy is your code’s responsibility, not something the substrate infers.

The most important operational detail is the durability mode. With the default asynchronous suspend, SuspendActor returns as soon as the checkpoint is written to the node’s local disk. atelet uploads it to object storage later. The upload is scheduled about --snapshot-upload-delay after the snapshot, which defaults to 5 minutes, and neither its start nor its finish is guaranteed. The local copy pins the actor to that node until --snapshot-detach-delay, which defaults to 30 minutes. Resumes on the same node skip the object-store round trip. That is a large part of how sub-second resume is achievable.

The cost is exposure. If the node dies before the upload completes, that snapshot is gone. A synchronous suspend (kubectl ate suspend actor --mode=sync) waits for the upload and closes the gap, at the price of slower suspends.

Eviction makes this concrete. When a worker pod receives SIGTERM for an upgrade, a scale-down or a drain, each hosted actor has 30 minutes to be suspended. Agent Substrate does not do this for you. The actor’s main process must catch SIGTERM, must not exit, and must get itself suspended synchronously in time. On a reclaimed GKE Spot VM the window shrinks to the Spot notice: 15 seconds by default and at most 2 minutes. An actor that misses the window moves to CRASHED, and everything since its last durable snapshot is lost. RevertActor returns it to SUSPENDED at that last good snapshot.

Density arithmetic, worked

Google’s Agent Substrate numbers, all vendor-reported, are as follows. The September GKE post claims “10x higher density than standard container runtimes,” “over 1,000 dormant agents per host,” “sub-500ms resume operations” and “over 500 suspend/resume activations per second.” The README’s demo shows about 250 stateful actors on 8 physical worker pods and describes “10x–30x oversubscription.” The architecture document lists aspirational north-star targets: 100 ms activation at p95, 1 billion agents per cluster, and 1,000 wake-ups per second. These are targets, not achieved results. We found no independent benchmark of any of these figures at the time of writing.

You can reason about where a 10x figure comes from with simple statistics. The model below is illustrative. Assume a node whose memory gives 110 usable worker slots of 1 GiB each. Each registered agent is independently active with probability d, its duty cycle. Under pod-per-agent you get 110 agents per node. Under the actor model you can register N actors, as long as the number simultaneously active stays at or below 110 with high confidence. Using the binomial 99.9th percentile:

Duty cycle d Max registered actors N (p99.9 active ≤ 110) Mean active Oversubscription vs 110 pods
2% 4,077 ~82 ~37x
5% 1,639 ~82 ~15x
10% 827 ~83 ~7.5x
20% 421 ~84 ~3.8x

Illustrative model: independent actors, binomial p99.9 sizing, memory-bound nodes. Computed for this post, not measured.

At the 5 to 10 percent duty cycle that matches Google’s “90 to 95 percent idle” estimate, the model lands between about 7.5x and 15x. That sits close to the vendor’s “10x” claim. The 250-on-8 demo, about 31 actors per pod, corresponds to a very low duty cycle. Two cautions apply. Real agent traffic is correlated, because users arrive at 9 a.m. and CI fires on merges. Correlation fattens the tail, so your safe N will be lower than this table. Request parking softens brief overshoots, but it adds latency during exactly those peaks.

The other side of the ledger is storage and bandwidth, which the density claims do not mention. Suppose, illustratively, that a MEMORY snapshot averages 500 MB. Then 100,000 registered actors hold about 50 TB of snapshot data in object storage before compression or deduplication. At the advertised 500 activations per second, fetching every snapshot remotely would need about 250 GB/s of reads across the cluster. That is why node-local snapshot locality, golden-snapshot tags and microVM demand paging are central to the design. In capacity planning, the hit rate of node-local resumes is the number to watch.

The GKE documentation states a practical node limit too. Above about 800 concurrent sandboxes per node, the default inotify and ARP neighbour-table limits must be raised. The README recommends net.ipv4.neigh.default.gc_thresh1/2/3 of 4096/16384/32768 for hosts running more than about a thousand sandboxes.

How It Relates to agent-sandbox, GKE and AWS Nitro Sandboxes

Agent Substrate is not the only Kubernetes answer to agent workloads, and naming overlap causes confusion. The table below separates the projects by what they actually manage.

Project Unit it manages Suspend/resume Isolation Status (Nov 2026)
Agent Substrate Actor records multiplexed onto warm worker pods Core feature: MEMORY, ROOTFS or VOLUMES snapshots gVisor or Cloud Hypervisor microVM, required CNCF Sandbox, v1.0.1, Apache-2.0
kubernetes-sigs/agent-sandbox One Sandbox CR to one pod with stable identity Pause/resume; deep hibernation on roadmap Delegated to RuntimeClass (gVisor, Kata) SIG Apps, agents.x-k8s.io/v1beta1
GKE Pod snapshots for Agent Sandbox A sandboxed pod Memory plus filesystem to Cloud Storage gVisor only GKE 1.35.3-gke.1234000+
AWS Nitro Sandboxes on EKS A pod in its own Nitro VM Not described at launch Nitro VM per pod via RuntimeClass Announced 9 Nov 2026, Kubernetes 1.36+

agent-sandbox, from Kubernetes SIG Apps, is the closest relative. It provides a Sandbox CRD for a single stateful pod with a stable hostname and persistent storage. Its extensions add SandboxTemplate, SandboxClaim and SandboxWarmPool, all in the extensions.agents.x-k8s.io group. A warm pool pre-creates sandboxes, and a claim adopts one. The crucial difference is cardinality. In agent-sandbox every live sandbox is still a pod and still a Kubernetes object, so the 1:1 mapping remains. Substrate’s mapping is many-to-few. Google’s September post positions them side by side: “for workloads that need standard Pod semantics, existing primitives like Agent Sandbox and kernel-isolated Pods continue to work.” If you have hundreds of agents that need full pod semantics, agent-sandbox is the lighter choice.

GKE Pod snapshots layer onto agent-sandbox. CRDs in podsnapshot.gke.io/v1 (PodSnapshotStorageConfig, PodSnapshotPolicy, PodSnapshotManualTrigger, PodSnapshot) save a gVisor pod’s memory and filesystem to Cloud Storage. The Sandbox resource’s operatingMode field controls suspend and resume. This gives you suspend/resume while keeping pod identity, without Substrate’s separate control plane. GKE’s Substrate docs warn that GKE Sandbox must not be enabled on Substrate node pools. The two mechanisms coexist only on separate pools.

AWS Nitro Sandboxes, announced on 9 November 2026 in the AWS containers blog, solve the isolation layer rather than the density layer. You set runtimeClassName: isolated-sandbox or confidential-sandbox, and each pod gets its own lightweight Nitro VM. The confidential mode adds KMS-backed attestation. The launch post mentions warm pools through the agent-sandbox project, with VMs claimable in about two seconds, but it does not describe snapshotting or suspension. As of this writing we found no Substrate integration for Nitro Sandboxes. Substrate’s object-store plugin does support S3, and it runs on any conformant cluster with gVisor. On EKS you could therefore run Substrate’s gVisor class on ordinary nodes, but you would not get Nitro’s hardware boundary per actor.

Agent Substrate also has adopters building on it. The README lists kagent, itself a CNCF Sandbox project, and Google’s Agent Executor as integrations. TechTarget reports that Swiss bank Swissquote runs it on-premises for AI agents serving 1,500 employees. The same report counts 164 contributing organizations, with Solo.io, Nvidia and Microsoft as founding contributors.

Trade-offs, Gotchas, and What Goes Wrong

The Agent Substrate actor model has real limits, and several are stated in the official docs rather than discovered in production.

Open connections do not survive. GKE’s documentation is explicit: database sessions and MCP connections are not preserved across suspend, and agent code must reconnect on resume. gVisor’s own guide explains why. Connected sockets return ECONNRESET after restore. Any agent framework that holds a long-lived WebSocket to a model provider needs reconnect logic, or it will fail on every wake.

Clocks jump. After a gVisor restore, CLOCK_REALTIME and CLOCK_BOOTTIME jump forward by the time spent suspended, while CLOCK_MONOTONIC does not. Token-expiry checks, rate-limit windows and timeouts written against the wrong clock will misbehave. A 30-second timer that started before a two-hour suspension will fire either at once or never, depending on which clock it uses.

Snapshots carry secrets in memory. A MEMORY snapshot contains whatever was in RAM. Substrate’s design keeps provider credentials out of the sandbox, which helps a great deal. But anything the agent fetched or decrypted itself ends up in object storage. Bucket IAM, encryption and retention for snapshots deserve the same review as a database backup.

Identity baked into memory is shared. Actors restored from a golden snapshot share its memory image. The API guide warns that environment variables or files read at boot would be “identical for every actor restored from that snapshot.” Per-actor metadata must be read from the systemInfo volume at /run/ate at the time it is used.

No GPUs and no live CUDA state. Device passthrough is “temporarily unsupported,” and gVisor cannot snapshot live CUDA contexts. Substrate is for the CPU-side agent loop, not for inference servers.

Platform constraints. On GKE, Substrate runs on Standard clusters only, version 1.37 or later, not Autopilot and not the Extended channel. E2 and other mixed-architecture machine series are unsupported because of a gVisor issue. The microVM class needs x86 nodes with nested virtualization, which can only be set when the node pool is created. Restoring a memory snapshot requires a worker whose CPU offers every feature present on the source host. Heterogeneous pools therefore reduce the pool of eligible workers for resume.

Per-container limits are microVM-only. On gVisor, one Sentry backs every container in an actor. Per-container limits are accepted but not enforced, and only the sandbox-level size applies. A runaway sidecar can starve the main agent.

Sandbox-stage risk. CNCF Sandbox status means early-stage, not production-endorsed. The README itself says the project is “VERY young,” and the repository showed several hundred open issues and pull requests when we checked. The 1.0 tag commits to API stability. It does not guarantee that the operational edges, such as durability races and upgrade paths, are mature. Analysts quoted by TechTarget also note open questions about how Substrate and Nvidia’s OpenShell, which entered the CNCF in the same week, will reconcile their different architectural priorities.

When You Should Not Adopt Agent Substrate (Yet)

Agent Substrate adoption decision flowchart comparing plain pods, kubernetes-sigs agent-sandbox, managed GKE or AWS Nitro Sandboxes and an Agent Substrate pilot

Figure 4: A decision path for choosing between plain pods, agent-sandbox, managed sandboxes and an Agent Substrate pilot.

Figure 4 encodes the questions we would ask before an Agent Substrate pilot. Work through them in order, because each “no” removes the need for Substrate.

If your agents are busy most of the time, oversubscription buys nothing. Examples include long batch jobs, evaluation harnesses or continuous coding agents. The duty-cycle table above collapses toward 1x as d rises, and you pay snapshot overhead for no gain.

If you do not run untrusted or tenant-supplied code, Substrate’s mandatory sandboxing is overhead. Plain Deployments with HPA and scale-to-zero via KEDA or Knative may serve you better.

If you run hundreds rather than tens of thousands of agents, agent-sandbox with a SandboxWarmPool, optionally with GKE Pod snapshots, gives you warm starts and stable identity. You avoid operating a second control plane, a PostgreSQL state store and an object-store snapshot pipeline.

If your agents depend on GPU state, long-lived sockets or raw TCP on custom ports, Substrate’s current limits will fight you.

Finally, if your team cannot staff on-call for a Sandbox-stage project, use a managed path. That could be GKE’s supported installer for eligible customers or a provider-managed sandbox service. Keep Substrate on a watch list until it reaches CNCF Incubating with independent production references.

Practical Recommendations

If the decision path points to Agent Substrate, run a time-boxed pilot that measures your own workload rather than trusting the vendor figures. The three numbers to collect are resume latency at p95 and p99 under concurrency, the node-local resume hit rate, and the snapshot bytes per actor. Together they show whether “10x” holds for your agents, and what it costs in storage and egress.

Design the agent harness for suspension from day one. Treat every turn boundary as a possible suspend point. Make reconnection to models, MCP servers and databases idempotent. Read per-actor identity from the runtime-provided volume rather than from environment variables. Write a SIGTERM handler that requests a synchronous suspend and does not exit.

Choose durability per agent class. Use synchronous suspends for agents whose state is expensive or impossible to recreate, such as a half-finished migration or a long research session. Use asynchronous suspends for chat-style agents, where losing a few minutes of state after a node failure is acceptable.

Keep an exit plan. Agent Substrate actors are standard OCI images, so the same image can run as an agent-sandbox Sandbox or a plain pod if you have to back out. Avoid coupling business logic to kubectl ate semantics.

A short checklist for the pilot:

  • [ ] Measure your real duty cycle per agent class before sizing WorkerPool replicas.
  • [ ] Pin images by digest and version ActorTemplates explicitly (v1, v2).
  • [ ] Add wakeup probes so resumes return only when the agent is actually serving.
  • [ ] Add reconnect logic and clock-safe timers to the agent loop.
  • [ ] Use synchronous suspend on SIGTERM; test a Spot reclaim and a node drain.
  • [ ] Encrypt the snapshot bucket, restrict IAM, and set retention for orphaned snapshots.
  • [ ] Raise inotify and ARP neighbour limits on dense nodes.
  • [ ] Track resume latency, parking time and local-hit rate in OpenTelemetry dashboards.
  • [ ] Keep the agent image runnable as a plain pod for rollback.

If you build higher-level automation on top, for example a controller that suspends actors after an idle timeout, the reconciliation patterns in our guide to Kubernetes operators, controller-runtime reconciliation, CRD design and finalizers apply directly. Remember that actors themselves live behind the Substrate API, not in etcd.

Frequently Asked Questions

What is Agent Substrate in Kubernetes?

Agent Substrate is an open-source runtime, created by Google and donated to the CNCF in November 2026, that runs AI agents as suspendable “actors” on standard Kubernetes. Instead of one pod per agent, it keeps a small pool of warm, sandboxed worker pods. Idle actors are snapshotted to object storage and restored onto any free worker when a request arrives. Its own control plane tracks actors in PostgreSQL, so millions of sessions never become Kubernetes objects. Isolation uses gVisor or Cloud Hypervisor microVMs, and plain containers are not supported.

Is Agent Substrate the same as kubernetes-sigs agent-sandbox?

No. agent-sandbox is a SIG Apps project that adds a Sandbox CRD for a single stateful pod with a stable identity. It also adds SandboxTemplate, SandboxWarmPool and SandboxClaim for pre-warmed allocation. Each sandbox is still one pod. Agent Substrate multiplexes many actors onto fewer worker pods and adds a dedicated control plane, request routing, snapshot tiers and an egress credential gateway. Google describes them as complementary. agent-sandbox suits workloads that need pod semantics, while Substrate targets very large fleets of mostly idle agents.

How fast can Agent Substrate resume a suspended agent?

Google states that a suspended actor resumes in under 500 milliseconds and that the system handles over 500 suspend/resume activations per second. Both figures are vendor-reported, and no independent benchmark had been published by late November 2026. The project’s internal north-star target is 100 ms at p95. Real latency depends on snapshot size, whether the snapshot is still cached on the node, the sandbox class, and pool saturation. Under saturation, request parking can hold a request for up to its default 5-second budget.

Does Agent Substrate preserve network connections across suspend and resume?

No. GKE’s documentation states that open connections, including database sessions and MCP connections, are not preserved, and agent code must reconnect after resume. This follows from gVisor’s checkpoint behaviour, where connected sockets return ECONNRESET after restore. Memory, the process tree and filesystem state are preserved with the default MEMORY fidelity. External sockets are not. Build reconnection into the agent loop, and treat time-based logic carefully, because realtime clocks jump forward by the suspended duration while monotonic clocks do not.

Why did Google donate gVisor to the CNCF?

Google says neutral governance gives the ecosystem a vendor-independent foundation for agent isolation on any conformant Kubernetes cluster. The New Stack reports that the plans include moving gVisor’s development and test infrastructure outside Google and letting external maintainers merge code. It also quotes Google’s Drew Bradstock saying upstream Linux maintainers had declined gVisor-related kernel changes while a single vendor owned the project. gVisor already isolates code for organizations including Anthropic and OpenAI, so it is a natural base layer beneath Agent Substrate.

Can I run Agent Substrate on EKS or other clouds?

The project says it runs on any conformant Kubernetes cluster, and its snapshot plugin supports both GCS and S3. The development quickstart uses a local kind cluster. A GKE installer exists for eligible customers, and GKE requires Standard clusters on 1.37 or later. We found no official EKS installer or integration with AWS Nitro Sandboxes as of this writing. Running Substrate’s gVisor class on EKS nodes therefore means self-managing it, and you would not get Nitro’s per-pod hardware VM boundary.

Further Reading

By Riju — about

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *