> ## 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 Session Cache • AI Agent SDK

> get_session_cache: Get the session deduplication cache.

# get\_session\_cache

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

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

Get the session deduplication cache.

## Signature

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

### Returns

<ResponseField name="Returns" type="SessionDeduplicationCache">
  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/context/manager.py#L1031">
  `praisonaiagents/context/manager.py` at line 1031
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Session Management" icon="clock" href="/docs/concepts/session-management" />

  <Card title="Sessions Feature" icon="folder" href="/docs/features/sessions" />

  <Card title="Session Persistence" icon="database" href="/docs/features/session-persistence" />

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