VoiceMem
xzf-thu
Streaming dual-brain memory for real-time voice agents, separating factual recall from emotional/personality state.
What is VoiceMem?
A memory framework purpose-built for voice agents. A 'left brain' organizes factual information through schemas and entities for precise retrieval, while a 'right brain' independently tracks emotions, personality traits and relationships. A streaming pipeline handles audio segmentation, transcription and memory extraction while the conversation is still happening, using FunASR/sherpa-onnx for speech recognition, 3D-Speaker for speaker verification and multilingual-e5 embeddings, injecting only the top-ranked memories into the model's context.
| Fact | Value |
|---|---|
| Maintainer | xzf-thu |
| GitHub stars | 2,201 (as of 2026-09-23) |
| Forks | 146 |
| License | Apache-2.0 |
| License type | OSI-open |
| Category | Agent memory and code knowledge |
| Status | Rising |
| Edition | 2026-09 |
| Last verified | 2026-09-23 |
VoiceMem in depth
Most memory layers built for LLM agents were designed around text chat, then adapted for voice as an afterthought, which shows up as latency and a flat, facts-only notion of what is worth remembering. VoiceMem, from researcher xzf-thu, starts from voice instead. Its own framing is direct: it aims to give voice agents the final missing component, something like a soul, so they come to understand a user better over time. The project backs that ambition with a technical report on arXiv and a genuinely streaming architecture rather than a batch-processed memory layer bolted onto an existing voice pipeline.
The core idea is a dual-brain split. A 'left brain' organizes factual information through schemas and entities for precise retrieval, while a 'right brain' independently tracks emotions, personality traits, and relationships through their own and cross-entity nodes. A streaming pipeline handles audio segmentation, transcription, and memory extraction while the conversation is still happening, rather than after the call ends, using FunASR or sherpa-onnx for speech recognition, 3D-Speaker for speaker verification, and multilingual-e5 embeddings. At query time, the system routes, ranks, and injects only the top-scoring memories into the model's context, keeping token usage down.
The natural audience is teams building real-time voice agents, assistants, companions, or support bots, who need the agent to recall both facts (a user's preferences, past requests) and emotional context (how a relationship has evolved) across sessions, without breaking the low-latency requirement that voice interaction demands. The repository ships a full evaluation harness against established benchmarks, LoCoMo and PersonaMem, plus a web demo, which makes it usable as a research starting point rather than only a paper's supplementary code.
The caveats reflect a project still very early in its life. The first release, v0.0.1, and the current v0.0.2 both shipped on the same day, September 1, 2026, so there is essentially no track record of stability across releases yet. The headline comparisons against Mem0, a 91.2 percent LoCoMo score versus 61.68 percent, a 134 millisecond response time versus 1,440 milliseconds, and roughly 430 memory tokens versus 6,956, are the project's own benchmark results and have not been independently reproduced. Open issues also flag that emotion labels and personality traits default to Chinese even for English-speaking users, a concrete localization gap.
The verdict: VoiceMem is a serious, well-documented research project addressing a real gap, memory that understands both facts and emotional context for voice agents, backed by a paper and a reproducible evaluation suite rather than marketing alone. Adopt it if you are building or researching voice agents and want a head start on emotion-aware, low-latency memory, accepting that this is week-one software. It is too early for production voice products, or for anything needing verified non-Chinese-default behavior and independently confirmed benchmark numbers.
Pros & Cons
Pros
- Apache-2.0, real streaming pipeline (ASR, speaker verification, memory extraction) rather than just a prompt wrapper
- Backed by a technical report on arXiv and a reproducible evaluation suite in the repo (LoCoMo, PersonaMem)
- Purpose-built for voice, not text-chat memory retrofitted for audio - separates factual and emotional memory explicitly
Cons
- Very young: first release v0.0.1 on September 1, 2026, two releases total
- Headline comparisons against Mem0 (91.2% vs 61.68% on LoCoMo, 134ms vs 1,440ms response time) are the project's own benchmark, not independently verified
- Open issues report emotion labels and personality traits defaulting to Chinese even for English-speaking users - a real localization gap to check before non-Chinese deployments
License
Apache-2.0 (OSI-open)
When it is interesting
Voice-agent builders who need persistent, emotion-aware memory across sessions and are comfortable running a research-stage project.
When it is too early
Production voice products needing stable APIs or verified-language behavior outside Chinese/English.
Commercial alternative & related
- Commercial counterpart: Mem0
This repo featured in the 2026-09 edition of the Open-Source AI Radar.
claude-mem
thedotmack
Persistent memory layer across agent sessions with automatic semantic summaries and token-cost transparency.
graphify
safishamsi
AI coding skill that turns a folder of code, docs and images into a queryable knowledge graph across 20+ agents.
memU
NevaMind-AI
Memory framework for proactive AI agents - typed memory graph from chats, docs and media.