Claude Code, Codex, OpenCode and Gemini CLI on one machine
You can run several agent harnesses on the same machine and the same checkout. Each is a command-line program with its own sign-in, so they don't conflict. A Quivvo machine comes with ten installed: Claude Code, Codex, Gemini CLI, OpenCode, Cursor CLI, GitHub Copilot CLI, Hermes Agent, OpenClaw, Pi and Goose. Each vendor's own cloud runs only its own harness, so one machine with all of them is how you get a second opinion, a fallback when one hits its limit, or the cheapest model that can do the job.
Why use more than one harness?
- A second opinion. One writes the change, another reviews it. A different model catches different mistakes.
- Usage limits. When one subscription runs out for the day, the work carries on in another harness, on the same files.
- Cost. A cheap model for the routine work, an expensive one for the hard part.
- A contest. Give two harnesses the same task on two copies, and keep the better result.
Running several at once is already common. Simon Willison wrote in October 2025 about engineers who start several Claude Code or Codex instances together, on one repository or on separate checkouts, and said he was "quietly starting to embrace the parallel coding agent lifestyle". His caution is that someone still has to review the output. A second harness reviewing the first is one answer to that.
What's on the machine?
| Harness | Command | With a prompt, no interface | Its sign-in is kept in |
|---|---|---|---|
| Claude Code | claude |
claude -p |
~/.claude |
| Codex | codex |
codex exec |
~/.codex |
| Gemini CLI | gemini |
gemini -p |
~/.gemini |
| OpenCode | opencode |
opencode run |
~/.local/share/opencode |
| Cursor CLI | agent |
agent -p |
~/.cursor |
| GitHub Copilot CLI | copilot |
copilot -p |
~/.copilot |
| Hermes Agent | hermes |
hermes -z |
~/.hermes |
| OpenClaw | openclaw |
openclaw agent --local -m |
~/.openclaw |
| Pi | pi |
pi -p |
~/.pi |
| Goose | goose |
goose run -t |
~/.config/goose |
Home is /data/home, on the disk that stays, so a sign-in survives stops and restarts and travels with snapshots and forks. None of them is signed in on a new machine.
The commands that take a prompt come from each vendor's docs: Claude Code's headless mode, Codex's non-interactive mode, Gemini CLI's headless mode and OpenCode's CLI reference, read on 29 November 2026.
How do I set it up?
Create a machine, send your code with its history, and open a shell:
command -v quivvo >/dev/null || npm i -g quivvo@latest
quivvo create --name work
quivvo push ./api work --include .git
quivvo ssh work
In that shell, sign in to the ones you use, once each:
claude
codex login --device-auth
opencode auth login
gemini
Each prints a link to open in the browser on your own computer, or asks for a key. New accounts get $5 of credit with a $1 card check before the first machine, which stays as credit.
How do I have one write and another review?
Hand the change to Claude Code as a run, wait for it, then hand the review to Codex in the same directory:
RUN=$(quivvo agent prompt work --cwd api -- "add rate limiting to the upload endpoint")
quivvo agent wait work "$RUN" --timeout 100
REVIEW=$(quivvo agent prompt work --provider codex --cwd api -- "review the uncommitted changes for bugs and list them")
quivvo agent wait work "$REVIEW" --timeout 100
quivvo agent result work "$REVIEW"
quivvo agent prompt drives Claude Code and Codex. agent wait exits 124 while a run is still going, so run it again. The other harnesses take a prompt through quivvo exec, with their key in --env if they aren't signed in:
quivvo exec work --cwd api --env GEMINI_API_KEY -- 'gemini -p "review the uncommitted changes for bugs and list them"'
A command that waits for its answer stops at 280 seconds. For anything longer, add --background and follow it with quivvo jobs wait.
How do I run the same task on several and compare?
Fork the machine, so each harness works on its own copy, and read the two diffs:
quivvo fork work --count 2 --name try
A=$(quivvo agent prompt try-1 --cwd api -- "make the test suite pass")
B=$(quivvo agent prompt try-2 --provider codex --cwd api -- "make the test suite pass")
quivvo agent wait try-1 "$A" --timeout 100
quivvo agent wait try-2 "$B" --timeout 100
quivvo agent result try-1 "$A" --diff
quivvo agent result try-2 "$B" --diff
A fork copies the disk, sign-ins included, and boots fresh. The Free plan runs 1 machine at a time, so running copies together needs Pro, which runs up to 25.
Do they get in each other's way?
- Not in their settings. Each keeps its own directory under home.
- On the same files, yes. Two harnesses editing one checkout at the same moment will overwrite each other. Run them one after the other, or give each a fork or a git worktree.
- In their instructions. Codex, OpenCode and Cursor CLI read
AGENTS.md, an open format used by over 60k open-source projects. Claude Code reads it too when the repository has noCLAUDE.md, from version 2.1.277, per its docs. Gemini CLI looks forGEMINI.md. Keep the rules inAGENTS.mdand have the other files point to it. - In memory. Several working at once need more than one does. If the machine runs short, give it more:
quivvo resize work --vcpus 4 --mem-mib 8192.
What does it cost?
One machine, whatever runs on it: $0.054 an hour for 2 vCPUs and 4 GiB while it runs, and only its disk while it sleeps. Used two hours on each working day, that comes to about $5 a month with its disk. Each vendor bills you for its own model, through the subscription or key you signed in with.
Can a vendor's own cloud do this?
No. Claude Code's cloud sessions run Claude Code, and Codex cloud runs Codex. Both are included in their plans and worth using for what they do: see Claude Code in the cloud and a Codex cloud alternative. OpenCode has no cloud of its own: see OpenCode in the cloud.
Give your agent a computer
npx quivvo@latest sh