Skip to main content
Pass a single custom execution function to steps instead of discrete steps. You keep complete control over the orchestration logic while still getting workflow features like storage, streaming, and session management. When to use: When you need maximum flexibility and control over the execution flow, similar to the Workflows 1.0 approach but with better structure. Install dependencies:
function_instead_of_steps.py