Who it is forA developer building a group chat or meeting assistant who needs to check that retrieved evidence keeps speaker attribution before wiring in a model.
The problemGeneral memory tools can lose track of which person made a statement, so answers about a specific person or group decision can be wrong.
The outcomeA local run prints memory statistics and retrieved entries, each tagged with its speaker.
What you need first
- Python with the ability to create a virtual environment
- A CPU environment is enough for the quickstart and offline checks
- Model service credentials (kept outside version control) for full benchmark runs
- Benchmark payloads placed as described in DATA_SOURCES.md for full evaluations
Steps
- Run
python3 -m venv .venvand thensource .venv/bin/activateat the repository root. - Run
python -m pip install --upgrade pip. - Run
python -m pip install -r code/requirements.txt. - Run
python -m pip install -e code/speakermem_pkg. - Run
python code/speakermem_pkg/examples/quickstart.pyand read the stats and the speaker-tagged entries printed for the two sample questions.
Prompt for your agent
Clone the SpeakerMem-R1 repo (2022hpsk/SpeakerMemR1), set up the virtual environment and install the package as its README describes, then run code/speakermem_pkg/examples/quickstart.py. Report the memory stats and the retrieved entries for the questions 'Who handles evaluation?' and 'What does Bob handle?'. Verify that each retrieved entry shows the speaker name.
Caveat. The quickstart only returns stored evidence; it does not generate answers, and the first run may download the all-MiniLM-L6-v2 embedding model.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for 2022hpsk/SpeakerMemR1 and "Retrieve speaker-labeled evidence from a group chat locally"
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