Three memory layers
Working
Current session scratchpad. Fast writes, in-memory.
Flushed to episodic at session end.
Episodic
Event timeline with full conversation and action history.
Vector search across all past sessions.
Semantic
Structured knowledge graph — subject, predicate, object.
Facts that survive restarts and are never duplicated.
Local-first. Server-optional.
By default, plyra-memory runs entirely on your machine — SQLite for structured data, ChromaDB for vectors. No external services, no API keys. When you need multi-agent memory sharing or multi-tenant isolation, pointPLYRA_SERVER_URL at a plyra-memory-server instance. Zero code changes — the library detects the env var and routes automatically.
Quickstart
Remember your first fact in 60 seconds.
Memory layers
Deep dive into working, episodic, and semantic storage.