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

# Tasks

> Index of tasks mode team examples: sequential decomposition, parallel execution, dependency chains, and streaming events.

| Example                                                                                                       | Description                                                                                                  |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [Basic Tasks Mode Example](/examples/teams/modes/tasks/basic)                                                 | Tasks mode: the leader splits a request into planner, writer, and editor tasks and runs them in order.       |
| [Tasks with Dependencies Example](/examples/teams/modes/tasks/dependencies)                                   | Demonstrates task mode with dependency chains.                                                               |
| [Parallel Tasks Execution Example](/examples/teams/modes/tasks/parallel)                                      | Demonstrates task mode with parallel execution.                                                              |
| [Task Mode Streaming Example - Real-time Task List with Dedicated Events](/examples/teams/modes/tasks-stream) | Stream TaskCreated, TaskUpdated, TaskIteration, and TaskStateUpdated events to render a real-time task list. |
| [Task Mode Streaming Events](/examples/teams/modes/tasks/streaming-events)                                    | Consume streaming events programmatically in `mode=tasks`.                                                   |
