Coding agents
Coder runs the coding agents you already use, on your computer, under
your own login with each one. This page covers Coder tasks started from
the Mac app, OpenAgents Terminal, the phone, or openagents chat; for
the coder terminal app, see Choose who answers.
| Agent | Order | Model when you don't name one |
|---|---|---|
| Codex | First | gpt-6.1-sol, medium reasoning |
| Claude Code | Second | claude-opus-5-5 |
| Grok Build | Third | Grok Build's own default |
| Devin CLI | Fourth | SWE-2 Medium |
| OpenCode | Fifth | The model OpenCode's own configuration names |
Every agent logged in on this computer is on, with nothing to enable. Coder tries them in order and uses the first one that is logged in and has room in its usage window. Devin CLI bills its own paid API for each run; turn it off if you don't want Coder to use it.
Log in
Each agent is logged in with its own program, on the same computer and as the same user that runs Coder:
- Install the agent's command-line program. Codex:
npm install -g @openai/codex. Claude Code:npm install -g @anthropic-ai/claude-code. OpenCode: see opencode.ai. Grok Build and Devin CLI install from their makers' own instructions. - Run it once in a terminal (for example
codex,claude, oropencode) and log in. - Check: the Mac app's sidebar and Settings → Coder say Logged in for it, and OpenAgents Terminal lists it under Agents.
Coder only checks whether each agent is logged in. It never reads or sends your login itself.
Ask for one
Name the agent in your message: "run this with Claude Code", "do it with Codex". Coder puts that agent first for the run, unless you turned it off on that computer. If it can't use it, because it isn't logged in, is turned off, or has no room right now, the start says why and names the one running instead. This works from the phone too.
In the coder terminal app, Shift+Tab and /models choose the agent
and its model; see Choose who answers. The Mac app
and OpenAgents Terminal have no model picker yet. To choose a model
there, name it in the settings (codex:MODEL, opencode:PROVIDER/MODEL);
see the settings reference.
Failover
If an agent turns Coder away during a run, Coder records it and switches to the next agent, and the chat says it switched. An agent turned away earlier is skipped until it has room again.
Turn an agent off, or change the order
Every logged-in agent is used unless you turn it off.
- Mac app: Settings → Coder → Agents Coder may run. Turn one off to keep Coder from using it. At least one stays on.
- OpenAgents Terminal:
/settings, the same switches. - Anywhere:
openagents settings disable devin(andenable devin).openagents settings set coder.providers claude,codexputs Claude Code first; agents you leave out still follow.
Delegated sessions show inside their Coder chat: when a task hands work to OpenCode or Devin CLI, that session appears as a row you can open. Separate Codex, Claude Code, OpenCode, and Devin CLI sessions aren't listed in the chat list; in the Mac app, Saved sessions shows your Codex and Claude Code sessions.
Next: Watch, steer, and stop Coder.