Handoff
One agent passes the conversation to another that specializes in what comes next.
Also called Decentralized pattern, Handoff orchestration
OpenAI, Microsoft, LangChain
The problem
The right specialist becomes clear only partway through the work.
This pattern is especially effective for scenarios like conversation triage, or whenever you prefer specialized agents to fully take over certain tasks without the original agent needing to remain involved.
Scenarios where expertise requirements emerge during processing, resulting in dynamic task routing based on content analysis
Therefore
Handoffs allow an agent to delegate tasks to another agent. This is particularly useful in scenarios where different agents specialize in distinct areas.
The handoff orchestration pattern enables dynamic delegation of tasks between specialized agents. Each agent can assess the task at hand and decide whether to handle it directly or transfer it to a more appropriate agent based on the context and requirements.
In use
Lyft, in its guest post on LangChain’s blog
If the intent agent determines during a conversation that the user needs a more specialized agent, it uses Command(goto=..., graph=Command.PARENT) to hand control back to the meta agent, which re-routes to the appropriate specialist, for example, jumping from the driver intent agent to the damage claim agent mid-conversation.
Where it breaks
Agents can bounce work between each other, and a bad transfer passes on muddled context.
Avoiding an infinite handoff loop or avoiding excessive bouncing between agents is challenging.
Subgraph handoffs require careful context engineering.…Get this wrong and agents receive malformed conversation history or bloated context.
Sources
- A practical guide to building agentsOpenAI
In a decentralized pattern, agents can ‘handoff’ workflow execution to one another.
- Handoffs - OpenAI Agents SDKOpenAI
- AI agent orchestration patternsMicrosoft
The handoff orchestration pattern enables dynamic delegation of tasks between specialized agents.
- HandoffsLangChain
- How Lyft Built a Self-Serve AI Agent Platform with LangGraph and LangSmithAkshay Sharma (Lyft), LangChain, May 27, 2026
Added Nov 14, 2026