Workflows

Workflow examples covering steps, loops, parallel execution, routing, advanced controls, and CEL.

ExampleDescription
Basic WorkflowsWorkflow examples for function executors, step sequences, nested steps, files, and session metrics.
Conditional ExecutionCondition and loop workflow examples for branching on input, state, and previous-step output.
Loop ExecutionLoop workflows for iterative processing, parallel branches, and accumulated outputs.
Parallel ExecutionParallel workflows for concurrent agents, teams, conditions, and synthesis steps.
Conditional BranchingRouter and conditional workflow examples for dynamic branch selection.
Advanced ConceptsAdvanced workflow examples for run control, state, history, nesting, guardrails, structured I/O, and background execution.
Cel ExpressionsUse CEL expressions in workflow conditions, loops, and routers.
Human in the LoopConfirm execution, select routes, provide input, review outputs, and handle review timeouts.