<aside> 💡 This page gives you a way to run several AI agents at the same time, so one job is split into parts that work in parallel.

</aside>

The setup

How to set it up

  1. Write the goal in one paragraph, then split it into jobs that do not depend on each other.
  2. Give every job its own copy of the project, for example a separate git worktree or branch.
  3. Start one Claude Code or Codex session per job, and paste in only that job's instructions.
  4. Tell each agent what "done" looks like, such as a test passing or a file produced.
  5. Let the agents run, and check each result on its own rather than all at once.
  6. Merge the approved results one at a time, and run your checks after each merge.

<aside> ⚠️ Watch out: do not let two agents touch the same file or the same job, because their changes will clash and you will spend longer untangling them than you saved.

</aside>

Prompt to build your own

You are my project lead. I want to run several AI agents in parallel on one goal.
Goal: <describe the outcome you want>.
Tools I have: <for example Claude Code or Codex, git, a terminal>.
Where the work lives: <project or folder type, no private details>.
Do this:
1. Split the goal into <number> independent jobs that can run at the same time without touching the same files.
2. For each job, write a short brief for one agent: what to do, which files it may change, and a clear finish line I can check.
3. Tell me how to give each agent its own copy of the project, for example a separate git worktree, and the exact commands to set that up.
4. Write a review checklist I can use on each result before merging.
5. Give me the order to merge the results, and one check to run after each merge.
Constraints: keep it simple, use only the tools I listed, and flag any job that depends on another so we can run it afterwards.
Return: the job list, the briefs, the setup commands, the checklist and the merge order, in that order.

Watch the video · More free guides · Follow @manrajtalks for the next one.