Discover and explore top open-source AI tools and projects—updated daily.
foreveryhAI model switching CLI for enhanced productivity
Top 77.6% on SourcePulse
This project provides a command-line tool (ccm/ccc) for easily switching between various AI models compatible with Claude Code, targeting developers and power users. It simplifies model management, offers intelligent fallback mechanisms to backup services like PPINFRA, and enables bypassing Claude Pro usage limits by managing multiple accounts, thereby boosting productivity and flexibility.
How It Works
The tool injects shell functions (ccm for environment management, ccc for one-command launch) into the user's shell. It works by setting specific environment variables (e.g., ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN) to redirect Claude Code requests to the chosen model's API endpoint. A key feature is its smart fallback system, which prioritizes configured official API keys but automatically switches to the PPINFRA service if official keys are absent, ensuring continuous operation. It also supports managing multiple Claude Pro accounts, allowing users to switch between them to circumvent individual usage caps.
Quick Start & Requirements
Installation is streamlined via a single command: curl -fsSL https://raw.githubusercontent.com/foreveryh/claude-code-switch/main/quick-install.sh | bash. Users need a compatible shell (bash/zsh) and curl. Initial use requires no API keys, leveraging built-in experience keys via PPINFRA. Shell reload (source ~/.zshrc or source ~/.bashrc) is necessary after installation.
Highlighted Details
Maintenance & Community
The project welcomes issues and pull requests via its GitHub repository. Specific community channels (like Discord/Slack) or details on core maintainers are not explicitly detailed in the provided README excerpt.
Licensing & Compatibility
The project is licensed under the permissive MIT License, allowing for broad compatibility and commercial use without significant restrictions.
Limitations & Caveats
The tool is primarily designed for users of the Anthropic API. Claude Pro account management relies on macOS Keychain for secure storage, which may limit cross-platform compatibility for this specific feature. Some listed models only support official APIs and do not have PPINFRA fallback options. After switching Claude Pro accounts, users must restart Claude Code for the changes to take effect.
1 month ago
Inactive
portiaAI
anthropics
activepieces
ComposioHQ
langchain-ai