Vendor-agnostic harness for evaluating memory systems: it scores answers and classifies why a question failed.
Ingest conversational sessions into a backend (any adapter), ask benchmark questions, judge the answers, then on each FAIL snapshot the store and assign a stage: extraction, conflict resolution, mutation, or retrieval. Inspect one case with memx debug.
A run ingests the full official history on each case (LoCoMo conversation or LongMemEval haystack) before asking selected questions. --limit / --random only choose which questions to score.
- Pass/fail per question (LLM judge)
- A Diagnostic Summary of FAIL counts by stage
.memx/last_run.jsonwith gold, candidate, retrieval, state diff, and diagnosismemx debugfor one record: question, gold, provider answer, retrieved facts, stage badge, state diff
Passes are not classified. If the judge failed but the store and retrieval look correct, the stage is No Failure (often answer synthesis, not memory).
| Stage | Meaning |
|---|---|
| 1 Extraction | Needed fact never entered the store |
| 2 Conflict resolution | Two relevant truths both ACTIVE, no supersedes link |
| 3 Mutation | Conflict linked, old row still ACTIVE |
| 4 Retrieval | Store looks correct; search missed the fact |
Details: docs/diagnostics.md.
Python 3.11+. The PyPI name is memx-eval; the CLI and import stay memx.
pip install memx-eval
pip install "memx-eval[providers]" # Mem0 + SuperMemory SDKsFrom this repo: pip install -e ".[dev]" (or ".[mem0]" / ".[supermemory]" / ".[providers]").
export SUPERMEMORY_API_KEY=... # or MEM0_API_KEY and --adapter mem0
memx datasets pull locomo
memx run --dataset locomo --adapter supermemory --limit 5 --randomSee docs/adapters.md.
Docs: docs/README.md. Local site:
cd website && npm install && npm run devhttp://localhost:3000. npm run build writes website/out/ (set the host project root to website/; the build still reads ../docs).
pytest tests/ -vMIT. See LICENSE.

