HandoffInputData
Pre-built handoff input filters for common context-management patterns.
These filters are composable: chain them with composeFilters() to apply multiple transformations in sequence.
Properties
Section titled “Properties”messages
Section titled “messages”messages: Record<string, unknown>[];The full message history at the point of handoff.
reason?
Section titled “reason?”optional reason?: string;The reason provided by the LLM for the handoff, if any.
sourceAgentId
Section titled “sourceAgentId”sourceAgentId: string;The agent that initiated the handoff.
targetAgentId
Section titled “targetAgentId”targetAgentId: string;The agent that will receive the handoff.
workingMemory
Section titled “workingMemory”workingMemory: Record<string, unknown>;The workingMemory state at the point of handoff.