Switchyard is a Rust proxy and library for routing traffic between LLM clients and model backends. It translates among OpenAI Chat, OpenAI Responses, and Anthropic Messages formats so agents can keep using their native APIs. Requests can be distributed across vLLM, NVIDIA NIM, Ollama, OpenRouter, and other compatible endpoints. Routing strategies include random splits, LLM classification, signal-driven stage routing, escalation, and custom algorithms. Prometheus metrics track requests, errors, latency, tokens, and routing overhead. Developers can run it as a standalone server, launch coding agents through it, or embed its routing logic in Rust applications. The project is currently pre-alpha and explicitly marked experimental rather than production-ready.

Features

  • OpenAI and Anthropic protocol translation
  • Multi-backend LLM traffic routing
  • Random, classifier, stage, and escalation routing
  • Prometheus operational metrics
  • Standalone server and agent launcher
  • Embeddable Rust routing library

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Switchyard

Switchyard Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Switchyard!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Artificial Intelligence Software

Registered

2026-08-13