Connect a coding agent
Start with a router that can complete a request. The client guides use two environment variables from the quickstart. DODO_ROUTER_URL is the router root, such as https://api.dodorouter.com/r/my-agent. DODO_ROUTER_API_KEY holds an active key for that router. Set up and verify your router.
| Client | API format | Base URL |
|---|---|---|
| Claude Code | Anthropic Messages | Router root |
| Codex CLI | OpenAI Responses | Router root + /v1 |
| OpenCode | OpenAI Chat Completions | Router root + /v1 |
| Forge | OpenAI Chat Completions | Router root + /v1 |
The routing chain chooses the provider and model for each call. To let an agent inspect logs or run evaluations, connect it to DodoRouter's MCP server using OAuth. Agent access.