slug: quickstart
Quickstart
Get Open Agent Router running in three steps: install, start the backend, point your agent at it. Pick the mode that matches your machine.
1. Install
OAR ships in two modes that share the same backend — choose one.
Desktop mode (macOS / Linux / Windows)
Download the installer for your platform from the Download page. The desktop build bundles its own oar binary — no separate Node.js install required.
On first launch the app runs oar init --from-app to sync bundled resources into ~/.open-agent-router/, then starts the backend service. The app lives in your system tray:
- Closing the window hides to tray — the backend keeps running.
- Enable Auto-start in Settings (or via the tray menu) to launch OAR at login (launchd on macOS, equivalent autostart entries elsewhere).
- Updates arrive through the R2 CDN channel and prompt you from the tray.
CLI mode (headless / servers / automation)
Install the standalone oar binary with the one-liner:
Already installed? Run oar update to check for and apply the latest release.
2. Start the backend
Desktop mode — just open the app. The backend starts automatically and the Web UI opens at http://127.0.0.1:26969.
CLI mode — start the long-lived service:
Check that it's up:
Both the admin Web UI (/api/*) and the agent proxy share :26969. Change the port with the OAR_PROXY_PORT environment variable. Use oar stop to shut the backend down and oar restart to reload config.
On first launch — desktop or CLI — OAR can scan your local agent config files (Hermes, Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI) and pre-create platform instances with their API keys. Review the discovered entries and confirm — no manual entry required. See the Supported Agents page for the full list of scan paths.
3. Point your agent at OAR
Configure your agent's base_url to a project route. For Claude Code:
That's it. The base_url never changes again — switching groups or models happens in OAR, not in the agent's config file.
Configure a route in the Web UI
- Open
http://127.0.0.1:26969(in desktop mode, just focus the app window). - Platforms → Add account — pick a vendor preset (DeepSeek, OpenAI, Anthropic, Volcano Engine, SiliconFlow, MiniMax…) or enter a custom base_url + API key.
- Models → Sync — pull the live model list from
/v1/models. - Groups → New group — add the models you want pooled together (you can mix protocols and platforms).
- Agents → Edit — set the default group for each agent.
- Projects → New project route — bind a project name to an agent + group. The project's base_url becomes
http://127.0.0.1:26969/project/<name>.
Verify
Send a test request through the proxy:
Watch the request appear in Logs and the routing flow in Routing Topology.
Next, read the Core Concepts to understand platforms, models, groups, agents and projects.