Skip to main content
Pass a single custom execution function to steps instead of discrete steps. The function controls orchestration while the workflow provides storage and session management. A generator or async generator execution function can stream output. When to use: Execution flows that need custom Python orchestration instead of a step list. Install dependencies:
function_instead_of_steps.py