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

# Depends On • AI Agent SDK

> depends_on: Alias for context - sets the list of dependent tasks.

# depends\_on

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

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

Alias for context - sets the list of dependent tasks.

## Signature

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

## Parameters

<ParamField query="value" type="Any" required={true}>
  No description available.
</ParamField>

### Returns

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

## Source

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