Translation Proxy
Automatic Anthropic-to-OpenAI protocol translation. Use Claude Code with Grok, ChatGPT, DeepSeek, Kimi, GLM, and any OpenAI-compatible provider.
Translation Proxy
Automatic Anthropic-to-OpenAI protocol translation. Use Claude Code with Grok, ChatGPT, DeepSeek, Kimi, GLM, and any OpenAI-compatible provider.
Circuit Breaker
Built-in circuit breaker with automatic failover to backup providers. Configurable thresholds and recovery timeouts keep your workflow uninterrupted.
Smart Routing
Intent-based auto-routing via local classifier. Automatically maps code, analysis, creative, search, and math tasks to the optimal provider.
Context Engine
Conversation compression, cross-profile context sharing, and local RAG with embeddings. Enhance your AI interactions with richer context.
TUI Dashboard
Real-time terminal dashboard showing profile health, request metrics, logs, and quick-launch capabilities. Full keyboard navigation.
Self-Update
One command to check and install the latest version directly from GitHub Releases. Stay up to date effortlessly.
OAuth Subscription Auth
Use your existing Claude, OpenAI, Google, Qwen, Kimi, or GitHub subscription — no API keys needed. claudex auth login reads tokens from each provider’s native CLI config.
Non-Interactive Mode
One-shot execution with claudex run <profile> "prompt" --print. Ideal for CI/CD pipelines and scripted automation.
Model Slot Mapping
Map Claude Code’s /model switcher (haiku, sonnet, opus) to any provider model via [profiles.models] config.
Tool Name Compatibility
Auto-truncates tool names longer than 64 characters for OpenAI compatibility, with transparent roundtrip restoration on responses.
curl -fsSL https://raw.githubusercontent.com/StringKe/claudex/main/install.sh | bashclaudex run grok │ ├── Start proxy → 127.0.0.1:13456 │ └── exec claude with: ANTHROPIC_BASE_URL=http://127.0.0.1:13456/proxy/grok ANTHROPIC_AUTH_TOKEN=<session-token> ANTHROPIC_MODEL=grok-3-betaThe proxy transparently translates between Anthropic and OpenAI protocols, so Claude Code works seamlessly with any supported provider. When using OAuth profiles, ANTHROPIC_AUTH_TOKEN (not ANTHROPIC_API_KEY) is set to avoid conflicts with Claude’s own subscription login.