memory
On this page
memory is the memory subsystem of the [ Zerda ] ecosystem. It provides a multi-tier memory architecture for conversational AI agents: short-lived buffers, sliding windows, LLM-generated summaries, entity tracking, vector-backed semantic recall, durable SQLite-backed long-term storage, privacy/PII controls, and a RAG-style context assembler — all orchestrated by a single high-level AIMemoryManager.
This documentation is generated directly from the memory source tree. Every signature, parameter, and behavior described here was verified against the implementation. Where the implementation's actual behavior differs from what a docstring implies, or where a bug was found, it is called out explicitly rather than silently documented as intended — see Known Issues & Bugs.
Why this package exists
Conversational agents need more than a flat list of chat turns. Different memory tiers solve different problems:
Where to start
- New to the package? Start with Installation and Quickstart.
- Want the big picture first? Read Architecture.
- Looking for a specific class or function? Go to the API Reference.
- Tuning memory limits, decay, or persistence? See Configuration.
[!WARNING] Documentation scope This documentation covers only what is discoverable from the
memorypackage's own source. It does not document other zerda packages (chain,rag,router, etc.) except wherememorydirectly imports from them.