A handoff moves a live conversation from one agent to another on this platform: the caller stays on the same call or chat, and a different prompt, model, voice and tool set takes over. Handing the caller to a person is a transfer, which is a different thing; this section is only about agent → agent. There are three ways to build one, and they differ in who decides.
Do not build a one-operation tool per edge. Agents that route to each other carry handoffs entries; the handoff operation is for routing the model should not decide.

When to split one agent into several

Split when the desks genuinely differ:
  • Prompt scope. One prompt covering billing, returns and technical support makes the model hold three policies at once.
  • Models or voices per desk. A fast, cheap model on the front desk and a stronger one where it reasons about a refund; a different voice or language.
  • Tools per desk. The refund tool lives on the billing agent only, so the front desk cannot call it.
Do not split when one agent with a clearer prompt would do. Every hop pauses while the target loads, and the target then pays on every turn for whatever context crossed.

What crosses a handoff

  • userdata — session state every agent on the call shares.
  • vars — one bag of values per session, merged over each agent’s own declared defaults.
  • Conversation history — as far as the edge’s context policy allows.
  • Speech streams, when they match. A target with the same STT, language and endpointing keeps the listening stream, so a sentence in progress is not cut off; one with the same TTS model and settings speaks through the same connection. A target that differs opens its own.
  • The call record. One call, one transcript, with an agent_handoff item at each switch and every item stamped with the agent that produced it.

Next

Handoffs

Every field on a handoff entry and the rules validation enforces.

Context policies

What the next agent starts from, and what each choice costs.

Teams on a call

A cast assembled for one request, where members[0] answers.

Patterns

Front desk to specialists, handing back, routing on a lookup.