Skip to content

Agents

Kestrel does not have an agent of its own. It runs the coding agents you already use, each through its own official interface, and gives them one shared workspace. Three are supported:

  • Claude Code
  • Codex
  • OpenCode

Kestrel never asks for an API key. Each agent uses its own sign-in on your Mac, and Kestrel never sees a password, a token or a key.

There is nothing to install: Kestrel includes Claude Code.

If Claude is not signed in, choose Sign in (see Signing in from Kestrel). If you already use the claude command in a terminal and are signed in there, Kestrel uses that sign-in.

The Claude desktop app’s sign-in is separate and does not count: signing in to the desktop app does not sign Kestrel in.

Install the Codex command:

Terminal window
npm install -g @openai/codex

Then choose Sign in in Kestrel, or run codex login in a terminal. Codex signs in with your ChatGPT account or an API key of your own.

Install the OpenCode command and connect a model provider:

Terminal window
brew install opencode
opencode auth login

OpenCode counts as ready once it has at least one model provider it can use. It chooses among many providers in a prompt of its own, so it is signed in from a terminal, not from Kestrel.

When Claude or Codex is not signed in, Kestrel shows a Sign in button in three places: in the first-run setup, on the agent’s row in Settings → Connections, and under a message that failed because the agent was not signed in.

The button opens the agent’s own sign-in page in your browser. If the page gives you a code, paste it into the field Kestrel shows. When you are done, Kestrel checks again and tells you the agent is ready.

The sign-in belongs to the agent and is kept where the agent keeps it.

Settings → Connections lists Claude, Codex and OpenCode with one of:

StatusMeaning
ConnectedReady to start a session
Not installedKestrel could not find the agent’s command
Not signed inThe command is there, but it has no sign-in it can use
UnavailableSomething else is wrong; hover over the status for the reason

A row that says Not signed in has a Sign in button for Claude and Codex. After installing or signing in, the status updates the next time Kestrel checks.

For new sessions. In Settings → General, New sessions start with is either the last agent you used or a fixed choice of agent, model and effort.

Model presets. In Settings → Models & roles, a preset is a named combination of agent, model and effort, such as Codex · High. Presets are what roles point at.

Roles. Also in Settings → Models & roles, you give each kind of work (design, build, review, orchestrating) its own preset, and Kestrel routes each part of a task to the right one. See The right model for each job.

The three agents do not offer the same controls, and Kestrel can only pass on what each one has.

Claude CodeCodexOpenCode
Kestrel can refuse an action and tell the agent whyYesPartly: Kestrel declines, then tells Codex why in a follow-upYes
Commands the agent itself considers safeRun without askingRun without askingAsk when they reach outside the session’s folder
Sandbox for shell commandsThe macOS sandbox, set by KestrelCodex’s own sandboxNone

Two things follow from this:

  • In Auto, Codex can make a change inside its sandbox without asking. If that change breaks one of Kestrel’s rules, Kestrel can only tell you afterwards.
  • OpenCode has no sandbox, so its commands are checked only when OpenCode itself notices them leaving the session’s folder.

The session header warns you with Kestrel tools missing if an agent started without the tools Kestrel gives it.