ccg-router

Install ccg-router

Use ccg-router as a local Claude Code router, Codex CLI router, OpenAI-compatible proxy, and Anthropic-compatible proxy.

Homebrew

brew install XZXY-AI/tap/ccg-router

Shell installer

curl -fsSL https://raw.githubusercontent.com/XZXY-AI/ccg-router/main/scripts/install.sh | bash

Go

go install github.com/XZXY-AI/ccg-router/cmd/ccg-router@latest

Configure local CLIs

ccg-router init
export ANTHROPIC_BASE_URL=http://127.0.0.1:17180
export OPENAI_BASE_URL=http://127.0.0.1:17180
ccg-router start