Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Runner invokes the agent, the model emits a handoff tool call, the Runner intercepts and swaps active agents, then seeds the new agent's input and continues the loop.
Think of a customer-service desk. A representative is helping you, sees that your problem is really a billing question, and writes a referral card to the billing specialist. The receptionist takes the card, calls the billing specialist over, hands them the card so they know what you came in for, and the conversation continues with the new specialist. The model is the rep, the Runner is the receptionist, the referral card is the handoff payload, and the swap is invisible to you. The whole point is that the rep does not have to walk you over personally; the system handles that part.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 to 7 min: the six-step cycle in order + why each step matters + how interception distinguishes handoffs from tools + payload seeding behaviour + design wins of handoff as tool call.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Confusing a handoff with a tool call. From the model's perspective they look identical (both are tool calls), but the Runner treats handoffs as a control-flow primitive that swaps the active agent, not as a function that returns a value.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.