Discover and explore top open-source AI tools and projects—updated daily.
9jHigh-performance AI routing proxy for multi-provider LLM access
New!
Top 74.8% on SourcePulse
Claude Code Mux is a high-performance Rust-based AI routing proxy designed to enhance AI workflows with multi-model intelligence and provider resilience. It targets developers and power users seeking to integrate diverse LLM providers, offering automatic failover, intelligent routing, and cost optimization for seamless AI interaction.
How It Works
This lightweight proxy acts as an intermediary, routing requests to over 18 supported AI providers. It employs Rust for exceptional performance, achieving minimal latency (<1ms overhead) and low memory usage (~5MB RAM). Core functionalities include priority-based provider failover, task-type-based routing (e.g., websearch, reasoning), and regex-driven model name transformation. It maintains full Anthropic API compatibility and supports Server-Sent Events (SSE) streaming for real-time responses.
Quick Start & Requirements
cargo install claude-code-mux or build from source (cargo build --release).ccm start to launch the server and access the web-based admin UI at http://127.0.0.1:13456.config.toml is auto-generated at ~/.claude-code-mux/ on first run.Highlighted Details
Maintenance & Community
Contribution is encouraged via GitHub issues for bug reports and feature requests, and pull requests for code submissions. Detailed contribution guidelines are available in the repository.
Licensing & Compatibility
The project is released under the permissive MIT License, allowing for broad compatibility and commercial use without significant restrictions.
Limitations & Caveats
While robust, advanced configuration of routing rules and regex patterns may require a learning curve. The system's reliability is dependent on the availability and API consistency of the integrated third-party providers. OAuth setup involves browser-based authorization flows.
1 week ago
Inactive
Portkey-AI