Workflow Patterns

Sequential, parallel, conditional, and looping patterns for orchestrating agents, teams, and functions.

Workflows orchestrate agents, teams, and functions through defined control-flow patterns. Each pattern covers a specific control flow, from sequential steps to branching, loops, and parallel execution, and patterns can be combined in the same workflow.

Building Blocks

The core building blocks of Agno Workflows are:

ComponentPurpose
StepBasic execution unit
AgentAI assistant with specific role
TeamCoordinated group of agents
FunctionCustom Python logic
StepsNamed sequential group
ParallelConcurrent execution
ConditionConditional execution
LoopIterative execution
RouterDynamic routing
WorkflowNested workflow

Advanced Patterns