Skip to content
rev0Docs

Run Codex or Cursor instead of Claude Code

rev0 drives Claude Code by default. It can drive the OpenAI Codex CLI or the Cursor CLI instead, per ticket or for the whole board; this page shows how, and what each engine does differently.

Install the CLI on the machine the board runs on:

  • Codex: npm install -g @openai/codex. It signs in with your ChatGPT or Codex subscription; the board wires up no API key.
  • Cursor: run Cursor’s installer, curl https://cursor.com/install -fsS | bash, which puts the agent command on your PATH.
  • Gemini: run the Antigravity installer, curl -fsSL https://antigravity.google/cli/install.sh | bash, which installs the agy command, then run agy once in a terminal and sign in with your Google account. The board cannot drive this sign in; Settings > Engine accounts > Gemini auth only shows whether it is done.
  • Mistral Vibe: click Install in Settings > Engine accounts > Mistral Vibe auth, or run uv tool install mistral-vibe, then run vibe once in a terminal and sign in with your Mistral account (a Le Chat Pro plan works). A MISTRAL_API_KEY in the board’s environment also works. The panel shows which one Vibe uses.
  1. Open Settings > Engine accounts. There is one panel per engine: Claude auth, Codex auth and Cursor auth.
  2. In Codex auth (or Cursor auth), click Sign in.
  3. Click Open the Codex authorize page and approve the sign in.
  4. On the board’s own machine, the panel finishes by itself. From another device you land on a localhost page that cannot load: copy that whole address, paste it into Callback URL, and click Submit.

Result: the panel reads Signed in as your account, and any ticket that parked because the CLI was signed out goes back to To Do. The setup wizard’s AI engines screen has the same sign in. Signing in from a terminal (codex login, agent login) works too.

  1. On the Create ticket form, or in an open ticket’s toolbar, open Model.
  2. Pick a GPT model to run on Codex, a model marked (Cursor) to run on Cursor, or one marked (Antigravity) to run on Gemini, or one marked (Mistral Vibe) to run on Mistral Vibe.

Result: the ticket runs on that engine. The engine follows the model: an id starting with gpt- or codex- runs on Codex, one starting with cursor/ runs on Cursor, one starting with agy/ runs on Gemini, one starting with vibe/ runs on Mistral Vibe, and the rest run on Claude Code. No separate engine setting is needed.

  1. Open Settings > Models & runs.
  2. In Default model, pick a GPT model or a (Cursor) model.
  3. Click Save changes.

Result: every ticket with no model of its own runs on that engine.

Auto-update the agent CLIs, in Settings > Models & runs, is on by default. When the board starts, and every 6 hours after, it updates Claude Code, Codex, Cursor and Antigravity with each CLI’s own updater, and installs Cursor’s agent CLI if it is missing. When a CLI moves to a new version, the bell says so (for example Codex CLI auto-updated from v1.2.0 to v1.3.0.) with View changelog.

To turn it off, clear Auto-update the agent CLIs and click Save changes. Mute notification kinds in Settings > General silences the bell notice (An agent CLI was updated).

  • The permission gate still applies. The board drives codex app-server, the Codex transport with an approval channel, so a Codex ticket gets the same permission cards, grants and containment as a Claude one. An implementing run may edit inside its worktree; anything that leaves it or touches the network escalates to the permission gate, and a plan run is read-only. REV0_CODEX_TRANSPORT=exec switches to the older transport, which the board cannot check, as an escape hatch.
  • It reads its own MCP servers. A Codex run sees the board’s MCP server entries but not your Claude servers or account connectors; it reads ~/.codex/config.toml instead. See When a tool works in Claude Code but not for the agent.
  • No plugin tools. A Codex run sees a trusted plugin’s hooks but not the tools it publishes.
  • Its own thinking levels. Codex adds minimal and ultra to the shared levels; a level its model does not support is clamped down.
  • The board’s MCP list does not reach it. Cursor finds MCP servers in its own configuration, so the board’s MCP server entries, including the board’s own tools, are not available to the run. The ticket’s timeline says so at the start of such a run.
  • Plan runs are read only. A plan mode ticket runs Cursor in its ask mode, which cannot edit files; an implementing run can.
  • No commands, skills or thinking levels. A Command ticket (a /skill) cannot run on Cursor, the CLI has no skills, and the ticket’s thinking level is ignored.

