Route every AI request to the right model, automatically.
Lighter models for routine work, more capable ones when it matters, with no manual switching.
The app uses NVIDIA Switchyard through
an independently maintained core fork.
It is not affiliated with NVIDIA, OpenAI or Anthropic. The only application lives in
desktop/, built with Tauri, React and Rust; its source,
runtime inputs, resources and build tools are all there.
| Integration | How it works | What you need |
|---|---|---|
| Codex / ChatGPT plan | Codex sends requests to the local Switchyard server, which selects a model and calls the bundled LiteLLM gateway for models in your plan. | Codex CLI, account access to the chosen models, and a separate ChatGPT sign-in on the Providers page. |
| OpenAI, Anthropic, OpenRouter API | Models chosen from these connections are called directly with your API key, billed per token. One route can mix them with the ChatGPT plan. | An API key for each provider you use, saved on the Providers page. A Claude subscription does not include API access. |
| Claude Code | Claude Code sends requests to the local Switchyard server, which selects between two Claude models and calls Anthropic with your API key. | Claude Code, an Anthropic API key (billed to your API account, not a Claude subscription) and access to both models. Development preview; live-key testing still needed. |
| Jev / TypeSafe, Mercury Decide | Optional decision models that help choose the model; they do not write the final answer. | A TypeSafe API key for Jev, or your OpenRouter key for Mercury Decide. Classification requests are separate from your model usage. |
Claude Code uses the same local server as Codex but its own Claude route, so its requests also appear in Activity. There is no Claude subscription sign-in: the app never handles Claude Code tokens. Gemini and local models have no connection in this app yet. Supported models and usage limits depend on your provider.
You need macOS 14+, Node.js 22+, Rust stable, Xcode Command Line Tools, Python 3
and uv. The bundled Switchyard source also needs the toolchain specified in
vendor/switchyard/rust-toolchain.toml.
From the repository root, open Terminal and run:
cd desktop
npm ci
npm run runtime
npm run desktopThe first preparation builds Switchyard and bundles Python/LiteLLM. It can take some time and requires dependency downloads. The app does not install packages when it starts. If a prepared runtime already exists, the preparation command refuses to replace it; see runtime preparation.
npm run dev only opens a browser preview. Account sign-in, routing and other
native actions are disabled there. Use npm run desktop for a working app.
Windows setup is documented in the application guide. It still needs native build and runtime acceptance on Windows.
-
Install Codex CLI separately and sign in to the account you want to use.
-
On the app's Providers page, sign in with ChatGPT and load your account's models, and add API keys for any other providers you want to use.
-
On Routing, choose a strategy and pick a model for each slot from any connected provider. Review the generated configuration.
-
Save your settings and start routing. The status bar names any slot whose provider is not connected yet.
-
In your project folder, run:
codex --profile switch
Keep the app running while using this route. Stop routing in the app when done.
The app temporarily creates CODEX_HOME/switch.config.toml; it does not rewrite
config.toml or overwrite an unrelated profile. A stale Switchyard profile or
a file containing only Codex UI state can be replaced on Start. An occupied port is
reported rather than freed by stopping someone else's process.
Claude Code is Anthropic's program for working with code in Terminal, separate from the Claude website and desktop app. In Routing > Set up Claude, save your Anthropic API key (it goes to the system credential vault and is the same key as the Anthropic connection on Providers), choose two models, start routing, and run the launch command the app shows. The server calls Anthropic with your key; Claude Code never sees it. Usage is billed to your Anthropic API account.
Follow the step-by-step Claude guide for setup, what is not verified yet and the Noop note for Claude-only use.
Quit the retired app and stop its route before starting this one: both use ports
4100/4101. Do not delete account files or app data to upgrade. This app keeps its
settings under switchyard-desktop/cross-platform in the platform's application
data folder. That directory name is retained to preserve existing preview data.
To bring over an old routing setup, use Import / export routing setup and
paste your exported JSON or legacy saved-routing-setup.json. Import creates a
draft: review it and save explicitly. Accounts, tokens and request history are
not transferred. Old setup imports are tested with 29 synthetic fixtures.
The routing editor supports 13 strategies and 18 built-in roles. Some server features, including Prefill, require an optional core build. Activity views, forced-quit recovery, OS integration, credential protection and installer acceptance still have open work. Removing the old app does not mean these gaps are complete. See current status.
- Application setup and checks
- Development workflow
- Contributing
- Release requirements
- Core snapshot ownership
Original application code and assets are licensed under Apache-2.0.
Third-party components retain their own licenses; see NOTICE,
dependency notices and desktop/licenses/.
Report vulnerabilities using SECURITY.md.





