Skip to main content

Interface: HandoffContext

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:141

Context for task handoff between agents.

Properties

completedWork

completedWork: string[]

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:149

Work completed so far


context

context: Record<string, unknown>

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:153

Relevant context/data


deadline?

optional deadline: Date

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:159

Deadline if any


instructions?

optional instructions: string

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:157

Instructions for receiving agent


progress

progress: number

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:147

Current progress (0-1)


reason

reason: "escalation" | "timeout" | "completion" | "specialization" | "capacity"

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:155

Reason for handoff


remainingWork

remainingWork: string[]

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:151

Remaining work items


taskDescription

taskDescription: string

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:145

Task description


taskId

taskId: string

Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:143

Task being handed off