The Gemini engine drives the Antigravity CLI, agy. Google’s own gemini CLI refuses a personal Google sign in, so it is not used.

  • The permission gate applies. Antigravity runs a hook before every tool call, and the board installs one for the length of the run, next to the MCP plugin below. Each call waits for the board’s answer, so a Gemini ticket gets the same permission cards, grants, banned tools and worktree containment as a Claude one. The hook fails closed: if the board does not answer, the call is refused, and if a tool ever runs without the board having been asked, the run stops with an error that names the tool. Typing into a command that is already running is always refused.
  • The permission gate is a file in the run’s folder. It lives in .agents/plugins/rev0/hooks.json. The board refuses an edit to that folder, but it is not out of the agent’s reach the way Claude’s in-process check is.
  • It needs Antigravity CLI 1.2 or newer. Older versions print only the final answer and the run fails. Auto-update the agent CLIs keeps it current.
  • The timeline shows tool calls and token usage, but no thinking. Antigravity prints the answer and the tool calls only: while the model thinks it prints nothing at all, for any model it serves. The CLI reports no dollar cost, so the ticket’s cost is estimated from the tokens.
  • The board’s MCP servers reach it for the length of the run. Antigravity has no option for this, so the board writes them as a plugin in .agents/plugins/rev0/ inside the run’s working folder and deletes it when the run ends. The folder ignores itself, so it never shows up in a commit. Your own ~/.gemini/config/mcp_config.json is not touched, and its servers stay available to the run as well. Only stdio and streamable HTTP servers are passed on: Antigravity cannot run an SSE server or a plugin tool, and the run’s Engine parity note names any it left out.
  • Plan runs are read only. The board refuses every file tool of a plan run and turns on Antigravity’s terminal sandbox, where a command that writes into the worktree fails. The board’s plan tools still work. The sandbox leaves /tmp writable, and the run’s Engine parity note says so. Antigravity’s own plan mode is not used: it approves its plan and carries on editing when nobody is there to ask.
  • Every Antigravity model is listed. That includes the Claude and GPT-OSS models it serves; they run through agy, on your Google subscription.
  • A thinking level picks the model variant. Antigravity ships each level as its own model, for example Gemini 3.1 Pro (High) and (Low). The board lists Gemini 3.1 Pro once and the ticket’s thinking level chooses the variant, stepping down to the nearest one the model has. With no level set, a run uses medium when the model has it, otherwise its highest.
  • Skills work, through the run’s plugin. Antigravity does not read ~/.agents/skills, where the board installs its skills, so each run links them into .agents/plugins/rev0/skills/ and removes the links when it ends. The model sees a skill as rev0:<name>. The list follows the same per-mode narrowing as Claude Code, and a skill picked in the composer or run by a command ticket is linked even when the list leaves it out.
  • A command ticket runs when its command is a skill. /dependency-audit runs. A command that only exists inside Claude Code, such as /code-review or /review, has nothing to expand on Antigravity, so the board refuses that ticket and asks you to switch it to a Claude model.
  • The finished-or-blocked check works. When a run ends without finishing or asking, the board asks the same Antigravity conversation which state the work is in, in one turn where every tool is refused.
  • The board does not compact a Gemini conversation. The Token saver setting does not apply: Antigravity has no command for it in a run. Its changelog says it summarises a long conversation by itself near the model’s context window; that has not been observed on a board run, so treat a very long Gemini ticket with care.
  • A weekly limit resumes by itself. Antigravity reports its limit as a wait, for example “Resets in 165h29m12s”, and the board resumes the ticket after it. Gemini models and the Claude and GPT models Antigravity serves have separate limits.
  • No stall watchdog. Antigravity is silent while the model thinks, so the board cannot tell a slow answer from a dead request and never cuts a Gemini run for silence. A request that fails ends the run with Antigravity’s own error.

Each engine is compared side by side in What an agent sees and can do.

Run Gemini models through the Antigravity ACP agent

Section titled “Run Gemini models through the Antigravity ACP agent”

This is optional. Google publishes a second program, the Antigravity ACP agent (agy_acp_server.par), that speaks the Agent Client Protocol. It adds one thing: the agent asks the board before each edit, command and tool call, so a Gemini run no longer needs agy’s skip-permissions flag. Once it is installed and signed in, a ticket on a Gemini model runs through it instead of agy. Each run uses one of the two, never both, and the board chooses when the run starts:

The ticket’s modelThe ACP agentWhat runs
A Gemini modelInstalled and signed inThe ACP agent
A Gemini modelNot installed, signed out, or turned offagy, as described above
A Claude or GPT-OSS modelEitheragy, always: the ACP agent serves Gemini models only

A ticket that was started on one stays on it when it resumes, because the two do not share conversations. A run whose message starts with a skill, such as a command ticket, also runs on agy, which is the one that expands skills.

You need no terminal and no .env change. The same two steps are in the setup wizard’s AI engines screen.

  1. Open Settings > Engine accounts > Gemini auth. Under Antigravity ACP agent auth, click Install. The board downloads Google’s archive for your machine (about 110 MB, 400 MB unpacked) from the address in the ACP registry entry, and refuses an address outside dl.google.com. The panel then shows the version and what was checked. On macOS the board checks that both files carry Google LLC’s Apple Developer ID signature (team EQHXZ8M8AV) and installs nothing if they do not. The registry publishes no checksum, so none is compared, and on Linux there is no signature check at all.
  2. Click Sign in. The ACP agent has its own Google sign in, separate from agy’s. Open the link the panel shows and approve. On the machine the board runs on, the panel turns to signed in by itself. From another device you land on a 127.0.0.1 page that cannot load: paste that whole address into the panel. You have five minutes, which is the agent’s own limit. After that the panel shows the agent’s error and you click Sign in again.

