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

# Run All Tasks • AI Agent SDK

> run_all_tasks: Synchronous version of run_all_tasks method

# run\_all\_tasks

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentTeam**](../classes/AgentTeam) class in the [**agents**](../modules/agents) module.

Synchronous version of run\_all\_tasks method

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def run_all_tasks() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `Process`
* `process.workflow`
* `run_task`
* `process.sequential`
* `process.hierarchical`
* `add_task`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agents/agents.py#L1177">
  `praisonaiagents/agents/agents.py` at line 1177
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Tasks Concept" icon="list-check" href="/docs/concepts/tasks" />

  <Card title="Task Configuration" icon="gear" href="/docs/configuration/task-config" />

  <Card title="Task Validation" icon="check-double" href="/docs/features/task-validation-feedback" />
</CardGroup>
