Workflows compose agents, teams, and callables into multi-step pipelines. Six composable step types let you build everything from linear chains to complex branching logic.Documentation Index
Fetch the complete documentation index at: https://docs.definable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Step Types
| Type | Behavior | Use case |
|---|---|---|
| Step | Executes a single agent, team, or callable | Basic building block |
| Steps | Executes steps sequentially, chaining context | Linear pipelines |
| Parallel | Executes steps concurrently | Independent analyses |
| Loop | Repeats until end condition or max iterations | Iterative refinement |
| Condition | If/else branching | Quality gates |
| Router | N-way dynamic routing | Classification and dispatch |
Guides
Build Workflows
Create workflows with composable step types.
Run Workflows
Execute workflows and access step results.
Workflow Patterns
Sequential
Linear step chains with context passing.
Parallel
Concurrent execution with result combination.
Conditional
If/else branching based on step output.
Loop
Iterative refinement with end conditions.
Router
Dynamic N-way routing by selector function.
Resources
- Workflow reference
- Workflow examples
- Teams for agent coordination without step structure
- Agent overview