Every time your OpenClaw 'lobster' loses its memory, it doesn't just waste your money; it causes major headaches.
You don't even dare to restart it.
I, Jiu Er,
have reviewed 10+ papers on agent memory,
analyzed 6 open-source GitHub projects with a total of 77K stars,
and I'm here to break down every layer of your OpenClaw memory pain points—
from the current status to solutions, and from academia to engineering.
I. The Harsh Reality—Your Agent Has the Memory of a Goldfish
Let's start with a number: 45 hours.
GitHub Issue #5429 reporter EmpireCreator lost 45 hours of accumulated agent context: skill configurations, integration parameters, and task priorities. The cause was a silent compaction that cleared all conversation history without warning or recovery options.
This isn't an isolated case.
Issue #2624 reports agents randomly resetting, forgetting conversations from just two messages ago. Issue #8723 reports a memory flush triggering an infinite loop, locking the agent for 72 minutes.
What is OpenClaw's current memory architecture? In one sentence: Markdown files + Vector Search.
Memories are stored in Markdown files under the ~/.openclaw/workspace/ directory.
Daily Logs are short-term logs,
MEMORY.md is long-term memory,
SOUL.md defines the personality. Retrieval uses a hybrid of Vector Embeddings + BM25 search.
This design has a characteristic accurately summarized by a Medium blogger:
"Intentionally uncool—treating memory as Markdown files and retrieval as tool calls."
Where is the problem? Six words: Flat, Indiscriminate, Passive.
All memories have the same weight; small talk from a year ago is treated the same as a major decision from yesterday.
Forgetting mechanism? None, you have to delete manually.
Automatic organization? It relies entirely on manual curation.
Retrieval only looks at semantic similarity, not importance, and cannot express relationships like "A is a friend of B."
Data remains data; it never becomes cognition.
Community tweets put it most bluntly: "Everyone complains their OpenClaw has amnesia."
II. What Official OpenClaw is Doing—QMD Backend and Hybrid Search
The official team isn't idle.
Release timeline for January-February 2026:
v2026.1.12 (Jan 13): Vector search infrastructure launched, including SQLite indexing + chunking + lazy sync + file watching, supporting local and remote embeddings. This is the foundation of the entire memory search system.
v2026.1.29 (Jan 29): L2 normalization fix. Local embedding vectors were unnormalized, causing distorted cosine similarity calculations; this bug meant previous semantic search accuracy was flawed. Added support for extra index paths.
v2026.2.2 (Feb 4): QMD memory backend merged (PR #3160), the most significant architectural upgrade. 30 commits, adding QMD backend support for BM25 + Vector + Reranking three-way hybrid search.

What did QMD do?
It replaces the built-in SQLite indexer with a local search sidecar process. Each agent/config combination caches a sidecar, supporting multiple named collections, and session records can be exported and indexed to dedicated collections. For privacy, session data is desensitized before indexing. It automatically falls back to SQLite if QMD is unavailable.
Known issues:
Query time on CPU-only systems is about 3 minutes 40 seconds, exceeding the 12-second timeout (Issue #8786). The paths configuration doesn't take effect (Issue #8750).
Moreover, the fallback is silent; users don't know QMD isn't working.
Meanwhile, PR #6060 attempts to solve the "discoverability" problem: OpenClaw's memory system has powerful features that users can't find. The proposal adds a "Memory Optimization" step to the onboarding wizard, exposing four hidden features that are off by default: pre-compaction memory flush, hybrid search, embedding cache, and session record search.
The core problem with the official direction: these are all "retrieval layer" optimizations. Search is more accurate, faster, and more discoverable.
But the six fundamental missing pieces of the memory architecture:
Forgetting, Importance, Graphs, Reflection, Chronology, Promotion
None have been addressed.
III. How the Community is Saving Itself—DIY Solutions
The community hasn't waited for the official team. At least 7 third-party memory projects emerged in Jan-Feb 2026.
- Mem0: The most famous memory layer SDK. Auto-Recall searches relevant memories to inject into context before each response; Auto-Capture extracts facts for storage after. It features Session + User dual-layer memory, claiming a 91% reduction in latency and 90% token savings.
- Hindsight: Local long-term memory. Core insight: Traditional systems give the agent a
search_memorytool, but the model might not use it. Auto-Recall's automatic injection solves this. It's fully local, PostgreSQL-backed, and supports multi-instance sharing.
- MoltBrain (365 Stars): SQLite + ChromaDB semantic search, lifecycle hooks for auto-capturing context, and a Web UI to view the timeline.
- NOVA Memory System: PostgreSQL structured memory. Uses the Claude API to parse natural language into JSON across 8 database tables (entities, relations, locations, projects, events, lessons, preferences).
- Penfield Skill: Hybrid search with BM25 + Vector + Graph—someone in the community is already doing three-way hybrid search.
- Others include Memory Template (Git-backed), SuperMemory (very early stage), and MemoryPlugin (Chrome extension for cross-platform sync).
What direction do community "best practices" validate?
- Daily Log → MEMORY.md promotion model.
- Using Heartbeats as triggers for memory consolidation.
- 70/30 hybrid search weighting (70% Vector + 30% Keyword).
- Session Transcript indexing.
But the community still hasn't touched the six blind spots: Forgetting/decay mechanisms, importance scoring, knowledge graphs, automatic reflection/consolidation, temporal reasoning, and memory promotion.
In short: The community is using manual operations to compensate for architectural flaws. The direction is right, but it's all still at the manual level.
IV. Academic Explosion—10+ Papers in February 2026
In February 2026, agent memory suddenly became a primary academic battlefield. Over 10 papers were published on arXiv, including xMemory [1] (ICML 2026) and A-MEM [2] (NeurIPS 2025). A survey paper by 59 authors [3] systematically organized the field.
What do these papers teach us?
xMemory [1] (ICML 2026, King's College London): Decouples memory into semantic components organized hierarchically. Uses a Sparsity-Semantics objective to guide memory splitting and merging. This inspired the "Topic Clustering Layer" design, building a topic layer above memory to support top-down retrieval.
A-MEM [2] (NeurIPS 2025): Manages agent memory using the Zettelkasten method. When new memories are added, it generates structured notes with context descriptions, keywords, and tags, creating an interconnected knowledge network through dynamic indexing and linking.
InfMem [4]: Solves long-document reasoning. Implements System-2 style active memory control via a PreThink-Retrieve-Write protocol. Accuracy improved by 10-12% on 32K to 1M token QA benchmarks, with a 3.9x reduction in inference time.
TAME [5]: Identified a critical danger: "Agent Memory Misevolution." Memories can accumulate "toxic shortcuts" during normal task iterations—efficient but safety-violating strategies. Proposed an Executor/Evaluator dual-memory framework.
ALMA [6]: A meta-learning framework that lets AI automatically discover memory designs. Learned designs outperformed manual baselines by 6-13%. However, it notably lacks memory decay, forgetting, or eviction mechanisms.
MemSkill [7]: Reframes memory operations as learnable "memory skills." A controller learns to select skills, and a designer periodically reviews difficult cases to evolve the skill set.
BudgetMem [8]: A runtime memory framework that structures memory processing into three budget tiers, using reinforcement learning to train a lightweight router.
The 59-author survey paper [3] provides a clear three-dimensional taxonomy:
- Substrate: How is memory stored? Vectors, graphs, documents?
- Mechanism: How is it read/written? Passive recording or active reasoning?
- Subject: Whose memory? The user's, the agent's, or shared?

Two critical warnings from industry:
- Serial Collapse [9] (from Moonshot AI Kimi K2.5): Agents degrade into not using memory. Even if the system exists, the agent may gradually "forget" to query it.
- Memory Misevolution [5] (from TAME): Accumulating toxic shortcuts during normal iterations.
These risks remind us: the difficulty of memory systems isn't in building them, but in continuous quality monitoring.
V. Open Source Memory Ecosystem—A Scan of 6 Projects
Academia defines the direction; the open-source community validates the implementation.
We deeply analyzed 6 agent memory projects with a combined 77K+ stars.

A key discovery: these 6 projects represent three completely different memory philosophies.
- State Layer Priority (mem0, Memori): Memory = State Management. Quickly gives agents a "ChatGPT Memory" style experience.
- Knowledge Layer Priority (cognee, MemOS): Memory = Structured Knowledge. Turns data into graphs and multi-knowledge bases.
- Learning Layer Priority (Hindsight): Memory = Learning Process. A closed loop of retain/recall/reflect operations.
Your choice determines where you place system complexity: database schemas (Memori), SDK/product layer (mem0), graphs and pipelines (cognee), system scheduling (MemOS), or the fusion of learning and retrieval (Hindsight).
However, no single project covers all three layers.
VI. Lessons from 200+ Issues—Pitfalls Others Have Hit
We analyzed over 200 issues from these 6 projects to extract a high-value checklist for building memory systems.
Five common cross-project problems:
- Silent Failure (6/6 projects): The most common issue. Users complain that "it doesn't work and doesn't tell me why." (e.g., mem0 #2443, Memori #238).
- Memory Deduplication: A pain point for everyone. LLMs often judge duplicate content as "contradictory," leading to erroneous deletions (e.g., mem0 #1674).
- Unreliable LLM Judgment: LLMs losing first-person references during restatement or failing to output stable JSON (e.g., MemOS #931, #934).
- Database Connection/Migration: SQLite connection leaks and Docker deployment migration failures (e.g., Memori #189, cognee #2022).
- Search Ranking Distortion: Normalization issues causing distance 0.1 and 0.5 to both be treated as 0, and retrieval lacking a temporal dimension (e.g., cognee #2030, MemOS #939).

VII. Insights from Game AI—Dwarf Fortress, The Sims, Nemesis System
The most underrated reference isn't academic papers, but game AI. Game developers have spent decades solving how to give virtual characters coherent memories and stable personalities.
Dwarf Fortress's Three-Layer Memory Architecture:
- Short-Term Memory (STM): A circular buffer queue with 8 slots. New memories compete based on emotional intensity (e.g., witnessing death vs. slight hunger).
- Long-Term Memory (LTM): If a memory stays in STM long enough and isn't displaced, it tries to promote. When an NPC "reminisces," there's a 1:3 chance of it becoming a Core Memory.
- Core Memory: A qualitative change. Once promoted, it permanently modifies character parameters (e.g., "witnessing a relative's death" → Anxiety +10).
Stanford's Generative Agents [10] Three-Dimensional Retrieval:
Retrieval Score = Recency x Importance x Relevance. Recency uses exponential decay, Importance is scored by an LLM, and Relevance uses cosine similarity. Their reflection mechanism improved fact recall from 41% to 87%.
The Sims 4 Emotional Solidification:
Short-term emotions that recur frequently transform into permanent traits. Long-term solitude becomes the "Loner" trait, permanently changing utility function calculations.
Nemesis System's Event-Driven Evolution:
Event tags trigger parameter mutations that propagate through social networks. An Orc killed by fire might return with a "Fear of Fire" or "Fiery Rage" trait.

These mechanisms map directly to AI agent memory: circular buffers for context management, emotional intensity for importance scoring, and memory promotion for evolving from trivial facts to personality traits.
VIII. Two Types of Memory—User Memory vs. Agent Memory
A frequently overlooked distinction: User memory and Agent memory are two different problems.

ByteDance's OpenViking project provides a practical classification:
- 6 categories (Profile, Preference, Entity, Event, Case, Pattern).
- L0/L1/L2 content models: L0 Summary (~100 tokens) for indexing, L1 Overview (~500 tokens) for structure, and L2 Full Text for complete content. This drastically reduces token consumption.
IX. From Individuals to the AI Ecosystem—Why Memory is Core Infrastructure
Whoever solves the memory problem first wins the 24/7 Agent war. OpenClaw's core value isn't that the AI is "smarter," but that it finally has "hands and feet."
But an AI with hands and feet but no memory is like an employee who forgets everything every day, requiring constant retraining and repeating the same mistakes.
As noted in previous reports, all LLM-based agents face memory issues. This isn't an OpenClaw bug; it's a structural limitation of the tech stack. The context window is essentially "short-term memory": overflow leads to truncation, and a restart leads to zeroing out.
https://x.com/li9292/status/2023355272542998796
The convergence of academic density, open-source explosion, and official upgrades in February 2026 signals that AI memory is moving from "nice to have" to core infrastructure.
X. What We Are Building—The memX and ePro Roadmap
Based on this research, we are building two systems: memX (User Memory) and ePro (Agent Memory). They are live and iterating; we look forward to your feedback!
References omitted for brevity in this summary but included in the full report.
This report is based on a data snapshot from February 23, 2026. Created by Li Jiu Er in collaboration with Claude Max, Manus, and Google Gemini.





