DocsCommontoolsHandoffRecord
Package: @hexos/common

Historical record of an agent-to-agent handoff during a conversation.

Stored in the handoff history to provide context about conversation routing decisions. Each record captures which agents were involved, the reason for the handoff, and when it occurred.

Related: HandoffResult triggers the handoff, HandoffIndicator displays it, AgentRuntime records it during streaming.

interface HandoffRecord {
    from: string;
    to: string;
    reason: string;
    context?: string;
    timestamp: Date;
}

from

string

to

string

reason

string

context

string

timestamp

Date