Choose the simplest agent team topology that works
-
MUST start with a single agent (or a fixed workflow) and add agents only when a single agent demonstrably fails on context size, parallelism or specialisation. More agents add cost, latency and coordination failures.
-
MUST choose a known topology and draw it before building:
Topology Use when Watch for Single agent + tools Most tasks Context growth (BP-0011) Pipeline (fixed sequence) Steps are known and ordered Errors passing down the chain; add gates Router Inputs fall into distinct types handled differently Misrouting; measure it Orchestrator–workers Work splits into independent sub-tasks decided at run time Duplicate or conflicting work; token cost Evaluator–optimiser Output quality can be judged against criteria Loops that never converge; cap iterations -
MUST define each role: its goal, inputs, outputs, tools and permissions, and what it must not do. Give workers only the tools their role needs (BP-0032).
-
MUST give every decision and every piece of shared state one owner (usually the orchestrator); workers propose, the owner decides (BP-0003).
-
MUST keep a human-in-the-loop step for irreversible or high-impact actions, whatever the topology.
-
SHOULD size parallelism to the work: independent, file-disjoint sub-tasks only (BP-0008); scale the number of workers to task complexity rather than a fixed number.
-
SHOULD have workers return conclusions and references, not full traces, so the orchestrator’s context stays small.
-
SHOULD use a separate reviewer role (with no stake in the output) for high-stakes work (BP-0036).
-
SHOULD measure the topology: task success, cost and time per task versus the single-agent baseline (BP-0041).
When to apply
Section titled “When to apply”Designing any system with more than one agent, or deciding whether to split one.
Examples
Section titled “Examples”Software team: orchestrator (plans, assigns, owns main) → implementer workers (one worktree each, BP-0035) → reviewer (independent) → human approves merge.
Research: orchestrator decomposes the question → parallel researcher workers each search one angle → orchestrator synthesises with citations.
Anti-patterns
Section titled “Anti-patterns”- A “team” of ten agents for a task one agent finishes.
- Peer agents with no owner, negotiating forever.
- Every worker holding every tool and credential.
- Workers pasting their whole transcript back to the orchestrator.
Checklist
Section titled “Checklist”- Single-agent baseline tried first
- Known topology chosen and drawn
- Roles defined with tools, permissions and limits
- One owner per decision and state; human gate for irreversible actions
- Topology measured against the baseline