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

# Get Cache Dir • AI Agent SDK

> get_cache_dir: Get cache directory (disposable data).

# get\_cache\_dir

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**paths**](../modules/paths) module.

Get cache directory (disposable data).

## Signature

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

### Returns

<ResponseField name="Returns" type="Path">
  Path to \~/.praisonai/cache/
</ResponseField>

## Uses

* `get_data_dir`

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Caching Concept" icon="database" href="/docs/concepts/caching" />
</CardGroup>
