cc-switch acts as a smart Local Proxy Gateway that sits between your AI command-line tools (like Claude Code) and various AI providers. Instead of connecting directly to the internet, tools connect to this local server, which handles Intelligent Routing to automatically switch to backup providers if one fails. It uses a SQLite Database to store configurations and logs, allowing you to visualize costs and history via a Usage Dashboard, while standardizing different API formats through a flexible Adaptation Layer.
cc-switch is organized as connected concepts and components. Start broad, then drill down chapter by chapter.
cc-switch acts as a smart Local Proxy Gateway that sits between your AI command-line tools (like Claude Code) and various AI providers. Instead of connecting directly to the internet, tools connect to this local server, which handles Intelligent Routing to automatically switch to backup providers if one fails. It uses a SQLite Database to store configurations and logs, allowing you to visualize costs and history via a Usage Dashboard, while standardizing different API formats through a flexible Adaptation Layer.
Source Repository: https://github.com/farion1231/cc-switch
Follow sequentially or jump to any topic. Start with Local Proxy Gateway.
This tutorial was automatically generated by Code IQ and rendered with the shared tutorial site builder. It can be produced for any repository tutorial folder that follows the numbered markdown chapter layout.
View Code IQ ↗