nvidia-nemo/switchyard

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 59 minutes ago
Added to GitGenius on August 13th, 2026
Created on May 19th, 2026
Open Issues & Pull Requests: 105 (+0)
GitHub issues: Enabled
Number of forks: 152
Total Stargazers: 1,678 (+5)
Total Subscribers: 5 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.0 hours
Mean response time: 2.4 days
90th percentile: 7.0 days
Tracked items: 45

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Almost all tracked open issues have seen activity in the last three months. Only 10% of issues opened in the past year have been closed. Three people close 74% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 47
New in 7 days: 33
Closed in 7 days: 15
Avg open age: 6 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 33
Closed in 7 days: 15
Comments in 7 days: 3
Events in 7 days: 3

Top labels

  • bug (9)
  • enhancement (7)

Detailed Description

Switchyard is a Rust proxy and library for routing LLM traffic across models and providers while maintaining native OpenAI and Anthropic API compatibility.

Switchyard solves the problem of directing requests to different language models and providers without forcing applications to change their API calls. It translates between OpenAI Chat, Anthropic Messages, and OpenAI Responses formats, allowing a client written for one API to work transparently with backends using another. The tool provides three usage paths: as a launcher that wraps coding agents like Claude Code, as a standalone HTTP proxy server, or as an embedded library for Rust applications. It includes multiple routing strategies such as random routing, LLM-as-classifier routing, and signal-driven stage routing, along with Prometheus metrics covering requests, errors, latency, tokens, and routing overhead.

Switchyard suits teams running multiple LLM backends or wanting to benchmark models against each other without rewriting client code. It works well for scenarios where you need to spread traffic across providers for cost optimization, performance testing, or gradual migration between models. The project is explicitly pre-alpha and evolving rapidly, with the API and algorithms expected to change significantly before reaching version one, so it is not recommended for production use at this stage.

Development activity shows rapid iteration with frequent commits addressing core functionality and algorithm improvements. The project maintains active engagement with issues and pull requests, indicating responsiveness to user feedback. Documentation is being actively developed alongside the codebase, with guides covering all three usage paths. The codebase demonstrates a focus on composable, typed routing algorithms that allow both built-in strategies and custom implementations.