# ccx | Benedict King | Knowledge Base | Instagit

Claude / Codex / Gemini API Proxy - CCX

GitHub Stars: 2.5k

Repository: https://github.com/BenedictKing/ccx

---

## Articles

### [Understanding the CCX Provider Interface: Abstracting AI Upstreams in Go](/BenedictKing/ccx/what-is-the-ccx-provider-interface)

The CCX Provider interface standardizes AI upstreaming in Go. Discover how it unifies HTTP requests, normalizes responses, and handles SSE streaming for diverse model providers.

- Tags: deep-dive
- Published: 2026-05-29

### [What Is Trace Context Tracking in CCX? A Technical Deep Dive](/BenedictKing/ccx/what-is-trace-context-tracking-in-ccx)

Learn about trace context tracking in CCX. Discover how it maps users to API channels, ensuring conversation continuity. Understand its 30-minute TTL for efficient request routing.

- Tags: deep-dive
- Published: 2026-05-29

### [How to Configure Metrics Persistence and Retention in CCX: Complete Guide](/BenedictKing/ccx/how-to-configure-metrics-persistence-and-retention-in-ccx)

Learn to configure metrics persistence and retention in CCX. Enable SQLite storage and set retention days easily with environment variables. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-05-29

### [Can CCX Persist Metrics to SQLite? Implementation Guide and Configuration](/BenedictKing/ccx/can-ccx-persist-metrics-to-sqlite)

Yes CCX can persist metrics to SQLite using SQLiteStore. Learn how to configure retention periods, WAL mode, and automatic schema migrations in this implementation guide.

- Tags: how-to-guide
- Published: 2026-05-29

### [How CCX Messages, Chat, Responses, Gemini, and Images Channels Differ: Protocol & Implementation Guide](/BenedictKing/ccx/how-are-messages-chat-responses-gemini-and-images-channels-different-in-ccx)

Understand CCX channel differences: Messages, Chat, Responses, Gemini, and Images. Explore distinct API protocols, authentication, and Go handler implementations for seamless integration.

- Tags: protocol-implementation-guide
- Published: 2026-05-29

### [CCX Channel Types: The Complete Guide to AI Gateway Abstractions in BenedictKing/ccx](/BenedictKing/ccx/what-are-the-different-channel-types-supported-by-ccx)

Explore CCX channel types: messages, chat, responses, gemini, and images. Understand AI gateway abstractions in BenedictKing/ccx with this comprehensive guide.

- Tags: deep-dive
- Published: 2026-05-29

### [What is PROXYACCESSKEY in CCX? Secure Proxy Authentication Explained](/BenedictKing/ccx/what-is-proxy-access-key-in-ccx)

Understand PROXYACCESSKEY in CCX. Learn how this environment variable secures your proxy layer and authorizes requests to downstream AI endpoints using API keys and bearer tokens.

- Tags: how-to-guide
- Published: 2026-05-29

### [How to Set Up Dual-Key Authentication in CCX: PROXY_ACCESS_KEY vs ADMIN_ACCESS_KEY](/BenedictKing/ccx/how-to-set-up-dual-key-authentication-in-ccx)

Learn to set up dual-key authentication in CCX using PROXY_ACCESS_KEY and ADMIN_ACCESS_KEY for distinct proxy and admin access control. Secure your CCX environment effectively.

- Tags: how-to-guide
- Published: 2026-05-29

### [How to Configure Route Prefixes for Channel Routing in CCX](/BenedictKing/ccx/how-to-configure-route-prefixes-for-channel-routing-in-ccx)

Learn to configure route prefixes for channel routing in CCX. Isolate traffic and enable multi-tenancy on a single backend instance by matching URL path segments to channel route prefixes.

- Tags: how-to-guide
- Published: 2026-05-29

### [CCX Circuit Breaker Implementation: Protecting Upstream AI APIs with Per-Key Failure Isolation](/BenedictKing/ccx/what-is-ccx-circuit-breaker-implementation)

Discover CCX circuit breaker implementation in Go. Isolate failing AI API keys with per-key failure protection, automatic circuit opening, and safe traffic restoration via exponential backoff.

- Tags: deep-dive
- Published: 2026-05-29

