OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Memory & RAG

Voicemem

VoiceMem is open-source Python infrastructure for adding persistent memory to voice agents. Its two-track design separates factual information from emotion-related context, and its streaming interface can retrieve memories while audio is still arriving. It supports ingestion from audio as well as direct factual text, giving developers a memory component to connect to an agent rather than a standalone consumer assista

Independent OpenViST project profile, based on linked sources.

Voicemem — OpenViST project profile in Agent Memory & RAG.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use VoiceMem when building a voice agent that needs persistent context across interactions, particularly when the agent should retrieve relevant memory while a user is still speaking.

Who it is for

  • Developers integrating persistent memory into voice agents.
  • Teams that need both factual and emotion-related conversational context.
  • Python practitioners building systems with offline or streaming audio workflows.

Documented uses

  • Store facts extracted from audio or entered directly as text.
  • Retrieve relevant stored context in response to a question.
  • Start retrieval during an audio turn rather than waiting for the full utterance.
  • Keep factual and emotion-related memories available as separate result tracks.
Before you choose

Requirements & limits

VoiceMem is self-hosted Python software. The repository identifies an Apache-2.0 license and documents Python 3.10 or later.

  • The base package bundles speech recognition, speaker identification, scene and emotion processing, and local embedding components.
  • The setup instructions include downloading a default model environment separately from installing the package.
  • The examples configure an OpenAI API key; the optional voicemem[slm] extra adds the fine-tuned Qwen reply model.
  • The repository describes components, including the underlying memory engine, as replaceable.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install VoiceMem and download its model environment

Prepare the Python package and default model files for a VoiceMem integration.

Before you start

  • Python 3.10 or later
  • A working Python package installation environment

Steps

  1. Clone the VoiceMem repository and change into its directory.

  2. Install the memory system with pip install voicemem.

  3. Install or upgrade huggingface_hub.

  4. Download zhifeixie/VoiceMem_Default_Models_Env into a local models directory.

Expected outcome

The VoiceMem package is installed and the documented default model environment is downloaded locally.

Guide limitations

  • These steps cover setup only; they do not configure or run an agent.
  • The optional voicemem[slm] extra is for the fine-tuned Qwen reply model and is not included in the base installation.
Source-based practical guide

Ingest and retrieve a factual memory

Use the documented Python interface to store a factual statement and search for it.

Before you start

  • Python 3.10 or later
  • VoiceMem installed and its default model environment downloaded
  • An OpenAI API key configured for the example

Steps

  1. Create a VoiceMem instance in normal mode with the API key and a top_k value.

  2. Call warmup() to load local models before the first request.

  3. Ingest an audio file or a factual text statement.

  4. Call search() with a question about the stored information and inspect the returned memory results.

Expected outcome

The example returns search results from VoiceMem's factual and emotion-related memory tracks; factual text can also be stored in leftbrain_only mode.

Guide limitations

  • The repository notes that ingestion performs fact extraction, tagging and graph construction, while search uses vector retrieval.
  • The guide describes the package calls shown in the repository and does not establish compatibility with a particular agent framework.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
10 October 2026
Original website title
xzf-thu/VoiceMem · Official homepage title · retained in its source language