Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Unneeded

Switchyard

NVIDIA NeMo Switchyard

License: Apache-2.0 Latest GitHub release PyPI: nemo-switchyard crates.io: switchyard-libsy crates.io: switchyard-server GitHub contributors

Switchyard is an open-source library that helps an AI agent choose which model handles each request. It combines efficient models with more capable models so you can balance task success, cost, and latency on your workload.

Use Switchyard through a gateway integration, try it with a local proxy, or embed it in your own harness. You choose the model pool. Switchyard supplies the routing decision. Your gateway or application owns the surrounding service.

How it works

  1. Configure the models your application can use and choose a routing algorithm.
  2. The algorithm examines the request or the agent's recent tool activity. Some algorithms call a model to judge the task.
  3. Your gateway or application sends the request to the selected model. Routing can change as the agent continues its work.

Evaluate the complete agent, model pool, and routing configuration against your single-model baseline. A cheaper model call does not guarantee a cheaper successfully completed task.

Embed the library in your harness

Refer to the embedding example.

Routing algorithms

Start with Auto. Choose Task, Execution, or Composite when you need more control. These names describe routing choices.

Choice How it chooses
Auto Uses the current default: Execution (Stage), efficient-first, with a confidence threshold of 0.5 and no classifier call.
Task A model judges whether the efficient model can handle the task.
Execution Uses recent tool activity and outcome signals to choose a model as the agent runs.
Composite Combines Task and Execution: a classifier sets the default model tier when execution signals are uncertain.

The routing overview retains the full catalogue, including Plan/Execute, escalation, advisor, sub-agent, and random strategies.

Prefill routing is designed for fast, efficient model selection using a model's prefill activations and a classifier trained on your own evaluation data.

Evaluation and reference

Compare benchmark results and configs for Terminal-Bench 2.1 and DeepSWE. For latency and routing overhead testing, see Soak Testing.

Further reading

Metadata

Release files for nemo-switchyard-vgr 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nemo-switchyard-vgr 0.3.0
File Actions
nemo_switchyard_vgr-0.3.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-win_arm64.whl
nemo_switchyard_vgr-0.3.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-win_amd64.whl
nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 53.4 MB

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-win_arm64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-win_arm64.whl
Size 7.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
812bf0588eb53e7151fa82d20ccc44626fae8dbb1f722e7d82b52ee9812ce8c4
BLAKE2b-256 checksum
How to use checksums
5bdc2bc61eae677c81a006ecf9e610f39ad64611122fdc4847ca2147e112d3c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-win_amd64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-win_amd64.whl
Size 8.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
54c9dbd52ed2fd1fbf8d0dad9e4c79d857745e89778e53cf7e7aee38d0d9929d
BLAKE2b-256 checksum
How to use checksums
30cb925988ce606e3841caf9ae5a9575cbd8780fee63f500fc252643a90c7b22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 9.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
03f970fb780ea0f92dab974e454d63bd1977271d676641fd6e23f3fc405a32a0
BLAKE2b-256 checksum
How to use checksums
3d2aa08669f409680e273a2c139c9e3bc052385fb73509f87f871693c42a92cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 9.8 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8495c447c4042f6712fcfee0e27647070bd664b4fc2c6d319fed6032464d0ba3
BLAKE2b-256 checksum
How to use checksums
e09146d18afaa5d5c297ead4cf650f71afdf045b0c6dc956508f86c8903af9fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Size 8.8 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ec833820c255a09b3e1e0b4fb168c418536e946c56c82403e3557f0aa4ce0e7e
BLAKE2b-256 checksum
How to use checksums
199907930321f131c7704a803509eb124377dcec48c10caae5b1d7ee4bbbe2d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL nemo_switchyard_vgr-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 9.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0be8834702c2277d2a72f3f28c6ff84961e17c0b68d0bd80444be317d4d6d27e
BLAKE2b-256 checksum
How to use checksums
974efc4c7821ee7b0f38d26ede4c0c7213370f1395f6e7a52331ee92aaf58826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nemo-switchyard-vgr 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page