Agents
Handoffs
One agent transfers the conversation to another specialist agent.
What it is and why it exists
A triage agent decides which specialist should handle a request (billing, tech support) and hands off control along with the relevant context. Simpler than full orchestration; the key design question is what context travels with the handoff.
Quick prototype
Router prompt picks a specialist prompt.
In production, at scale
Handoffs as tool calls with typed payloads (reason, summary, IDs), a path back to triage, a human handoff as one of the destinations, and tracing that shows the chain.
Vendors and tools
| OpenAI Agents SDK | First-class handoffs |
|---|---|
| LangGraph Command / swarm | Control transfer between agents |
How it fails
- Ping-pong between two agents
- Context lost in the handoff so the user repeats themselves
What the interviewer asks next
What goes into a handoff payload?
Why it’s being handed off, a summary of what happened, the identifiers in play and what the user wants next — not the whole raw transcript if it can be avoided.