| What it is | Lossless Context Management (LCM) plugin for OpenClaw | The memory layer for AI agents | Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls. | The context database for AI agents |
| Ways to run it | — | - Mem0 Platform: Free (limits above); Custom: contact sales
- Mem0 Open Source (self-hosted, Apache-2.0): free
You arrange: an LLM provider (OpenAI's gpt-5-mini by default, or a local model through Ollama), an embedding model, a vector store such as Qdrant or pgvector
| — | - OpenViking (open source) (self-hosted, AGPL-3.0-only): free
You arrange: a server with Python 3.10+ (or Docker), a model provider with an embedding model and a vision-language model (Volcengine, OpenAI, Codex OAuth, Kimi, GLM or local Ollama), authentication before exposing it beyond localhost - OpenViking Service: first 50 files free; Personal and Enterprise plans
- OpenViking Self-Managed (self-hosted, proprietary): contact sales
|
| Features | - every message persisted in SQLite, by conversation
- DAG of summaries condensed from older messages
- context assembled from summaries plus recent raw messages each turn
- lcm_grep, lcm_describe and lcm_expand recall tools for agents
- lcm shell CLI with JSON output for reading the database
- /lossless commands: status, backup, doctor and repairs
- bundled lossless-claw skill
- session migration CLI to backfill OpenClaw JSONL sessions
- All 9 features
| - LLM extraction of facts, preferences and decisions from conversations (single-pass, add-only since v3)
- infer=False stores messages as given, without the LLM extraction step
- memories scoped by user_id, agent_id and run_id, with AND/OR/NOT metadata filters
- retrieval that fuses semantic, BM25 keyword and entity matching
- 18 LLM providers, 11 embedders and 25 vector stores in the open source version, including Ollama, Qdrant and pgvector
- self-hosted REST server and dashboard with API keys and an audit log (Docker Compose)
- hosted Platform: graph memory, memory decay, temporal reasoning and Dream background consolidation
- Platform webhooks, memory export, batch updates and feedback on retrieved memories
- All 12 features
| - verbatim storage of conversations
- wings, rooms and drawers for scoped search
- mining of Claude Code sessions and other transcripts
- auto-save hooks for Claude Code, Codex CLI and Cursor
- MCP server with 47 tools
- temporal knowledge graph in SQLite
- per-agent wings and diaries; logstream events and artifact handoffs
- pluggable backends: Chroma, SQLite exact, native Rust, Milvus, Qdrant, pgvector
- All 11 features
| - viking:// virtual filesystem for resources, memories and skills
- generated L0 abstracts and L1 overviews per directory
- directory-scoped semantic search (find and search)
- session commits that extract memories as Markdown
- REST API and MCP endpoint (Streamable HTTP, OAuth for ChatGPT and Claude)
- Python, Go and TypeScript SDKs
- ov CLI
- web studio, hosted or self-hosted
- All 15 features
|
| Limitations | - Doesn't work outside OpenClaw: it needs OpenClaw 2026.9.2 or newer with plugin context engine support, and Node.js 22+
| - Doesn't extract memories without an LLM: Mem0 requires one (OpenAI's gpt-5-mini by default) for each add, unless you store raw messages with infer=False
| - Doesn't install natively on Android Termux: it runs there in a Debian PRoot container
| |