By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
| Pattern | Shape | Good for | Watch out |
|---|---|---|---|
| Sequential | A → B → C | Pipeline of specialists | One slow step blocks everything |
| Parallel | A, B, C at once, then merge | Independent evidence gathering | Merge logic and cost spikes |
| Supervisor | One agent delegates and decides | Variable paths, shared budget | Supervisor becomes a bottleneck and a single point of failure |
Final answers lie. Traces do not. For a multi-agent run, assert on:
must_call: supervisor, researcher, critic
must_not_call: writer (not needed for this goal)
order: researcher before critic
max_steps: 8
handoff_payload: researcher -> analyst contains source ids
termination: ends with an answer, not a pending handoffThese six assertions catch the majority of multi-agent bugs: a missing specialist, a forbidden call, an inverted order, a runaway loop, a lossy handoff and a stuck run.
Key takeaways
Sequential, parallel and supervisor shapes each have a characteristic bottleneck.
Assert on the trace: required calls, forbidden calls, order, budget, handoffs, termination.
Expect handoff loops, lost context, false consensus and cost multiplication.
Start with two agents and add specialists only for observed failures.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.