Compartment is a local memory store for AI agents. It keeps what an agent learns across sessions on the user's own machine, with the data encrypted and never sent to a remote server. It suits people who run coding or chat agents and want their context kept private.
Installation is meant to be a single step, and it works across several operating systems and agent clients. A graphical window draws the stored memory as a map. The source is published under the Apache-2.0 license, so anyone can read, run or modify it.
Alternatives to Compartment
Products that do a similar job in MCP: AI & Media.
ctxstore
Persistent memory server for AI agents across different models
iai-personal-memory-engine
Local memory server that lets AI agents recall earlier conversations and preferences
Khwan MCP
MCP server that gives AI agents persistent memory across sessions
MOOTx01
Local, private memory store that AI assistants can read and write over MCP
ruflo
Multi-agent orchestration harness for Claude Code and other coding agents
basic-memory
Local Markdown memory that lets AI assistants keep project context
MemCell MCP
Shared persistent memory for AI agents across sessions
Amber MCP
Persistent memory server for AI assistants across MCP clients