NVIDIA Dynamo adapts inference serving to whole agent sessions

News PyTorch Blog · Source account, not independently verified by us.

NVIDIA Dynamo aims to serve agent workloads more efficiently by accounting for connected sessions rather than handling only individual model requests. This matters because agents can pause for tool calls, trigger multiple model steps, and retain large KV caches while they wait.

A stable session identifier links an agent’s requests; a parent session ID can also be supplied for subagents. The post says Dynamo recognizes identity headers from Claude Code, Codex, and OpenCode without extra configuration. Custom agents can opt in with a documented header, and plugins are available for additional integrations.

Session-linked traces capture information including session data, token counts, cache metrics, and tool names. Prompt, response, and tool-call content is not stored by default. These traces can be used for offline simulations or replayed against a live Dynamo endpoint. One described routing strategy groups requests by session and can pause agents at tool boundaries under memory pressure rather than canceling in-flight requests.

The post also covers an experimental index for shared KV caches and a proposed KvHint interface. It outlines concrete infrastructure approaches, but the supplied text gives no quantified performance gains. The original post provides the technical details on session identifiers, routing, and cache management.

🇬🇧 https://pytorch.org/blog/session-aware-agentic-inference-with-nvidia-dynamo

Leave a Comment

The weekly brief: selected developments, projects and videos