Skip to content

Type Alias: SubagentEventType

@providerprotocol/agents


@providerprotocol/agents / index / SubagentEventType

SubagentEventType = "subagent_start" | "subagent_event" | "subagent_end"

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

Sub-agent event types for hierarchical agent execution.

When tools spawn sub-agents, these event types track the sub-agent lifecycle for observability and debugging.

UAP-1.0 Spec Section 8.7