Your First 5-Minute 3-Way Parallel Run
Go from adding a repo (`origin/main`) to racing 3 marine-named worktrees across Claude Code, Codex, and Gemini, reviewing diffs, shipping 1 PR, and managing 3x quota burn.
🎯 Goal
- Complete Orca's core 5-minute loop: Add Repo → Spawn 3 Worktrees → Run 3 Agents in Parallel → Compare Diffs → Ship 1 Winning PR.
- Keep multi-agent costs predictable using Orca's usage & rate-limit tracking (80% warning chips), Codex account hot-swapping, and agent hibernation.
📋 Prerequisites
- Orca installed and at least 1–3 CLI agents authenticated from Install Orca, Network Proxies & Agent Setup. Even with a single subscription (e.g., Claude Code only), you can still run 3 worktrees in parallel on separate subtasks or prompt variations.
- A local Git repository with a clean remote
origin/main(or primary base branch) and a runnable test command.
🛠️ Step-by-Step
Add Your Repository & Verify base ref
Click Add Repository in Orca's sidebar and select your local repo folder.
Inspect the repository's base ref (defaults to origin/main):
base refsets the default comparison baseline for diffs and the target branch for new pull requests.- If your repository uses
masterordevelopas its main integration branch, updatebase refonce in repository settings.
Spawn 3 Isolated Worktrees (Blank Names Auto-Pick Marine Creatures!)
Click the + icon next to your repository 3 times to create three separate worktrees:
- Racing multiple approaches on one bug: Leave the name field blank and hit Enter! Orca automatically names blank worktrees after marine creatures (e.g.,
narwhal,beluga,mantaray), letting you spin up parallel experiments with zero naming friction. - Splitting distinct subtasks: Type concise task slugs such as
feat-oauth-pkce,fix-checkout-race, andui-pricing-grid.
Each worktree is backed by its own Git branch and isolated directory on disk.
Launch 3 Agents with a Verifiable Prompt
Open each worktree and start a different agent (for example Claude Code, Codex, and Gemini CLI), giving them clear boundaries and an automated check:
Goal: Fix the double-charge race condition during concurrent checkout submits.
Constraints:
1. Keep changes scoped to checkout and order locking logic.
2. Add a unit test that reproduces the race and proves the lock holds.
3. Run the test suite until green and summarize modified files + edge cases.Pro Tip: Always Include a Concrete Test Command
Parallel agents under Yolo mode perform dramatically better when your prompt names the exact verification command (npm test, pytest, npx tsc --noEmit). Agents catch and repair most compilation or test regressions on their own before asking for review.
Cost & Quota Reality Check: Taming ~3× Token Burn
Cost & Quota Warning: 3 Parallel Agents = ~3× Token & Rate-Limit Burn
Running three autonomous agents concurrently burns roughly 3× the tokens and rate-limit capacity in the same wall-clock window. Never blindly fan out 5–6 open-ended runs on massive contexts without watching your quota meters.
Orca gives you three practical safeguards right in the UI:
- Usage & Rate-Limit Tracking (with 80% Warning Chips)
The status bar tracks 5-hour, daily, and weekly usage windows across Claude, Codex, Gemini, OpenCode, Kimi, MiniMax, Cursor, and GLM. When any provider crosses 80% consumption, Orca surfaces an 80% warning chip so you can pause or shift workloads before hitting a hard wall. - Hot-Swap Codex Accounts
If you maintain multiple managed Codex accounts, you can hot-swap to another account mid-session without restarting Orca or tearing down open worktrees. - Agent Hibernation
As soon as one branch in a 3-way race heads down a dead end—or a background worktree sits idle—hibernate the agent. Hibernation preserves session history and transcript state while halting active background resource usage until you resume.
Compare Diffs Side by Side & Ship 1 Winning PR
Once your agents finish:
- Click through the 3 worktrees and open each Diff Viewer to compare touched lines, architectural cleanliness, and test results.
- Pick the strongest candidate (for instance, Worktree 2), review the final diff, commit, push, and open your Pull Request.
- Clean up the two losing worktrees so your sidebar and disk stay lean.
⚠️ Common Pitfalls
- Vague prompts across 3 branches waste 3× quota
Prompts like"Improve authentication"cause three agents to rewrite 30 files in incompatible ways. Lock down scope and test criteria before hitting Enter. - Ignoring the
80%warning chip until all 3 agents stall mid-edit
When the 80% warning appears, hibernate lower-priority branches, switch to another provider, or hot-swap Codex accounts proactively. - Running
npm run devon port:3000in all 3 worktrees
Only the first server binds:3000; the other two crash withEADDRINUSEor trick you into previewing the wrong branch. We fix this—along with missingnode_modules,.envfiles, and shared databases—in the very next guide.
✅ Checklist & Next Steps
- Repository added to Orca with the right
base ref(e.g.,origin/main). - Created 3 parallel worktrees (including blank-name marine-creature auto-naming).
- Verified usage/rate-limit windows in Orca's status bar and located hibernation controls.
- Shipped 1 winning diff/PR and cleaned up losing branches.
Next: Worktree Isolation & The 4 Real Pitfalls
Includes our interactive Workspace Simulator! Fix missing dependencies, gitignored .env files, port collisions, and shared database state.
Up Next: Splits, Keyboard Navigation & Multi-Worktree Flow
Navigate 10+ active worktrees effortlessly with Quick Open (Cmd/Ctrl-P), Jump Palette (Cmd/Ctrl-J), and the + Omnibox.
Install Orca, Network Proxies & Agent Setup
Cross-platform installation (macOS, Windows, Linux), first-launch imports, Yolo vs Manual permissions, proxy setup with NO_PROXY, and GLM-5.2 / Kimi / MiniMax notes.
Worktree Isolation & The 4 Real Pitfalls
Understand base ref vs start-from ref, Pinned worktrees, Force Delete & Preserved branches, plus concrete scripts.setup fixes for dependencies, .env files, port collisions, and shared DBs.