Who it is forA researcher or engineer who needs a reproducible score for a memory system and wants to compare it with published numbers.
The problemMemory benchmarks are easy to run wrong, for example by giving the reply model the full conversation instead of only retrieved memory.
The outcomeA score report with accuracy by question type and median retrieval latency, produced by a documented command.
What you need first
- Python 3.10 or newer
- An OpenAI API key, used for fact extraction when memories are written
- Git and access to GitHub and Hugging Face to clone the repo and download the default models
- Audio input (a WAV file or a microphone) if you want to ingest speech
Steps
- Clone the repo and run
python evaluation/run.py --dataset locomo --data evaluation/examples/locomo_sample.jsonas a small check. (inferred, check the README) - Run
python evaluation/run.py --dataset locomo --data data/locomo.json --inspectto confirm the dataset parses without calling any model. (inferred, check the README) - Set
export OPENAI_API_KEY=sk-...and runpython evaluation/run.py --dataset locomo --data data/locomo.jsonfor the full benchmark. (inferred, check the README) - Read evaluation/README.md for how to add another benchmark with one file and two functions.
Prompt for your agent
In the VoiceMem repo at <repo path>, run the LoCoMo sample with evaluation/run.py, then run the full dataset only after the sample passes. Report the overall score, the per-category scores, and median retrieval latency. Verify that the answer model received retrieved memory and not raw conversation history.
Caveat. The full run calls the OpenAI API, so the README's inspect mode should be used first to avoid unexpected charges.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for xzf-thu/VoiceMem and "Run the LoCoMo benchmark on a memory system"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer