NVIDIA NeMo Switchyard

github.com

Open-source NVIDIA library that routes each agent request to the right model to balance success, cost and latency.

Pricing
Open source
Published
Nov 18, 2026

Next steps

What it does

Switchyard, part of NVIDIA NeMo, helps an AI agent choose which model handles each request. You configure the model pool and a routing algorithm; the algorithm inspects the request or the agent's recent tool activity (some algorithms ask a model to judge the task) and the gateway sends the call to the selected model, with routing able to change as the agent works. You can use it through an existing gateway integration or embed its Rust core, libsy, in your own gateway or harness; you keep the model clients and credentials. The docs stress evaluating the whole agent against a single-model baseline, since a cheaper call does not guarantee a cheaper completed task. Apache-2.0.

Use cases

  • Route each agent request between cheaper and more capable models to balance task success, cost and latency
  • Embed the Rust core (libsy) in your own gateway or agent harness while keeping your own model clients and credentials
  • Benchmark routing configurations against a single-model baseline on your own workload

Frequently asked questions

What is Switchyard?
An open-source NVIDIA NeMo library that decides which model should handle each request in an AI agent, mixing efficient and more capable models.
How do I use it?
Through an existing gateway integration, by embedding the Rust core libsy in a service you run, or locally with the demo server to evaluate routing.
Does it call models for me?
No. You own the model clients, credentials and service; Switchyard supplies the routing decision.
Is it free?
Yes, Apache-2.0 licensed.
Log in to join the discussion