NVIDIA engineers explain how Agent Substrate checkpointing maps millions of idle agent sessions onto a small pool of warm Kubernetes workers
Ekin Karabulut and Omer Yahud describe Agent Substrate's core mechanism: when an actor goes idle, it is snapshotted out of its gVisor or microVM sandbox and its worker is freed; when the actor is called again, it is restored into whichever worker is free, with its memory and filesystem state intact. The post details how Dynamo's router exchanges inference signals (projected time to first token, GPU-pool saturation) with Agent Substrate, which can use them to decide whether to keep an actor resident, suspend it, or resume it, and covers upstream contributions including request parking, per-container resource limits, and vendor-neutral device state preservation via Kubernetes Dynamic Resource Allocation.
AI agents spend most of their time idle—waiting on a human prompt, a tool result, or a model response. Ekin Karabulut and Omer Yahud, both at NVIDIA, argue in a November 10 blog post that Kubernetes was not built for this pattern. Running one Pod per session holds memory for work that is not executing. Deleting Pods between turns pays a multi-second cold start every time and loses the agent's filesystem state, its processes, and its working directory.
Their solution, Agent Substrate, now donated to the Cloud Native Computing Foundation (CNCF) Sandbox, uses a separate control plane that maps a large set of actors onto a smaller pool of warm Kubernetes worker Pods. When an actor goes idle, it is snapshotted out of its sandbox—either gVisor or a microVM—and its worker is freed. When the actor is called again, it is restored into whichever worker is free, with its memory and filesystem state intact. Waking an actor does not require a new trip through the API server, scheduler, or kubelet. The worker Pods remain ordinary Kubernetes Pods, so cluster scheduling, quotas, and placement policies still apply.
The authors identify three workload types driving demand for this pattern. Coding assistants alternate between LLM calls and repository operations—cloning, editing files, running builds and tests—and users expect the environment to persist between turns. Reinforcement learning post-training with verifiable rewards runs GPU trainers and generation servers alongside a fleet of CPU-heavy environments (code sandboxes, compilers, browsers, simulators) whose demand arrives in bursts as rollout batches dispatch actions; a training run can grow from a few hundred sandboxes in early experiments to many hundreds of thousands in production, and the slowest environment determines when the trainer gets its next batch. GPU sandboxes for research let a coding agent compile CUDA code or benchmark a kernel on a shared cluster, requiring many short-lived, isolated GPU environments that start quickly.