Skip to content

HandoffInputData

messages: ModelMessage[];

The full message history at the point of handoff.


optional reason?: string;

The reason provided by the LLM for the handoff, if any.


sourceAgentId: string;

The agent that initiated the handoff.


targetAgentId: string;

The agent that will receive the handoff.


workingMemory: Record<string, unknown>;

The workingMemory state at the point of handoff.