| title | Agent Hints |
|---|---|
| subtitle | Per-request serving hints for agentic workloads |
Agent hints are optional per-request metadata that a harness sends under
nvext.agent_hints. Dynamo parses these hints in the frontend and passes them
to the router and, where supported, backend runtimes.
Use hints only for serving-relevant intent. Use
nvext.agent_context for passive trace
identity.
{
"model": "my-model",
"messages": [
{ "role": "user", "content": "Continue the report." }
],
"nvext": {
"agent_hints": {
"priority": 5,
"strict_priority": 1,
"osl": 1024,
"speculative_prefill": true
}
}
}| Hint | Description |
|---|---|
priority |
Unified request priority. Higher values mean higher priority at the Dynamo API layer; see Priority Scheduling for router and backend requirements. |
strict_priority |
Router pending-queue tier. Higher values always precede lower values before the configured queue policy is applied. |
osl |
Expected output sequence length in tokens. Used by the router for output block tracking and load-balancing accuracy when --router-track-output-blocks is enabled. |
speculative_prefill |
When true, Dynamo can prefill the predicted next-turn prefix after the current turn completes to warm the KV cache for the next request. |
flowchart LR
Harness[Agent harness] -->|nvext.agent_hints| Frontend[Dynamo frontend]
Frontend --> Router[Router]
Router --> Worker[Backend worker]
The frontend parses nvext.agent_hints, the router uses hints for queueing and
worker selection, and supported backends use forwarded hints for engine-level
scheduling and cache policy. For priority-specific semantics, see
Priority Scheduling.
Backend support is runtime-specific. For SGLang flags and behavior, see SGLang for Agentic Workloads.
| Feature | vLLM | SGLang | TensorRT-LLM |
|---|---|---|---|
| Priority-aware routing | Yes | Yes | Yes |
| Priority-based cache eviction | Planned | Yes | Planned |
| Speculative prefill | Yes | Yes | Yes |
| Subagent KV isolation with session control | No | Experimental | No |
agent_hints is separate from agent_context:
agent_contextis passive identity for traces and joins.agent_hintsis active serving intent for routing, scheduling, and cache behavior.
Session-control metadata for SGLang subagent KV isolation lives under
nvext.session_control; see NVIDIA Request Extensions.