Lesson 08.03 · Phase 08 · Multi-Agent Systems
Handoffs between agents
A handoff passes the conversation, not a subtask: the next agent takes over talking to the user. The transfer itself is easy, a tool call. The hard part is choosing what travels with it, because the next agent knows only what you give it.
Learning objectives
- Implement handoffs as transfer tools that switch the active agent in one conversation.
- Compare three things a handoff can carry (the full history, a free-text summary, a structured payload) on questions re-asked, tokens read, and facts lost.
- Guard handoffs: allowed transitions, a required reason and payload, ping-pong detection and a handoff limit, with escalation to a human.
- Choose between handoffs and orchestrator–worker for a given problem.
Lesson 2's workers never talked to the user. They got a subtask, did it, and reported back to the orchestrator. Customer support doesn't fit that shape. A person writes in, triage figures out it's billing, billing fixes the charge, then notices the app crash and passes the person to tech support. Each step is a specialist taking over the same conversation.
Loading the full lesson…