Mneme is memory that survives the session.
It gives agents memory that persists, compounds, and can be trusted.
Mneme is a memory quality layer for OpenClaw. It does not replace OpenClaw memory. It repairs, audits, and improves it.
Make an agent's memory work, then make it better.
Mneme starts with Six.
For v1, that means starting with one agent — Six — and fixing the basic failure modes first:
- broken recall
- stale or missing indexes
- important facts trapped in daily notes
- duplicate or conflicting memory
- memory that exists, but is hard to use
Mneme v1 does four things:
-
Restore recall
- detect broken memory config
- detect missing embedding backends
- detect stale or missing indexes
- verify that memory search actually works
-
Recover important memory
- read
MEMORY.md - read daily memory files
- extract durable facts worth keeping
- read
-
Compile memory into usable structure
- people
- projects
- systems
- decisions
- incidents
- timeline
- todos (planned, not implemented yet)
-
Audit memory quality
- duplicates
- contradictions
- stale facts
- facts trapped in daily notes that should be promoted
Mneme v1 is not:
- a new vector database
- a replacement for OpenClaw builtin, QMD, or Honcho memory
- cross-agent shared memory yet
- silent autonomous rewriting of memory
- a vague "AI memory" claim with no provenance
OpenClaw already has real memory primitives: Markdown memory files, indexing, hybrid search, QMD, and Honcho.
So Mneme should not try to replace the official memory system. It should make that system more reliable and more usable.
The first job is simple:
"I checked, but memory search is unavailable right now."
That is the kind of failure Mneme exists to catch and fix.
fix recall, recover durable knowledge, and keep memory healthy over time.
Get memory search healthy and verified.
Promote important facts out of existing notes.
Turn scattered notes into usable indexes.
Surface stale, duplicate, and conflicting facts.
Mneme v1 is successful if:
- Six can answer prior-context questions reliably
- answers come from memory, not bluffing
- important facts survive session resets
- memory becomes easier to inspect and maintain
- broken recall is caught before the user notices
Mneme now includes its first live check:
scripts/mneme_memory_check.py— verify memory config, index health, embeddings readiness, and live recallscripts/mneme_ingest_memory.py— ingest OpenClaw memory files into raw Mneme evidence JSONLscripts/mneme_compile_memory.py— generate a first-pass compiled memory pack from OpenClaw-style notesscripts/mneme_secret_scrub.py— scan memory files for likely secrets and redact obvious raw tokens/passwordsscripts/mneme_memory_drift.py— detect likely contradictions, duplicates, and stale facts in memory filesscripts/mneme_run.py— run the Mneme maintenance flow in one commandscripts/mneme_retrieve.py— lexical-first retrieval with inspectable citationsscripts/mneme.py— single operator CLI wrapper over the Mneme scriptsscripts/mneme_llm_compile.py— prepare/validate LLM-assisted compile passes against raw evidencescripts/mneme_materialize_candidates.py— turn validated LLM candidate entries into compiled outputsscripts/mneme_llm_roundtrip.py— run the end-to-end LLM-assisted compile loop for one categoryscripts/mneme_merge_pack.py— merge reviewed category outputs into one compiled packscripts/mneme_runtime_orchestrate.py— prepare/apply the runtime agent-dispatch seam for Mneme compile runsscripts/mneme_runtime_batch.py— prepare/apply multi-category runtime compile runs
Treat these as transient local artifacts by default:
raw/compiled/
If you need sample data in the repo, keep it tiny and sanitized under examples/ instead of committing private memory evidence.
Run the smoke tests with:
python3 -m unittest discover -s tests -p 'test_*.py'These cover three boring-but-important paths:
- ingest a tiny fixture workspace
- compile fixture raw evidence into outputs
- prepare a runtime task for the
peoplecategory
- Mneme v1 Spec
- Evidence model
- OpenClaw memory references
- Ingest
- Milestone 1 checklist
- Memory check
- Compiler
- Compiler format
- Secret scrub
- Memory drift
- Retrieval
- Shared memory promotion rules
- Operator CLI
- Runner
- LLM compiler
- Candidate materialization
- LLM roundtrip
- Agent-connected workflow
- Build memory with agents
- Runtime orchestration
- Runtime batch flow
- Continuation guide
- Automation
- Roadmap
- Brand copy