Skip to content

Agent Backends

Supported Backends

BackendIntegration Method
Claude CodeClaude Agent SDK (spawn subprocess)
CodexApp-Server (HTTP streaming) + CLI fallback
OpenCodeHTTP 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'