Skip to main content
Give a named Step a custom function as its executor. You keep the clear naming and tracking of steps while the function handles custom data processing. When to use: When you need named step organization but want custom logic that goes beyond what agents/teams provide. Ideal for complex data processing, multi-step operations, or when you need to orchestrate multiple agents within a single step. Install dependencies:
step_with_function.py