When should you use it?
- A job splits into independent chunks
- You want to compare several implementations
- Your agent tool can run parallel sessions
Not for: Tightly coupled changes in one file; Small fixes
What do you need, and what do you get?
You need
- Task description
- Rules for splitting
- Tests to judge each result
You get
- Plan of independent pieces
- Child agent results
- Combined or chosen result
How does it work, step by step?
- Ask questions firstHave the lead agent ask you about anything unclear before it starts.
- Split the workLet it break the task into independent pieces with small, precise scopes.
- Write child promptsHave the lead agent write each child's prompt.
- Run in parallelStart the children and let each test its own piece.
- CombineHave the lead agent merge or compare the results, then review the final diff.
The prompt
Our own prompt, inspired by Jared Zoneraich (@imjaredz) and written to work in Custom agent. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Break this task into independent pieces that can be worked on in parallel: {task}. First, ask me any questions needed to remove ambiguity.
For each piece, write a precise prompt for a separate agent, including its tests. After the pieces return, combine them, run all tests and list conflicts for me to review.Inspired by Jared Zoneraich (@imjaredz): Since I joined @cognition I've been obsessed with learning how our eng team uses Devin themselves. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Parallel work costs more; set a budget.
- Merging conflicting pieces can take longer than doing it once.
- More agents means more output to review; do not skip review.
Our take
Fan-out changes the math of exploration. When trying five implementations costs barely more wall time than trying one, you can pick the best on evidence instead of committing to the first plausible design. The examples Jared Zoneraich gives also show where it fits: log analysis and migrations break naturally into independent chunks, while tightly coupled refactors do not. The practical work is in the split and the merge. Ask the lead agent to state the interface each child must respect before any code is written, so the pieces fit, and give every child a test it must pass rather than a vague goal. Judge the results by those tests and a short summary from each child, otherwise reviewing ten diffs erases the time saved. Watch spend closely, because parallel agents multiply token costs as fast as they cut hours. And weigh the source: the author works at Cognition, so these are an insider's practice notes from a well-funded team, useful as patterns but not an independent measure of results. Merges to main stay with an engineer.
Where the time goes back: Large jobs finish faster and you can pick the best of several attempts.
FAQ
Why does it help?
Can I compare designs?
Source and credit
Inspired by Jared Zoneraich (@imjaredz). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Since I joined @cognition I've been obsessed with learning how our eng team uses Devin themselves
- Creator
- Jared Zoneraich (@imjaredz)
- Published on
- X
- Original date
- Jun 19, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.