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.
Rust
# Required for Harbor agent smoke tests
OPENAI_API_KEY=your-api-key-here
OPENAI_API_BASE=base-url
# Anthropic-compatible aliases for Harbor smoke test (claude_code.py reads these)
ANTHROPIC_API_KEY=your-api-key-here
ANTHROPIC_BASE_URL=base-url
# Optional: separate key for LLM-judge steps
JUDGE_API_KEY=
JUDGE_BASE_URL=
JUDGE_MODEL=