Agents
Serve coding agents and multi-step agent sessions faster
Agent traffic looks different from chat. Each turn repeats a growing prefix, tool calls leave the GPU idle between turns, and some requests (the one a user is waiting on) matter more than others (a background subagent). Dynamo does not run your agent loop. Your harness still owns prompts, tools, subagents, and reasoning state. Dynamo reads a little metadata on each request and uses it to route and schedule better, keep reusable KV cache, and record what happened.
What You Can Do
Try It
Send a request that carries a session ID and a priority hint:
The response is a normal chat completion. The session ID labels the request for tracing. The hints change queueing, scheduling, and cache eviction only under load, and only for the priority layers you turn on. With the launcher defaults they are metadata. See Prioritize requests for the switches. Neither one pins the session to a worker; for that, see Maintain session affinity.
How Dynamo Uses the Metadata
Where to Start
- Follow Run an agent on Dynamo to get an agent talking to a local deployment.
- Add session IDs so every request is attributable.
- Turn on session affinity if your agents run many turns on the same context.
- Add priority once interactive and background requests compete for the same workers.
- Use tracing to measure each change before you keep it.
For SGLang engine flags and subagent KV isolation, see Agents on SGLang.