Why an Agent That Mostly Waits Is Costly to Run
What NVIDIA's post says about how agents spend their time, what state has to continue and the two options platform teams are left with.
For: Learners new to running AI agents.
How an agent spends its time
AI agents spend most of their time idle, waiting on a human prompt, a tool result or a model response.[1]
Agents follow a different pattern: they wake up and take one step, running a shell command, editing a file, calling a test suite or calling an LLM.[1]
Then they wait, sometimes for milliseconds and sometimes for minutes, before the next step.[1]
What has to continue between steps
The agent’s state (its filesystem, its processes, its working directory) has to continue between steps.[1]
Running one Pod per session holds memory for sessions that aren’t doing anything, and deleting Pods between turns pays a multi-second cold start every time and loses the agent’s state.[1]
The two costly options
This leaves platform teams with two suboptimal choices: either keep one Pod warm per agent and pay for compute that is idle almost all the time, or create Pods on demand and pay a cold start penalty on every step.[1]
Sources
- Agent Substrate: Advancing Kubernetes for Agents at Scale (developer.nvidia.com · checked )
More articles
- LearningNVKE and NVKR: What the Two NVIDIA Projects DoWhat NVIDIA's announcement says NVKE and NVKR do, that they can be used together or apart, and their license and release status.
- LearningWhat a Cold Start Is and What a Saved GPU Copy SkipsWhat NVIDIA's post says a cold start is, what its checkpoint captures and which startup steps a restore skips.
- LearningWhy an Image Tag Does Not Tell You What Code Is RunningWhat NVIDIA's post says about mutable image tags, what the AICR AI bill of materials component is and what a qualification claim means.