Skip to content
Changelog

Consistent async streaming for Workflows

ContributorKaustubh ShuklaSenior Software Engineer

October 23, 20251 min read

Workflow.arun now returns an AsyncIterator, aligning with Agent and Team. This change standardizes how you consume streaming results and reduces integration complexity across components.

Details

  • Breaking change: migrate to async iteration
  • Example:
    • Before: result = await workflow.arun(..., stream=True)
    • After: async for chunk in workflow.arun(..., stream=True): ...

Who this is for: Teams maintaining multiple streaming paths who want one consistent consumption model.

Shipped around the same time