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

# autogen.fast_depends.Depends

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### Depends

```python theme={null}
Depends(
    dependency: Callable[~P, ~T],
    *,
    use_cache: bool = True,
    cast: bool = True
) -> Any
```

<b>Parameters:</b>

| Name         | Description                                 |
| ------------ | ------------------------------------------- |
| `dependency` | **Type:** Callable\[\~P, \~T]               |
| `use_cache`  | **Type:** bool<br /><br />**Default:** True |
| `cast`       | **Type:** bool<br /><br />**Default:** True |

<br />
