Skip to main content

Code

streaming_workflow.py

Usage

1

Set up your virtual environment

2

Set Environment Variables

3

Install dependencies

4

Run Example

Key Features

  • Live Step Progress: Users see which step is running in real time (e.g., “research…”, then “research” when the step completes)
  • Web Search: Researcher agent uses DuckDuckGo to find current information
  • Final Summary: The Writer’s output arrives as a single message when the workflow completes; the live message edits are the step status lines
  • Custom Start Message: Overrides the default /start response