For AI app builders
Most AI assistants bolt on memory as embedding similarity over raw chat logs. It remembers everything, including the stale, the duplicated, and the contradictory. SmartMemory is the memory layer you adopt instead of the one you maintain.
pip install smartmemory
| What your app needs | Roll-your-own vector recall | SmartMemory |
|---|---|---|
| Recall | Embedding similarity over raw chat turns | Graph, vector, and hybrid retrieval, with optional multi-hop |
| Structure | Flat text blobs | Typed entities, relations, an ontology, and distinct memory types |
| Change over time | Static, grows without bound | Decay, consolidation, and supersession by default, with optional temporal aging |
| Contradictions | Last write wins, or a silent duplicate | Bitemporal supersession that retires outdated facts |
| Trust | Opaque | A graph viewer, origin provenance tiers, and correction APIs |
| Multi-user | Row-level security you bolt on and hope you got right | Workspace, user, and tenant isolation with JWT and teams |
| Integration | Rebuilt in every app | One layer over REST, MCP, and the Python and JavaScript SDKs |
Every SmartMemory capability above runs by default unless marked optional. See the full comparison for how it stacks up against named memory tools.
Your product switches modes: chat, research, build, voice. A flat log makes each mode start cold. A shared memory layer carries context, entities, and resolved facts across all of them, so the assistant stays coherent as the user moves between modes.
Memory that learns structure, resolves contradictions, and forgets what stopped mattering, so your AI gets sharper instead of just heavier.
This is not an adjective. Episodic memories promote to semantic, exponential decay and interference consolidation prune noise, and bitemporal supersession retires outdated facts, all by default. You can see exactly what it knows in the graph viewer and correct it. Optional background consolidation does even more.
Install in one line. Keep your stack. Give your app a memory that improves itself instead of one that only piles up.