Skip to main content
Module 5 of 8

From one agent to a team

Why: More agents are not automatically better. They cost more, fail in new ways and can contradict each other. The architect’s job is to know when a team is worth it, and to make every hand-off as testable as an API.

You start by asking whether TestPilot needs a team at all, let the Agent SDK run the loop for you, and then build a triage team for a whole red pipeline: a coordinator, a flaky-test analyst, a root-cause investigator and a bug writer. Each gets its own brief and toolbox and hands back a structured result, and the coordinator decides what to do when they disagree or fail.

Lessons

  1. Do you need a team? Workflow, single agent or several (20 min) - intermediate
  2. The Agent SDK runs the loop for you (30 min) - intermediate
  3. A triage team: coordinator and three specialists (30 min) - intermediate
  4. Forty red tests: splitting the work without gaps or overlaps (30 min) - advanced
  5. Each agent its own brief and toolbox (25 min) - intermediate
  6. Hand-offs as contracts (25 min) - intermediate
  7. When agents disagree (25 min) - advanced
  8. When a subagent fails (25 min) - advanced
  9. Quiz: teams of agents (15 min) - intermediate