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
- Do you need a team? Workflow, single agent or several (20 min) - intermediate
- The Agent SDK runs the loop for you (30 min) - intermediate
- A triage team: coordinator and three specialists (30 min) - intermediate
- Forty red tests: splitting the work without gaps or overlaps (30 min) - advanced
- Each agent its own brief and toolbox (25 min) - intermediate
- Hand-offs as contracts (25 min) - intermediate
- When agents disagree (25 min) - advanced
- When a subagent fails (25 min) - advanced
- Quiz: teams of agents (15 min) - intermediate
Lessons (9)
1
Do You Need a Team? Workflow, Single Agent or Several
2
The Agent SDK Runs the Loop for You
3
A Triage Team: Coordinator and Three Specialists
4
Forty Red Tests: Splitting the Work without Gaps or Overlaps
5
Each Agent Its Own Brief and Toolbox
6
Hand-offs as Contracts
7
When Agents Disagree
8
When a Subagent Fails
9
Quiz: Teams of Agents