Recipes / Guides / Parallel coding agents

8 setups · worktrees, subagents and overnight bots

Run multiple Claude Code agents in parallel: 8 real setups

Last updated · by Thomas, editor · How we verify

These are setups people run when one coding agent at a time is too slow: several Claude Code or Codex sessions side by side, a lead agent that splits the work into pieces, or a bot that hands tasks out overnight.

What they share: a person stays in the loop, approving plans, permission prompts or merges. Every recipe links to the post, repo or doc it came from.

Which setup fits how you work

How each setup splits the work, what keeps agents from colliding, and where you step in.

Details come from each recipe's source. Setup time is shown only where the recipe states it.

Sessions side by side

You run each session yourself, one task and one worktree each, and only open the one that needs you.

A lead agent splits the work

One agent plans, hands bounded pieces to others and checks what comes back.

Bots hand out the tasks

A bot routes work to coding agents, often overnight, and reports back.

How to choose

Common questions

Can you run multiple Claude Code agents at once?

Yes. The setups here run each session in its own git worktree so agents don't edit the same files. The Claude Code team's habit is to run several sessions in parallel worktrees, each on a separate task, and start complex work in plan mode.

How many parallel agents should I run?

The Claude Code team runs 3 to 5 sessions. The limit people hit is review, not the agents: the same recipe lists too many sessions overloading your review capacity, and shared dev databases still cause interference between worktrees.

Subagents or separate sessions?

Subagents work inside one session: Orchestra gives each one only its objective, spec sections and files to touch, and the community library installs specialists you call by name. Separate sessions in worktrees suit independent tasks you review one at a time. Some setups here use both.

Does this work with Codex too?

Yes. Agent Navigator supports Claude Code and Codex CLI, and the done-when setup leads from either one and hands pieces to other models in separate worktrees.

Should parallel agents merge their own work?

Mostly not here. The night shift opens draft PRs and blocks merges with branch protection, and the front door can't merge or force push without approval. The done-when setup lets routine, easy-to-revert changes merge once CI passes, while critical ones wait for an independent review and a human merge.

Get the next money recipe. Free.

New recipes every week, plus the top 10 agent setups pack. One email, no spam.

Unsubscribe anytime. Privacy

More guides: Make money with AI agents · AI voice agent business · AI agent agency ideas · Claude Code use cases · Grok Bot use cases · Claude Code vs Codex · AI agents for small business · AI email agents · AI code review agents · Autonomous agents that made money