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

Compartment

Compartment is a Python developer tool that stores persistent AI-agent memories in an encrypted vault on the user's computer and exposes them to MCP clients for reading and writing.

Independent OpenViST project profile, based on linked sources.

Compartment — 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 it when an MCP-connected agent needs persistent, locally stored context across sessions or projects, rather than a hosted memory service.

Who it is for

  • Developers configuring MCP-compatible AI assistants.
  • Users who want agent context to persist across sessions and projects on one computer.
  • People evaluating local encrypted storage for agent memory.

Documented uses

  • Keep useful agent context available after a conversation ends.
  • Share one persistent memory vault among MCP clients on the same machine.
  • Search stored memories using vector and keyword retrieval.
  • Track the source and date of a memory and set an expiry date.
Before you choose

Requirements & limits

The README describes local operation without an account or API key. It documents installation with pip and initialization using the compartment command.

  • Requires a Python-based local installation and an MCP client to use agent read/write access.
  • The embedding model is included in the package; the README describes hybrid vector and keyword search.
  • The vault and embedding vectors are described as encrypted, with access opened by a passphrase.
  • The project documents a graphical panel and memory map alongside command-line tools.
  • The repository specifies the Apache-2.0 license.

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 Compartment and connect it to Claude

Create a local Compartment vault and register it as Claude’s memory through MCP.

Before you start

  • Python package installation using pip.
  • Claude Code or Claude Desktop.
  • A passphrase for initializing the vault.

Steps

  1. Install Compartment with the command below.

    Documented command
    pip install compartment
  2. Create the vault with compartment init and provide a passphrase when prompted.

  3. Run compartment integrate claude to register Compartment with Claude and apply the documented Claude integration.

Expected outcome

Claude can use Compartment’s MCP memory tools, including search, store, recent, forget, status, and lock.

Guide limitations

  • This integration guide covers Claude Code and Claude Desktop; other clients have separate setup paths.
  • The integration imports existing Claude Code memory files without modifying them; removing those files is a separate manual action.
  • The source describes the vault as encrypted and local, with no API key or account required.
Source-based practical guide

Install Compartment and select it as Hermes Agent memory

Set up Compartment and select it through Hermes Agent’s memory provider picker.

Before you start

  • Python package installation using pip.
  • Hermes Agent.

Steps

  1. Install Compartment with the command below.

    Documented command
    pip install compartment
  2. Create a vault with compartment init.

  3. Run compartment integrate hermes to configure the Hermes integration.

  4. In Hermes, use hermes memory setup and select Compartment from the provider picker.

Expected outcome

Hermes is configured to use Compartment as its memory provider; the documented integration exposes search, store, and forget tools.

Guide limitations

  • The source says the vault stays unlocked until reboot after initialization; it does not document a different unlock workflow for this setup.
  • The source describes Compartment as a local encrypted provider that needs no API key or cloud account.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
MaxFreedomPollard/Compartment · Official homepage title · retained in its source language