Persistent Memory
MemOS
Universal, local-first, persistent memory layer for AI agents. Give any LLM a memory that survives restarts — no cloud, no API keys, no vendor lock-in.
Quick Start
$ npm install @mem-os/sdk
$ npx memos init
Key Features
- ✦100% local SQLite-backed storage (no cloud)
- ✦Graph-native with typed edges
- ✦Temporal validity (validFrom/validTo)
- ✦Trust scoring & provenance tracking
- ✦Compact TOON format (77.6% token savings)
- ✦Confidence score state machine
- ✦MCP adapter (stdio + HTTP+SSE)
- ✦Framework-agnostic (Ollama, LangChain, CrewAI)
Benchmarks
| Benchmark | MemOS | Mem0 |
|---|---|---|
| BEAM-1M (recall) | 95.9% | 64.1% |
| LoCoMo | 92.5 | 92.5 |
| LongMemEval | 94.4 | 94.4 |