pipeline.py
Run Your Workflow
1
Set up your environment
2
Install Definable
3
Export your API key
4
Run
Step Executors
EachStep wraps exactly one executor. Set agent=, team=, or executor=.
Step Parameters
str
required
Step name. Used to access results via
result.get_step_output(name).Agent
Agent to execute. Mutually exclusive with
team and executor.Team
Team to execute. Mutually exclusive with
agent and executor.Callable
Custom function
(StepInput) -> str | RunOutput. Mutually exclusive with agent and team.float
Maximum execution time in seconds.
int
default:"0"
Number of retry attempts on failure.
Callable[[StepInput], str]
Custom function to build the prompt from step context.