vLLM Semantic Router now serves coding agents directly and shows which model answered

Ariadne makes standalone serving the default and gives platform teams a record of model choices across the main coding loop, subagents and compaction.

Editorial cover: vLLMEditorial cover: vLLM
Company marks identify their owners. Reference only; no endorsement.

The vLLM project released Semantic Router v0.5, called Ariadne, on December 2, 2026. The router now serves its own inference API by default, with Envoy available as an option. On supported coding clients, it can distinguish main-loop, subagent and context compaction requests, and it records routing decisions by default. Teams running a shared inference gateway can inspect which model answered each call in a session, even when the client displays one model name throughout. vLLM release announcement

A coding harness sends main-loop, subagent and compaction requests through one virtual model name. A standalone router applies a recipe, and an illustrative session timeline lists the model that served each call.A coding harness sends main-loop, subagent and compaction requests through one virtual model name. A standalone router applies a recipe, and an illustrative session timeline lists the model that served each call.
A virtual model name gives the harness one entrypoint. A recipe can route by request class, and the session timeline shows which model served each call. Model assignments are illustrative.

The vLLM Blog announcement for Semantic Router v0.5 Ariadne.
The vLLM Blog introduces Semantic Router v0.5 Ariadne. · Original source

One model name can lead to several backends

A coding harness such as Claude Code or Codex CLI owns the tool loop, permissions and task state. When it calls a virtual model name such as vllm-sr/auto, the router applies the recipe behind that name to select a backend. Calls that name a concrete provider model bypass recipe routing. The harness guide gives the example of Claude Code requesting a Haiku model ID for an Explore subagent. If the gateway publishes no matching name, the subagent can fail with 404 model_not_found even when the main loop connects successfully. The guide describes mapping those client-selected names to a virtual entrypoint. For Claude Code on a custom base URL, it also documents enabling CLAUDE_CODE_GATEWAY_HINT_HEADERS so the client sends request classes and subagent types. Agent harness guide

Request classes let operators change one part of the session at a time. A team could start by sending session titles to a smaller model while keeping the main loop on its existing backend. Compaction deserves a separate test. The harness replaces earlier conversation history with a summary, which becomes part of the context for subsequent work. To evaluate a new compaction route, resume a task with a known constraint and an unfinished step, then check whether the agent respects the constraint and picks up the step. vLLM release announcement · Checking what survives compaction

Check a full session before changing the recipe

Start with a small repository task that requires the harness to read a fixture and use its contents to answer a question. Record the expected recipe and serving model. On the initial request, compare x-vsr-selected-recipe and x-vsr-selected-model with those expectations. Then verify that the streamed tool arguments arrive intact, the result reaches the matching call, and the harness finishes with the expected answer. Include a subagent run if the team uses one. Agent harness guide

In the dashboard’s Requests view, open the session timeline and check the model on the main loop and its tool continuation. If the recipe sends titles or summaries to a different backend, look for those calls in the same run. Check that the harness supplies a stable session identifier if related calls appear in separate records. The project says the default routing record omits prompt text unless a capture mode is chosen. Records backed by persistent storage survive router restarts. Use the routing record to confirm where a request went and the fixture result to assess how the model handled it. vLLM release announcement · Agent harness guide

Existing Envoy deployments have a migration choice

Ariadne is a breaking release. Earlier releases served configurations behind Envoy, and v0.5 validates for standalone mode by default. If authorization or per-user limits depend on identity headers set by an authenticating gateway, the migration guide documents migrating in extproc mode. For standalone serving that still consumes those headers, the guide specifies enabling header trust only behind a proxy that authenticates clients and sets the headers. Check custom Envoy rules and monitoring separately. The migration rewrites router configuration. Consumers of the old x-selected-model response header need to move to x-vsr-route-model themselves. v0.5 migration guide

Sources

  1. vLLM Semantic Router v0.5 Ariadne: Routing the World's Intelligence | vLLM Blog
  2. Migrate to v0.5 | vLLM Semantic Router
  3. Connect an agent harness | vLLM Semantic Router