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

# Workflow Patterns

> Master deterministic workflow patterns including sequential, parallel, conditional, and looping execution for reliable multi-agent automation.

Build deterministic, production-ready workflows that orchestrate agents, teams, and functions with predictable execution patterns. This comprehensive guide covers all workflow types, from simple sequential processes to complex branching logic with parallel execution and dynamic routing.

Unlike free-form agent interactions, these patterns provide structured automation with consistent, repeatable results ideal for production systems.

## 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             |
| **Parallel**  | Concurrent execution            |
| **Condition** | Conditional execution           |
| **Loop**      | Iterative execution             |
| **Router**    | Dynamic routing                 |

Agno Workflows support multiple execution patterns that can be combined to build sophisticated automation systems.
Each pattern serves specific use cases and can be composed together for complex workflows.

<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">
    Loop-based execution with quality controls
  </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">
    Reusable step sequences and modular design
  </Card>
</CardGroup>

## Advanced Patterns

<CardGroup cols={3}>
  <Card title="Function-Based Workflows" icon="function" href="/workflows/workflow-patterns/custom-function-step-workflow">
    Pure Python workflows with complete control
  </Card>

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