# Workflow Patterns (/workflows/workflow-patterns/overview)



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

<CardGroup cols="3">
  <Card title="Sequential Workflows" icon="arrow-right" href="/workflows/workflow-patterns/sequential">
    Linear execution with step-by-step processing
  </Card>

  <Card title="Parallel Workflows" icon="arrows-split-up-and-left" href="/workflows/workflow-patterns/parallel-workflow">
    Concurrent execution for independent tasks
  </Card>

  <Card title="Conditional Workflows" icon="code-branch" href="/workflows/workflow-patterns/conditional-workflow">
    Branching logic based on conditions
  </Card>

  <Card title="Iterative Workflows" icon="rotate" href="/workflows/workflow-patterns/iterative-workflow">
    Repeat steps until an exit condition or iteration cap
  </Card>

  <Card title="Branching Workflows" icon="sitemap" href="/workflows/workflow-patterns/branching-workflow">
    Dynamic routing and path selection
  </Card>

  <Card title="Grouped Steps" icon="layer-group" href="/workflows/workflow-patterns/grouped-steps-workflow">
    Named sequences for use in larger control flows
  </Card>
</CardGroup>

## Advanced Patterns [#advanced-patterns]

<CardGroup cols="3">
  <Card title="Step-Based Workflows" icon="list" href="/workflows/workflow-patterns/step-based-workflow">
    Name steps for event tracking and output lookup
  </Card>

  <Card title="Custom Function Steps" icon="function" href="/workflows/workflow-patterns/custom-function-step-workflow">
    Custom Python functions as workflow steps
  </Card>

  <Card title="Fully Python Workflow" icon="code" href="/workflows/workflow-patterns/fully-python-workflow">
    Replace the step list with one orchestration function
  </Card>

  <Card title="Nested Workflows" icon="diagram-project" href="/workflows/workflow-patterns/nested-workflow">
    Run one workflow as a step inside another
  </Card>

  <Card title="Multi-Pattern Combinations" icon="puzzle-piece" href="/workflows/workflow-patterns/advanced-workflow-patterns">
    Complex workflows combining multiple patterns
  </Card>
</CardGroup>
