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

AI Agent

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:

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
>>> 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

> [card] [RAG Concept](https://praison.ai/docs/docs/concepts/rag)

> [card] [RAG Overview](https://praison.ai/docs/docs/rag/overview)

> [card] [Chunking Strategies](https://praison.ai/docs/docs/rag/strategies/overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.