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
>>> from praisonaiagents.storage import BaseJSONStore, BaseSessionInfo
>>> class MyStore(BaseJSONStore):
...     pass

Import

python
from praisonaiagents import storage

Constants

NameValue
_LAZY_IMPORTS{'BaseJSONStore': ('base', 'BaseJSONStore'), 'BaseSessionInfo': ('models', 'BaseSessionInfo'), 'JSONStoreProtocol': ('protocols', 'JSONStoreProtocol'), 'SessionInfoProtocol': ('protocols', 'SessionInf...

Related Documentation