ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial4 min readDisconfirmAI Editorial

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.

2026-11-10 23:00 GMT+8

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.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The post details four upstream contributions. Request parking in the Agent Substrate router (pull #221) holds a request and retries the resume until a worker frees up, with a bounded wait and a cap on how many requests can wait at once; a follow-up (#1229) ensures requests to already-running actors never get stuck behind parked requests. Device-pluggability adds device support through Kubernetes Dynamic Resource Allocation (DRA): vendors plug in devices through a profile, each container requests only the devices it needs (#752), and the same model works for both gVisor and microVM sandboxes. NVIDIA GPUs will be the first supported device. Per-container CPU and memory limits for microVM sandboxes (#859) prevent a runaway helper container from consuming the whole sandbox's memory and taking the agent down with it. A vendor-neutral design for pausing and restoring device state records device properties with each snapshot and restores the sandbox on a matching device, or falls back to a clean cold start if none is available.

The Dynamo coordination is the part that distinguishes this from a simple container-reuse scheme. NVIDIA Dynamo, the open-source distributed inference framework, orchestrates inference across GPU workers. Its router sits between Agent Substrate and the GPU fleet, using session identity, KV cache location, and tool-call boundaries to keep related model calls on workers that already hold reusable context. More importantly for the agent lifecycle, Dynamo exposes inference signals—projected time to first token, projected completion time, request progress, cache readiness, and GPU-pool saturation—back to Agent Substrate. Substrate can use this feedback to decide whether to keep an actor resident, suspend it during a longer inference wait, or resume it as the model response approaches completion. At fleet scale, the same feedback can help tune warm-worker capacity, regulate agent and subagent fan-out, and avoid activating CPU sandboxes that would otherwise sit idle behind a saturated GPU queue.

KAI Scheduler can place the Substrate worker Pods today alongside GPU trainers and inference servers. The authors describe a division of responsibility: Agent Substrate manages the high-frequency lifecycle of agent environments, Dynamo manages the high-performance lifecycle of inference, and KAI Scheduler handles placement, queues, gang scheduling, topology awareness, and fair share.

The authors acknowledge the project's maturity boundaries: APIs are still changing, GPU support is being rebuilt on the new DRA foundation, and parts of the Dynamo agent integration are experimental. The 10x density figure relative to standard containers is stated as a design target rather than a measured benchmark, and no independent reproduction is referenced. The post is NVIDIA's own description of its architecture; the claimed coordination benefits between Substrate and Dynamo are presented as the system's intended behavior, not as externally validated results.

Sources

  • developer.nvidia.comNVIDIA Technical Blog↗
Continue researching →