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

# When to use a Workflow vs a Team

> Use a Workflow for deterministic multi-step pipelines and a Team when a model should coordinate the work.

Workflows execute steps you define in code. Teams let a model decide which member handles each task. Pick based on how much control you need over the execution path.

| Requirement                                                 | Use                             |
| ----------------------------------------------------------- | ------------------------------- |
| Fixed sequence of steps with dependencies                   | [Workflow](/workflows/overview) |
| Parallel execution of independent tasks                     | [Workflow](/workflows/overview) |
| Conditional routing based on content                        | [Workflow](/workflows/overview) |
| Iterative loops with end conditions                         | [Workflow](/workflows/overview) |
| Mixed components (agents, teams, functions) in one pipeline | [Workflow](/workflows/overview) |
| Predictable, repeatable output                              | [Workflow](/workflows/overview) |
| Open-ended research and planning                            | [Team](/teams/overview)         |
| Agents dividing responsibilities dynamically                | [Team](/teams/overview)         |
| Multi-tool decision-making driven by the model              | [Team](/teams/overview)         |

Workflows can include teams as steps, so the two compose: use a workflow for the overall pipeline and a team where a step needs open-ended collaboration.

## Next Steps

* [Workflows overview](/workflows/overview)
* [Teams overview](/teams/overview)
