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., “Running step: research…”)
  • Web Search: Researcher agent uses DuckDuckGo to find current information
  • Streaming Output: Writer output streams token-by-token with live message edits
  • Custom Start Message: Overrides the default /start response