Quick Start
~/.praisonai/sessions/{session_id}.json.
Core Exports
| Export | Purpose |
|---|---|
DefaultSessionStore | JSON-on-disk default backend |
SessionMessage, SessionData | Typed message and session payloads |
get_default_session_store() | Process-wide store accessor |
SessionStoreProtocol | Implement for Redis, Postgres, S3 — see Session Protocol |
HierarchicalSessionStore, get_hierarchical_session_store() | Forks, snapshots, parent-child — see Session Hierarchy |
IdentityResolverProtocol, FileIdentityResolver | Map anonymous → known user IDs across sessions |
SessionContext, set_session_context(), get_session_context() | Task-local session context for async flows |
Task-Local Context
Related
Session Persistence
Agent-centric session_id usage
Session Hierarchy
Forking and snapshots

