Trung Quốcmusistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
🖥️ One Local Gateway for Every AI Agent
Route Claude Code, Codex, ZCode, and other agents through a single local control panel.
Claude Code Router Desktop is a local gateway and desktop control panel for routing agent requests from Claude Code, Codex, ZCode, and compatible clients to the model provider you want to use. CCR runs on your machine, keeps provider configuration in your local config directory, and exposes a local gateway at http://127.0.0.1:3456.
✨ Highlights
- Desktop dashboard: start or stop the local gateway, inspect usage, configure the tray window, and manage runtime settings.
- Provider management: add provider presets or custom endpoints, test connectivity, manage credentials, and monitor supported account balances where available.
- Routing rules: set default, background, thinking, long-context, image, web-search, subagent, model-prefix, and conditional routing rules.
- Agent profiles: configure Claude Code, Codex, and ZCode profiles that point to the CCR gateway.
- Gateway compatibility: translate client requests through the local CCR wrapper and the core gateway runtime.
- Proxy mode: capture supported API traffic through a local proxy with optional system proxy integration and network capture.
- Plugins: install or load wrapper plugins, including routes for Claude Design and Cursor Proxy style integrations.
- Virtual models: expose aliases or composed model profiles for clients that expect a specific model name.
💡 Why it matters
Instead of configuring every AI agent tool separately, CCR lets you route all requests through one local endpoint. This simplifies provider switching, enables fallback routing, and centralizes credentials and usage statistics. The desktop UI removes the need to edit JSON config files manually, making it accessible for non-technical users while still offering advanced features like proxy capture and plugin extensions.
Best suited for developers juggling multiple AI agents and providers, CCR provides a unified interface to manage cost, reliability, and routing logic without changing workflows across different tools.
#AI #Routing #OpenSource #TiniX