← News

AI agents

NVIDIA Open-Sources Agent Substrate to Run Millions of Agents on Warm Kubernetes Pods

Donated to the CNCF Sandbox, NVIDIA's Agent Substrate checkpoints idle agent sessions and restores them onto a shared warm pod pool, coordinating with Dynamo and KAI Scheduler.

Published: 2026-11-18 13:04 UTCUpdated: 2026-11-18 13:04 UTCSource date: 2026-11-10

An NVIDIA developer blog post describes Agent Substrate, an open-source project now donated to the CNCF Sandbox. It targets running large numbers of sandboxed AI agents and tools on Kubernetes, and NVIDIA claims 10x higher density than standard containers while describing it as a security-hardened, zero-trust runtime.

The post frames the problem as one of workload shape. Traditional web services are a relatively small number of long-lived instances. Agents instead wake up, take a single step, such as running a shell command, editing a file, calling a test suite or calling an LLM, and then wait for anywhere from milliseconds to minutes before the next step. Their filesystem, processes and working directory must survive between steps. Keeping one warm Pod per agent wastes compute that is idle almost all the time; creating Pods on demand pays a multi-second cold start through the API server, admission, etcd, the scheduler, the kubelet, image pulls and network setup, and loses the agent's state.

Agent Substrate uses Kubernetes only to run a pool of ready worker Pods and adds a separate control plane that maps a much larger set of actors, meaning agents and their environments, onto that smaller pool. When an actor goes idle, it is snapshotted out of its gVisor or microVM sandbox and its worker is freed. When it is called again, it is restored onto whichever worker is free with memory and filesystem state intact. According to the post, waking an actor does not require a new trip through the API server, scheduler or kubelet, and because the workers remain ordinary Kubernetes Pods, cluster scheduling, quotas and placement policies still apply.

The article names three driving workloads. Coding assistants alternate between LLM calls and repository work, and users expect the environment to persist and respond immediately across thousands of sessions. Reinforcement learning post-training with verifiable rewards runs GPU trainers and generation servers alongside CPU-heavy environments such as code sandboxes, compilers, browsers and simulators, whose demand arrives in bursts as rollout batches dispatch actions and can grow from a few hundred sandboxes to many hundreds of thousands, with the slowest environment gating when the trainer receives its next batch. Research GPU sandboxes are short-lived and exist to compile CUDA code, benchmark a kernel or run a numerical calculation on a shared cluster.

Upstream contributions listed include request parking in the Agent Substrate router, so that a request arriving while every worker is busy is held and its resume retried under a bounded wait and a cap on queued requests, plus a follow-up preventing requests to already-running actors from getting stuck in that line. Per-container CPU and memory limits for microVM sandboxes let an over-limit helper container be stopped on its own while the rest of the sandbox keeps running. A device-pluggability effort builds on Kubernetes Dynamic Resource Allocation so each container requests only the devices it needs, with NVIDIA GPUs as the first supported device and the same model applying to both gVisor and microVM sandboxes.

Preserving GPU sandboxes across suspend and resume is proposed as a vendor-neutral design. Device vendors describe how to pause their devices safely and which properties a snapshot depends on; Agent Substrate records those properties and restores onto a matching device, falling back to a clean cold start if none is available. The post notes that GPU checkpoints usually restore only onto the same GPU model and sometimes only with the same driver version, which is why the design is constrained this way.

On the inference side, NVIDIA Dynamo, the open-source distributed inference framework, coordinates with Agent Substrate. Dynamo's router can see where reusable KV cache lives, whether workers are doing prefill or decode, and how load spreads across the GPU fleet, and it receives signals such as session identity, request priority, expected output length, tool-call boundaries and lifecycle events. With both, it can keep related calls on workers already holding reusable context without creating GPU hot spots, prioritize interactive turns over background agent work under pressure, and retain prompts and tool definitions across tool-call gaps. Dynamo also returns projected time to first token, projected completion time, cache readiness and GPU-pool saturation to Agent Substrate, which uses them to keep an actor resident, suspend it during a long inference wait, or resume it as a response nears completion.

KAI Scheduler handles workload orchestration, placing Substrate worker Pods alongside GPU trainers and inference servers. Dynamo, KAI Scheduler and the Kubernetes foundation components are described as part of NVIDIA DSX OS, while Agent Substrate is explicitly an independent CNCF Sandbox project that is not a named DSX OS component, though NVIDIA is contributing upstream and working on interoperability.

The authors are candid that the project is still evolving: APIs are changing, GPU support is being rebuilt on the new DRA foundation, and parts of the Dynamo agent integration are experimental. That makes Agent Substrate best read as a public design plus upstream patches for Kubernetes-native agent scheduling rather than a drop-in production component. Its transferable idea is the split between agent-environment lifecycle and inference lifecycle, joined by feedback signals in both directions, which platform teams can evaluate independently of this implementation.


Related articles