f3router docs

English · 简体中文

Supported agents

← Back to README · Clients & coding agents

Claude Code
Claude Code
Codex CLI
Codex CLI
Gemini CLI
Gemini CLI
Cursor
Cursor
Cline
Cline
Roo Code
Roo Code
OpenCode
OpenCode
Aider
Aider
Continue
Continue
Goose
Goose
Qwen Code
Qwen Code
Kilo Code
Kilo Code
Crush
Crush
Zed
Zed
JetBrains AI
JetBrains AI
DeepSeek Harness
DeepSeek Harness
AtomCode
AtomCode
OpenClaw
OpenClaw
Hermes Agent
Hermes Agent
Pi
Pi
Reasonix
Reasonix

Every agent below talks to the same local gateway. Most configure themselves with one command; it reads your live /v1/models catalog, backs up the existing config and merges into it, so your other providers stay put:

npx f3router setup-<agent> --url http://localhost:3001 --api-key <unified-key>

Add --dry-run to see the diff first, --profile <name> to add a second entry instead of taking over the default, or --model <id> to pin a model. The Agents page in the dashboard shows the same commands with your key filled in.

Agent Setup Base URL
Claude Code setup-claude or launch root
Codex CLI setup-codex or launch-codex /v1 (Responses)
Gemini CLI manual, native wire /v1beta
Cline setup-cline /v1
Roo Code setup-roo /v1
Continue setup-continue /v1
Aider setup-aider /v1
OpenCode setup-opencode /v1
Goose setup-goose /v1
Qwen Code setup-qwen /v1 (or native /v1beta)
Kilo Code setup-kilo /v1
Crush setup-crush /v1
DeepSeek Harness setup-dsh /v1
MiMo Code setup-mimo /v1
AtomCode setup-atomcode /v1
OpenClaw setup-openclaw /v1
Hermes Agent setup-hermes /v1
Pi setup-pi /v1
Reasonix setup-reasonix /v1
Zed, JetBrains AI Ollama emulation Ollama /api
Cursor setup-cursor prints the guide public https://…/v1
Anything else setup-generic prints a ready block /v1

Claude Code takes the server root because it appends the Anthropic Messages path itself; every OpenAI-compatible agent takes the /v1 URL. Per-tool details (which file is written, where the key lives, one-shot test commands) are in Clients & coding agents.