Agent Backends
Supported Backends
| Backend | Integration Method |
|---|---|
| Claude Code | Claude Agent SDK (spawn subprocess) |
| Codex | App-Server (HTTP streaming) + CLI fallback |
| OpenCode | HTTP API (:4096) + client-side turn loop |
Unified Proxy (:18899)
All backends route through a single Anthropic-compatible proxy port.
- Claude requests → direct OpenAI format conversion → upstream
- Codex requests →
handleCodexRequest()imported into anthropic-proxy process.env.ANTHROPIC_BASE_URL = 'http://localhost:18899'