Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Handoff (agents)

Topic: AgentsAlso called agent handoff

Definition

A transfer of control between agents: one agent passes the conversation and its history to another, which carries on with the user.

In more detail

In the OpenAI Agents SDK a handoff is offered to the model as a tool, so an agent called Refund Agent becomes a tool named transfer_to_refund_agent, and by default the receiving agent sees the whole conversation so far. A triage agent that passes a support chat to a billing or refunds specialist is the usual example.

The difference from a subagent, or an agent called as a tool, is who keeps control. After a handoff the first agent is out of the loop, while an orchestrator that calls a worker gets a result back and carries on. Filter the history you pass on when the next agent does not need all of it.

  • Multi-agent system

    An application in which several agents, often with different roles, tools or instructions, cooperate or hand work to each other.

  • Orchestrator-workers

    A pattern where one model breaks a task into subtasks at run time, hands each to a worker model, and combines the results.

  • Routing (agent pattern)

    A workflow pattern where a first step classifies the input and sends it on to a specialised prompt, tool or model for that type.

  • Subagent

    A separate agent instance with its own context window, launched by a main agent to handle a focused task and report back a short result.