> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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:

| Component | Purpose |
| - | - |
| **Step** | Basic execution unit |
| **Agent** | AI assistant with specific role |
| **Team** | Coordinated group of agents |
| **Function** | Custom Python logic |
| **Steps** | Named sequential group |
| **Parallel** | Concurrent execution |
| **Condition** | Conditional execution |
| **Loop** | Iterative execution |
| **Router** | Dynamic routing |
| **Workflow** | Nested workflow |

> **[Sequential Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/sequential.md)**
>
> Linear execution with step-by-step processing

> **[Parallel Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/parallel-workflow.md)**
>
> Concurrent execution for independent tasks

> **[Conditional Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/conditional-workflow.md)**
>
> Branching logic based on conditions

> **[Iterative Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/iterative-workflow.md)**
>
> Repeat steps until an exit condition or iteration cap

> **[Branching Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/branching-workflow.md)**
>
> Dynamic routing and path selection

> **[Grouped Steps](https://agno-v2.mintlify.site/workflows/workflow-patterns/grouped-steps-workflow.md)**
>
> Named sequences for use in larger control flows

## Advanced Patterns

> **[Step-Based Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/step-based-workflow.md)**
>
> Name steps for event tracking and output lookup

> **[Custom Function Steps](https://agno-v2.mintlify.site/workflows/workflow-patterns/custom-function-step-workflow.md)**
>
> Custom Python functions as workflow steps

> **[Fully Python Workflow](https://agno-v2.mintlify.site/workflows/workflow-patterns/fully-python-workflow.md)**
>
> Replace the step list with one orchestration function

> **[Nested Workflows](https://agno-v2.mintlify.site/workflows/workflow-patterns/nested-workflow.md)**
>
> Run one workflow as a step inside another

> **[Multi-Pattern Combinations](https://agno-v2.mintlify.site/workflows/workflow-patterns/advanced-workflow-patterns.md)**
>
> Complex workflows combining multiple patterns


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.