Skip to content

Agent Handoff

Definition

Agent Handoff — an operation to transfer control from the current agent (or orchestrator) to another agent along with the relevant part of the context, history, and expected result. It is applied in multi-agent architectures and in escalation scenarios to a human.

Composition of Transferred State

Component Purpose
Task Objective formulation of the expected result
History relevant messages and actions
Artifacts intermediate data, files
Constraints policies, limits, deadlines

Diagram

sequenceDiagram
    participant U as User
    participant A as Agent A
    participant B as Agent B
    U->>A: request
    A->>A: analysis
    A->>B: handoff(context)
    B->>U: response

Implementation

In a Multi-Agent System, handoff is formalized as a call to an instrument with parameters for the target agent and payload. The orchestrator controls the depth of transfer and prevents cycles.

See Also