# Add to your Claude Code skills
git clone https://github.com/bitrouter/bitrouterbitrouter is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by bitrouter. elastic inference for your agentic workloads. It has 242 GitHub stars.
bitrouter's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/bitrouter/bitrouter" and add it to your Claude Code skills directory (see the Installation section above).
bitrouter is primarily written in Rust. It is open-source under bitrouter on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh bitrouter against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A deployable model gateway with inspectable routing policies.
Point an OpenAI-compatible agent at your local BitRouter instance and choose
bitrouter/auto after configuring an auto router and policy. See the
routing guide for setup.
- OPENAI_BASE_URL=https://api.openai.com/v1
+ OPENAI_BASE_URL=http://localhost:4356/v1
Then set the request model to:
bitrouter/auto
BitRouter runs locally and exposes an OpenAI-compatible API, so existing agents and tools can switch over with minimal changes.
You can also give your coding agent the /bitrouter skill to install, configure, migrate to, and troubleshoot BitRouter for you:
npx skills add bitrouter/bitrouter
Try BitRouter Cloud →: Use
https://api.bitrouter.ai/v1with a Cloud credential and a catalog model ID. Hosted routing presets use@<name>; the localbitrouter/autoselector requires a local router.
One Rust router sits between your agents and every model provider. Extend it with providers, routing policies and operator-configured server tools. Install BRO separately for workspace tools, skills and local agent delegation.
Routing policy lives in files you own. Routes are inspectable, changes are diffable, and a live policy changes only when you explicitly publish it.
Start with bitrouter/auto and evaluate the selected model against your own outcomes.
An evaluator can submit evidence through the SDK. An authorized operator publishes
and activates a policy revision explicitly.
bitrouter mcp. Server tools run only on routes configured to expose them.On Terminal-Bench 2.1, BitRouter cut API cost by 40.9% while achieving nearly the same reward as using gpt-5.6-sol alone.
| Configuration | Reward | Cost / trial | Cost savings |
|---|---|---|---|
gpt-5.6-sol only |
81.56% | $0.830 | — |
| BitRouter | 81.25% | $0.490 | 40.9% |
| Random model mix | 76.50% | $0.553 | 33.4% |
BitRouter dynamically routed between GPT-5.6, Kimi K3, and DeepSeek V4 Flash, retaining nearly all of GPT-5.6’s task performance while substantially reducing model cost.
The random baseline used the same model mix, showing that the savings come from routing decisions—not simply using cheaper models.
Results use the strict 80-task common-valid set and frozen API prices. This is a research benchmark, not an official Terminal-Bench submission.
See the full study and limitations and the BitRouterAI/benchmarks dataset for reproducible results.
The service package installs bitrouter. The optional local harness package
bitrouter-bro installs bro. From a checkout of this revision:
cargo install --locked --path apps/bitrouter
cargo install --locked --path apps/bro
Each release has separate installers and archives for the two packages. Official macOS builds target Apple Silicon. The gateway and gateway-shared archives provide additional service feature selections. See distribution profiles for artifact ownership and how to update each product.
On the machine that holds the provider credentials:
bitrouter init --yes --use-detected --after exit
bitrouter serve
The gateway listens on 127.0.0.1:4356 by default. A client on another machine
needs a reachable gateway endpoint and an authorized client credential.
export BITROUTER_ENDPOINT=http://127.0.0.1:4356
bro task run 'Summarize this project' --workspace . --read-only --model provider/model
bro thread list
bro acp list
Replace provider/model with a selector from bitrouter models. Set
BITROUTER_API_KEY in the BRO environment when the gateway requires a bearer token. Provider keys and gateway databases belong on the service host.
Use bitrouter policy --help and bitrouter tenancy --help to inspect the
service administration commands. See the command reference.
BitRouter routes to a model, not a provider. Each model below is served by many providers — its own lab, hyperscalers, gateways, and serverless clouds. BitRouter orders eligible routes by configured provider priority and can fall back on retryable failures. The bars are those routes: the more providers serve a model, the more room the router has to move. Current cost and latency sort options use the same deterministic priority order rather than live price or latency scoring.
Bring your own key to any of them, or use one BitRouter Cloud account with no keys at all. Frontier models from OpenAI, Anthropic, Google, and xAI also route over a subscription sign-in (Claude Pro/Max, GitHub Copilot, ChatGPT Codex) instead of a key.
The chart is generated from dist/registry/ on every catalog
change — it is never hand-maintained, so it cannot drift from what the router
actually resolves. Full catalog in registry/.
Try BitRouter Cloud → or reach out directly:
Want a first-party provider integration, or building an open-source agent/harness? Email [email protected] or book a meeting — open-source builders get up to 50% off for you and your community.
CONTRIBUTING.md — contribution workflow, issue reporting, and provider updatesCLAUDE.md — guidance for AI coding agents working in this repositoryskills/ — the /bitrouter Agent Skill (source of truth)Licensed under the Apache License 2.0.