Skip to content

Type Alias: UAPEventType

@providerprotocol/agents


@providerprotocol/agents / index / UAPEventType

UAPEventType = "step_start" | "step_end" | "reasoning" | "action" | "observation" | "plan_created" | "plan_step_start" | "plan_step_end" | "subagent_start" | "subagent_event" | "subagent_end"

Defined in: src/execution/types.ts:205

UAP-level event types emitted during agent streaming execution.

These events provide high-level visibility into the agent execution lifecycle, complementing the lower-level UPP stream events.

  • step_start / step_end - Bracket each execution step
  • reasoning - Emitted during ReAct strategy reasoning phase
  • action - Emitted when tool calls are made
  • observation - Emitted when tool results are received
  • plan_* - Emitted during Plan strategy planning and execution
  • subagent_* - Emitted for hierarchical agent execution