How to hand the same task to Claude Code and Codex in separate worktrees with Orca
Orca is an open-source desktop app for running several CLI agents such as Claude Code and Codex side by side. Each task gets its own git worktree, so agents never touch the same files, and each agent runs on the subscription you already have. Version 1.4.229 shipped on October 17 and the repo is on GitHub Trending.
- Install it. On macOS use Homebrew; for Windows and Linux, download from the official site.
brew install --cask stablyai/orca/orca
On first launch Orca offers to import your ~/.claude and ~/.codex settings. Then add a repo.
-
Create three worktrees from the same start-from ref, named like
fix-bug,fix-bug-2,fix-bug-3. If you pick an agent when creating a worktree, it opens as the first tab. -
Launch a different agent in each, for example Claude Code, Codex and Cursor CLI. Paste the same prompt into all three and drag tabs to the edges to split panes so you can watch them work on one screen.
-
When they finish, compare each worktree's diff. Different agents make different mistakes: where all three agree the answer is probably right, and where they split you've found the hard part. On the winner, use Annotate AI Diff to leave line comments and send them back to the agent. Commit, push and open the PR from that worktree.
-
Delete the other two. One click removes both the worktree directory and its branch.
A new worktree is a clean checkout, so gitignored things like node_modules or .env are missing. List large rebuildable directories in orca.yaml at the repo root to share them, and list files each worktree should own in .worktreeinclude to have them copied.
# orca.yaml (repo root)
worktree:
sharedDirectories:
- node_modules
- .cache
# .worktreeinclude (repo root)
.env
.env.local
.vscode/settings.json
.worktreeinclude takes literal paths only; globs and negation are skipped.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.