Skip to main content
Workflows coordinate multiple agents to accomplish complex tasks. The workflow stream works just like the agent stream but includes additional event types for step progress and multi-agent delegation.

Send a message to a workflow

Parameters

Workflow-specific events

In addition to all the standard agent stream events (text-delta, tool_start, tool_end, done, error), workflow streams include:

Stop a workflow

Event bus integration

Workflow lifecycle events are also emitted on the SDK event bus: