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

# storage • AI Agent SDK

> PraisonAI Agents Storage Framework.

# storage

<Badge color="blue">AI Agent</Badge>

PraisonAI Agents Storage Framework.

Provides common storage abstractions for JSON-based persistence with:

* Thread-safe operations
* File locking for concurrent access
* Common session info dataclass

Zero performance impact when not in use through lazy loading.

Example:
\>>> from praisonaiagents.storage import BaseJSONStore, BaseSessionInfo
\>>> class MyStore(BaseJSONStore):
...     pass

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import storage
```

### Constants

| Name            | Value                                                                                                                                                                                                         |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `_LAZY_IMPORTS` | `{'BaseJSONStore': ('base', 'BaseJSONStore'), 'BaseSessionInfo': ('models', 'BaseSessionInfo'), 'JSONStoreProtocol': ('protocols', 'JSONStoreProtocol'), 'SessionInfoProtocol': ('protocols', 'SessionInf...` |

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="RAG Concept" icon="magnifying-glass" href="/docs/concepts/rag" />

  <Card title="RAG Overview" icon="database" href="/docs/rag/overview" />

  <Card title="Chunking Strategies" icon="scissors" href="/docs/rag/strategies/overview" />
</CardGroup>
