隐私与广告选择

Git-Stars 会使用必要存储来保障网站运行。可选分析和广告测量脚本默认不加载,只有在你同意后,Google 等合作伙伴才可能按要求使用 Cookie 或类似标识符。 隐私政策

LogoGit-Stars
星数最高飙升榜AI Agent每日推荐爆款仓库洞察
LogoGit-Stars

用真实 GitHub 数据发现高价值开源项目

GitHub
Built withLogo of Git-StarsGit-Stars
排行榜
  • 星数最高
  • 飙升榜
  • AI Agent
  • 每日推荐
  • 搜索
资源
  • 洞察
  • 编辑政策
关于
  • 关于
  • 联系我们
法律
  • 隐私政策
  • 服务条款
© 2026 Git-Stars. All Rights Reserved.
AI Agent 分析
SW

NVIDIA-NeMo/Switchyard

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Star
1.6k
语言
Rust
GitHub
来源与合规提示最近同步: Aug 16, 2026

Git-Stars 是独立产品,不隶属于 GitHub 或该项目。 分析可能由 AI 辅助生成,依据公开仓库元数据和 README 的短摘要。 我们不镜像完整 README、文档、Issue 或社媒评论。

原始 GitHub 来源方法论编辑政策

概览

Switchyard is a Rust-based proxy and library for LLM traffic that routes requests across multiple providers, translates between OpenAI and Anthropic API formats, and records operational metrics. Its core value proposition is enabling coding agents like Claude Code or Codex to work with open-source models by acting as a translation and routing layer, with support for custom routing algorithms.

安装方式

Install via `uv tool install --python 3.10 "nemo-switchyard[cli]"` for the launcher, `cargo install --locked switchyard-server` for the standalone proxy, or add `switchyard-libsy` and `switchyard-protocol` as git dependencies for library use.

解决的问题

Switchyard solves the problem of API incompatibility between coding agents (which expect OpenAI or Anthropic APIs) and open-source model servers (which often expose OpenAI-compatible endpoints but not Anthropic's format). It also addresses the need for flexible, multi-model routing with cost/quality trade-offs, enabling A/B testing, tiered routing, and custom routing logic without modifying the agent or model server.

可以构建什么

Developers can build production-grade LLM gateways that route traffic across models (e.g., vLLM, NVIDIA NIM, Ollama) with protocol translation, implement intelligent routing strategies like LLM-as-classifier or signal-driven stage routing, and embed routing algorithms directly into their own Rust applications. Real-world use cases include running Claude Code or Codex against open-source models, cost-optimized multi-tier serving, and benchmarking different models. The ceiling is high: with custom algorithms and library embedding, it can serve as the core routing engine for any LLM-based system.

社区反馈

正向反馈

暂时没有社区反馈。

风险关注

暂时没有记录到风险关注。

结论

Switchyard is ideal for developers and organizations that want to use open-source models with existing coding agents or need a flexible, programmable routing layer for LLM traffic. It should be avoided by those seeking production-ready stability, as it is pre-alpha and explicitly not for production use. The key trade-off is its powerful flexibility and protocol translation capabilities versus its immaturity and rapidly changing API.

由 Git-Stars 分析 - 8/13/2026