The panel shows the ACP agent’s sign in separately from the Gemini panel, which is about agy. The board asks the agent itself whether it is signed in. It never reads the credential, which the agent keeps in the system keychain.

The first time a ticket runs on a Gemini model without the ACP agent ready, the run uses agy as before and the ticket gets one note that points here.

  • To update it, click Reinstall. The agent has no updater and the board does not update it for you. Compare the version in the panel with the one in the registry entry.
  • To stop using it, turn off Run Gemini models through the Antigravity ACP agent in Settings > Models & runs, or click Remove. Either way Gemini runs go back to agy.
  • Where it lives. ~/.cache/rev0/antigravity-acp/. It is a cache: if the folder is deleted, the panel says “not installed”, Gemini runs use agy, and Install brings it back. Your sign in is not in that folder and survives.

Use this when the board’s machine cannot reach GitHub or dl.google.com, or when you want to manage the copy yourself.

  1. Download the archive for your machine from the registry entry above and unzip it. Keep agy_acp_server.par and localharness_external in the same folder. On macOS check the signature before the first launch: codesign -dv --verbose=2 agy_acp_server.par should name Google LLC.
  2. Set REV0_AGY_ACP_BIN to the full path of agy_acp_server.par in ~/.rev0/.env and restart the board. A copy named this way is used in place of the one the board installed, and the panel says the board did not check it.
  3. Sign in from the panel as above.

What changes on a run that goes through the ACP agent:

  • Approvals come from the protocol. The agent asks the board before each file edit, each command and each MCP tool call, and waits. No hook file is written into the run’s folder. A request the board cannot read, or does not answer, is a refusal. The agent learns only that the call was rejected, not the board’s reason.
  • A read is not asked about. The agent reads files without asking, so a rule that bans reading has no effect. It refuses by itself to read outside the run’s folder.
  • MCP servers are passed in the session. Nothing is written to .agents/plugins/rev0/.
  • Plan runs are read only. There is no read-only mode in the agent, so the board refuses every edit and leaves each command to the permission gate.
  • Rules files are added by the board. The agent loads no AGENTS.md or GEMINI.md. The board puts the worktree’s AGENTS.md and GEMINI.md and your ~/.gemini/GEMINI.md at the top of the first message of a conversation, up to 20,000 characters each.
  • No token counts and no cost. The agent reports only how full the context is. The ticket’s context gauge works; its token and cost totals for these runs stay at zero.
  • Its limit is separate from agy’s. On one account, agy answered “Individual quota reached” for a model the ACP agent was still serving. How the ACP agent reports its own limit has not been seen yet: such a run fails with the agent’s message, and whether the board can resume it by itself is not known.
  • The agent’s own questions are declined. It has the board’s question tool for that.
  • Linux is untested. The board starts it with --uid= there, as the registry says. If it does not start, the run goes through agy and the run’s log says why.
  • Every tool call, MCP tools included, asks the board’s permission gate before it runs. Vibe writes to its own scratchpad folder without asking.
  • The models are Vibe’s default, mistral-medium-3.5, plus every [[models]] alias in ~/.vibe/config.toml. No thinking level is offered.
  • Vibe runs stdio and streamable http MCP servers; an SSE server is left out of the run.
  • A Mistral rate limit, a spent plan included, is retried and then parks the ticket.

Cursor CLI is not logged in; sign in from Settings

Section titled “Cursor CLI is not logged in; sign in from Settings”

The agent CLI is signed out. In Settings > Engine accounts > Cursor auth, click Sign in. The Codex and Claude runs fail the same way when their CLI is signed out: sign in from their panel.

Cursor engine selected but the agent CLI is not installed

Section titled “Cursor engine selected but the agent CLI is not installed”

The ticket’s model runs on Cursor, but there is no agent command on the board’s PATH or in ~/.local/bin. Run Cursor’s installer, or pick a model for another engine.

Gemini engine selected but the agy CLI is not installed

Section titled “Gemini engine selected but the agy CLI is not installed”

The ticket’s model runs on Gemini, but there is no agy command on the board’s PATH or in ~/.local/bin. Run the Antigravity installer, or pick a model for another engine.

Mistral Vibe engine selected but vibe-acp is not installed

Section titled “Mistral Vibe engine selected but vibe-acp is not installed”

The ticket’s model runs on Mistral Vibe, but there is no vibe-acp command on the board’s PATH or in ~/.local/bin. Click Install in Mistral Vibe auth, or pick a model for another engine.

The login process stopped before it finished

Section titled “The login process stopped before it finished”

The CLI’s sign in exited before you approved it, or printed no authorize link within 20 seconds. Open Login process output in the panel to read why, then click Sign in again.