CLIProxy API Integration
CCS uses CLIProxyAPI and CLIProxyAPIPlus to power OAuth-backed provider routing. In the current CCS UI, that capability is split across three routes, not one generic page.Current Surface Map
| Route | What lives there | Use it when |
|---|---|---|
/cliproxy | OAuth overview workspace | provider status, variants, quick setup, routing, account actions |
/cliproxy/ai-providers | AI Providers workspace | API-key and connector routes that belong inside CLIProxy |
/cliproxy/control-panel | embedded control panel | upstream management-center features that CCS does not re-skin |
OAuth Overview Workspace
- Dark Theme
- Light Theme

/cliproxy route is the main CCS-owned control surface. It includes:
- a provider rail for authenticated OAuth providers
- a variant list for CCS-managed provider variants
- a proxy status widget and backend label
- quick setup for guided first-time configuration
- provider editors for accounts, models, targets, and routing
- deep links such as
?provider=claudeand?action=authfor focused flows
Supported OAuth Providers
| Provider | Status | Notes |
|---|---|---|
| Claude | OAuth | Anthropic Claude with quota support |
| Gemini | OAuth | Google Gemini via OAuth |
| Codex | OAuth | OpenAI Codex routing |
| Antigravity | OAuth | multi-account routing |
| GitHub Copilot | OAuth | Copilot account routing with quota support |
| Kiro | OAuth | AWS Builder ID / IDC-driven Kiro access |
| Qwen | OAuth | Alibaba Qwen Code |
| iFlow | OAuth | alternative AI routing |
| Kimi | OAuth | Moonshot Kimi OAuth-backed routing |
Quota-Supported Providers
agy · claude · codex · gemini · ghcp
Model Catalogs And Pickers
CCS treats CLIProxy management model definitions as the primary catalog source. The dashboard resolves model metadata in this order:- live CLIProxy management catalog
- cached catalog snapshot
- static CCS fallback catalog
Routing Strategy
CCS exposes the proxy-wide routing strategy directly instead of inferring it from account mix.| Strategy | Behavior | Good fit |
|---|---|---|
round-robin | spread requests across matching healthy accounts | even usage and predictable distribution |
fill-first | drain one healthy account before touching backups | keep backup accounts cold until needed |
round-robin as the default until you change it explicitly.
AI Providers Workspace
/cliproxy/ai-providers is now the dedicated home for non-OAuth upstreams that
still belong to the proxy layer.
Use it for:
- API-key families such as Gemini, Codex, Claude-compatible, and Vertex routes
- named OpenAI-compatible connectors
- advanced route composition with prefixes, proxy overrides, headers, and model aliases
.settings.json.
Control Panel Embed
/cliproxy/control-panel embeds the upstream management center inside the CCS
dashboard shell.
- Local mode reverse-proxies
management.htmlthrough the dashboard server to avoid cross-origin and port issues - Remote mode uses the saved remote proxy config and bootstraps auth into the iframe when a management token is available
Target Metadata
Variants on the overview route can carry a CCStarget:
| Target | CLI | Meaning |
|---|---|---|
claude | Claude Code | default target |
droid | Factory Droid | alternate runtime for compatible flows |
Quick Start
/cliproxy for OAuth-backed providers. Move to
/cliproxy/ai-providers when you need API-key or connector routes. Open
/cliproxy/control-panel when you need the upstream management-center surface.

