01Chapter 1: Starting point: how a single coding agent worksThis chapter assumes you have used an AI coding assistant in a terminal or editor. It also assumes you know what a context window and a tool call are, and that you can read short Python snippets. Later chapters add Git branches and the command line.2 min read
02Chapter 2: Why long tasks strain a single context windowThis chapter assumes you have used an AI coding agent in a terminal or editor, and that you know roughly what a context window and a tool call are. It explains the problem that subagents exist to solve.2 min read
03Chapter 3: What a subagent isThis chapter assumes you have used an AI coding agent in a terminal or editor, know what a context window and a tool call are, and can read basic Python. Later chapters cover briefs, parallelism, and verification. Here we define the term and describe the working model.2 min read
04Chapter 4: Context isolation: keeping the parent's context cleanThis chapter assumes you have used a coding agent, know that a model has a limited context window, and can read basic Python. It builds on the previous chapter's definition of a subagent. Here the focus is what isolation does and where it goes wrong.2 min read
05Chapter 5: Breaking a coding task into delegable unitsThis chapter assumes you know what a subagent is and that it starts with a fresh context. You should also be comfortable with Git branches and with reading a test run. Here you learn how to split a large coding task into pieces you can hand to subagents.3 min read
06Chapter 6: The orchestrator-worker patternThis chapter assumes you have used an AI coding agent in a terminal, know what a context window and a tool call are, and can read basic Python. It builds on the earlier chapters on what a subagent is and how to split a task into delegable units.2 min read
07Chapter 7: Writing a good delegation briefThis chapter assumes you know what a subagent is and that it starts with a fresh context. You should also be comfortable reading a short task description for a coding project.2 min read
08Chapter 8: Giving each subagent only the tools it needsThis chapter assumes you know what a subagent is, how an orchestrator hands work to one, and how tool calls work in an agent loop. It covers one design decision: which tools and permissions each subagent gets.2 min read
09Chapter 9: Running subagents in parallel or in sequenceThis chapter assumes you can read basic Python, use Git branches, and know that an agent works in a loop of tool calls inside a context window. You should also know what a subagent is and how an orchestrator hands it a brief.2 min read
10Chapter 10: Avoiding file conflicts with branches and git worktreesThis chapter assumes you know basic Git (branches, commits, merges) and the command line. It also assumes you have read the earlier chapters on the orchestrator-worker pattern and on running subagents in parallel.2 min read
11Chapter 11: Collecting and merging subagent resultsThis chapter assumes you know how an orchestrator starts subagents, what a delegation brief is, and basic Git branches. It also assumes you can read short Python.2 min read
12Chapter 12: Verifying subagent work before you trust itThis chapter assumes you can run tests and linters from the command line, read a Git diff, and understand how an orchestrator hands work to subagents. The earlier chapters on delegation briefs and result aggregation cover that background.2 min read
13Chapter 13: Handling failures, retries, and timeoutsThis chapter assumes you can read basic Python, know Git branches, and have seen the orchestrator-worker pattern from earlier chapters. Subagents fail in ordinary ways: a tool call errors, a model call hangs, or the agent finishes but did not do the work. The orchestrator must expect all three.2 min read
14Chapter 14: Cost and latency trade-offsThis chapter assumes you have read the chapters on the orchestrator-worker pattern and on parallel versus sequential execution. It also assumes you know that model usage is billed in tokens, which are the units of text a model reads and writes.2 min read
15Chapter 15: When a single agent is the better choiceThis chapter assumes you know how a coding agent loop works, what a context window is, and how subagents and the orchestrator-worker pattern fit together. Delegation has costs, and many tasks are better handled by one agent.3 min read
16Chapter 16: Tracing and reviewing multi-agent runsThis chapter assumes you have read the earlier chapters on the orchestrator-worker pattern, delegation briefs, and result aggregation. You should be comfortable reading basic Python and Git output.2 min read