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

> get_runtime_cache: Get a copy of the current runtime cache (for debugging/testing).

# get\_runtime\_cache

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

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

Get a copy of the current runtime cache (for debugging/testing).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_runtime_cache() -> Dict[str, Dict[str, Tuple[AgentRuntimeProtocol, float]]]
```

### Returns

<ResponseField name="Returns" type="Dict[str, Dict[str, Tuple[AgentRuntimeProtocol, float]]]">
  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/runtime/resolve.py#L307">
  `praisonaiagents/runtime/resolve.py` at line 307
</Card>

***

## Related Documentation

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