Program 03 · Module 06 of 10
Module 06: Multi-Agent Systems and Orchestration
Decide when more than one agent is justified and how to coordinate them. You study supervisor, specialist and handoff patterns, shared state, loop prevention and orchestration, and build a supervisor with two specialists.
- Suggested study time
- 6-8 hours
- Prerequisites
- Modules 1 to 5.
Sign in to track your progress. Every lesson stays free to read without an account.
Learning outcomes
By the end of this module you will be able to:
- Judge when a multi-agent design is worth its added complexity.
- Apply supervisor, specialist and handoff patterns.
- Share state and messages between agents without losing control.
- Prevent infinite loops and unnecessary handoffs.
Lessons
- 6.1
When Multi-Agent Architecture Is Worthwhile
Compare one agent with several, learn what splitting really costs, and use a short checklist to decide whether a second agent earns its place.
35 min - 6.2
Supervisor, Specialist and Handoff Patterns
Learn the main ways to organise several agents, when each pattern fits, and why a supervisor's choice must always be checked in code.
40 min - 6.3
Shared State and Inter-Agent Communication
Pass structured messages between agents, keep one shared case record with clear field owners and append-only notes, and validate every message in code.
40 min - 6.4
Avoiding Infinite Loops and Unnecessary Agent Handoffs
Stop agents from passing a case back and forth by capping handoffs, detecting repeated routes and handing the case to a person with a logged reason.
35 min - 6.5
Orchestration, Concurrency and Task Coordination
Run specialist agents at the same time only when their work is independent and read-only, and keep shared case records safe with one owner per field, a lock or a single writer.
40 min - 6.6
Practical Lab: Build a Supervisor with Two Specialist Agents
Split your support agent into a supervisor and two specialists, limit and log every handoff in code, test it all offline with a fake model and compare it with the single agent you already built.
1 h 30 min
About 4 h 40 min of lessons in total.
Practical assignment
Practical Lab: Build a Supervisor with Two Specialist Agents
Build a supervisor that routes tasks to two specialists. Include a handoff limit and a written comparison with a single-agent design.
Deliverables
- Source code and traces for at least four tasks.
- A handoff limit enforced in code.
- A one-page comparison with a single-agent baseline covering quality and cost.
Validation checklist
Use this to check your assignment before you move on.
Knowledge check
Show the answer and explanation
Answer: B. Separate permissions and narrow toolsets are real benefits. Splitting for its own sake adds handoffs, latency and failure modes.
Show the answer and explanation
Answer: B. A counter in the orchestrator is certain. Instructions are guidance that a model can drift away from.
PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.