Who it is forA developer or product person who wants to see the streaming voice memory working before building on it.
The problemReading about a streaming memory architecture does not show how memory is retrieved before the speaker finishes a sentence.
The outcomeA local web page at localhost:8787 where you speak, see transcripts, and check that a stated fact is recalled in a later turn.
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, install with
pip install voicemem, and download models withhf download zhifeixie/VoiceMem_Default_Models_Env --local-dir ./models. - Run
python web/run.pyfrom the repo folder. - Open http://localhost:8787 in a browser and unmute the audio before playback.
- Say a fact about yourself, then ask a question about it in a later turn and check the reply.
Prompt for your agent
In the VoiceMem repo at <repo path>, start python web/run.py and open http://localhost:8787. Ask the user to state a fact, then to ask about it. Expected output is a reply that uses the stated fact. Verify the log file in results/logs was written.
Caveat. The demo needs a microphone and browser audio permissions, and the README warns that playback needs audio unmuted.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for xzf-thu/VoiceMem and "Run the Voice Mem voice demo in a browser"
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