Description
UI stream types configure which data a node streams to the user interface during execution. This controls what users see in real-time as the agent processes their query.Syntax
Configure UI streaming viaui_stream_types on a node:
Supported Stream Types
| Stream Type | Description |
|---|---|
RETRIEVALS | Search results and citations |
GENERATION | LLM response text (streams as it’s generated) |
QUERY_REFORMULATION | Query transformations and expansions |
ATTRIBUTION | Citation attribution data |
GROUNDEDNESS | Groundedness scores for the response |
Example: Full Response Pipeline
Multiple Nodes with Same Stream Type
Multiple nodes can have the same UI streaming type. Events stream sequentially in execution order:Multi-Output Workflows
For workflows with multiple outputs, useui_output at the root level to designate which output displays in the UI:
Default Behavior
Each step type has default UI stream types. Check the Step Reference Catalog for defaults. Common defaults:| Step Type | Default Streams |
|---|---|
SearchUnstructuredDataStep | QUERY_REFORMULATION |
ResponseGenerationStep | RETRIEVALS, GENERATION, ATTRIBUTION, GROUNDEDNESS |
AgenticResearchStep | RETRIEVALS |
GenerateFromResearchStep | GENERATION |