What happens when Google hands its AI agent runtime to a neutral foundation?
Google has donated Agent Substrate and gVisor to the Cloud Native Computing Foundation. The move gives any Kubernetes cluster a vendor-neutral way to run stateful AI agents that wake up in under 500 milliseconds without burning compute while idle.
Why Kubernetes pods choke on agents
A Kubernetes pod assumes a program boots, binds a port, serves traffic, and runs until stopped. An AI agent does none of those things. It executes untrusted code, calls a language model, then waits. During that wait the agent consumes zero CPU but holds critical state in memory and on disk: active runtimes, local Git repositories, uncommitted edits, tool sessions.
Standard Kubernetes offers two bad choices. Keep a dedicated pod running all day and pay for idle compute around the clock. Scale to zero with serverless containers and suffer wakeup latency past 20 seconds while the container clones repositories, reinstalls packages, and rebuilds memory. Platform teams need agents that resume in under 500 milliseconds with full state intact without paying for running pods while the agent sits idle.
The opposite bottleneck appears during training or evaluation. Reinforcement learning loops and benchmark suites need to run untrusted agent code across thousands of tasks at the exact same time. If every sandbox requires a full Kubernetes pod, the control plane grinds to a halt. Scheduling, creating, and destroying thousands of short-lived pods every minute overwhelms etcd, saturates kube-apiserver, and exhausts subnet IP addresses. Kubernetes was built to manage stable application topologies, not to act as a microsecond sandbox allocator.
Decoupling state from compute
Agent Substrate adds an actor-based control and data plane on top of Kubernetes. It solves the idle resource problem by decoupling Actors from Workers. An Actor represents an individual agent session complete with its own filesystem, environment variables, memory state, and network rules. A Worker is a pre-warmed Kubernetes pod running in a shared pool called a WorkerPool, equipped with container runtimes and sandbox boundaries. The lifecycle of an agent turn works like this. An incoming call hits the atenet-router L7 proxy. If the target Actor is suspended, the proxy holds the request in memory and alerts the Substrate controller. The controller assigns the Actor to an available slot in the warm Worker pool. The Actor's memory and disk state restore from tiered storage, the process wakes up, and the proxy delivers the request. The agent resumes in under 500 milliseconds right where it paused. When the turn finishes, Substrate snapshots the Actor's state to tiered storage and frees the Worker slot for other workloads. Because Substrate manages Actor state directly, thousands of agents can activate, suspend, and resume every second without creating new pod objects or stressing etcd. No pods.
gVisor and microVMs isolate untrusted code
Agents frequently execute model-generated untrusted code. Standard Linux containers share the host kernel, which presents an unacceptable security risk on multi-tenant nodes. Agent Substrate pairs with gVisor, Google's open source application kernel written in Go. gVisor intercepts system calls in user space, isolating untrusted code from the host kernel. Because gVisor virtualizes its own memory and process tables, Substrate can freeze a running environment, write memory pages to storage, and restore them on another node in under 500 milliseconds. For workloads requiring hardware virtualization or custom kernel modules, Substrate also supports Cloud Hypervisor microVMs under the same unified API.
Three layers form an open stack
Donating Agent Substrate and gVisor to the CNCF gives the cloud-native community a neutral vendor-independent foundation that works across any conformant Kubernetes cluster. Together with community projects they form an open stack for agentic infrastructure. Layer 1 is Secure Isolation provided by gVisor. It sandboxes untrusted code execution with user-space kernel isolation and fast memory checkpointing. Layer 2 is Agent Runtime provided by Agent Substrate. It multiplexes stateful actors onto warm worker pools with sub-second wakeups. Layer 3 is Training Orchestration provided by OpenRL. It coordinates Kubernetes-native reinforcement learning loops and evaluation sandboxes.
Try it today
Documentation and architecture specs live at ate.dev. The runtime code sits at github.com/agent-substrate/substrate. Community discussion happens in the CNCF Slack channels #substrate-dev and #substrate-user. The donation was announced at KubeCon North America in Salt Lake City running November 9 through 12. Sessions include Agent Substrate Day on Monday, a flagship fireside chat with Tim Hockin and Kelsey Hightower on Tuesday, and a hands-on workshop deploying warm worker pools and testing snapshot restores on Wednesday. The Google Cloud booth 122 runs live fleet multiplexing demos through the week.
The sources this article was written from
- Google Open Source Blog
https://opensource.googleblog.com/2026/11/sandboxing-untrusted-ai-agents-at-scale.html