Skip to main content

Interface: EscalationContext

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:217

Context for escalating to human control.

Properties

agentId

agentId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:225

Agent requesting escalation


assessment

assessment: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:231

Agent's assessment of the situation


attemptedActions

attemptedActions: string[]

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:229

What agent has tried so far


currentState

currentState: Record<string, unknown>

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:227

Current task/goal state


escalatedAt

escalatedAt: Date

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:237

Timestamp


escalationId

escalationId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:219

Escalation identifier


explanation

explanation: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:223

Detailed explanation


reason

reason: EscalationReason

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:221

Reason for escalation


recommendations?

optional recommendations: string[]

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:233

Recommended human actions


urgency

urgency: "critical" | "low" | "medium" | "high"

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:235

Urgency level