MemPalace Memory

Keep conversations and project material in a local, verbatim memory store and retrieve relevant context with semantic search.

Stars
★ 61k
Last updated
1d ago v3.12.0
FARS reviewed
Nov 08, 2026 +1 new
License
MIT
Primary language
Python

At a glance

How it runs
CLIMCP serverAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude CodeOpenAI API · Claude API (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Python 3.10+ChromaDBDocker (optional)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A Claude Code developer who wants to import past sessions locally and search them in later sessions.
Not a fit if
  • Users who need a native Android Termux installation
  • Teams requiring every retrieval and reranking step to avoid external model services
Website
mempalaceofficial.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-04latest release v3.12.0 (2026-11-12)+10.1 ★/day over 7 days
Source review
72/100 · Some gaps

What does this agent do, and when should you use it?

MemPalace is a local-first AI memory system that stores conversation history and project files verbatim, without summarizing, extracting, or paraphrasing them. It uses ChromaDB by default for semantic retrieval and organizes people, projects, topics, and source material as wings, rooms, and drawers. Users can import and search content through the CLI, or let an MCP client read and manage memory through the MCP server; a Python API is also documented. Optional storage backends are available, and the system includes a temporal entity-relationship graph backed by local SQLite. The default retrieval and benchmark path needs no LLM or API key, though the first embedding operation downloads a model; optional LLM reranking or remote embedding adds a dependency on the chosen model or service.

Use mempalace mine to read project files or Claude Code sessions and store their original text in a palace. mempalace search finds relevant memories semantically, and mempalace wake-up loads context for a new session. Run mempalace audit to assess how the palace is organized. The MCP server exposes tools for palace reads and writes, knowledge-graph operations, cross-wing navigation, drawer management, agent diaries, and coordination. mempalace sweep can save conversations as one verbatim drawer per message; if LLM reranking is enabled, a model reranks retrieved candidates.

  1. A Claude Code developer who wants to import past sessions locally and search them in later sessions.
  2. An engineering team that needs to find decisions or technical discussions across projects, organized by project wing and topic room.
  3. A developer using an MCP client who wants an assistant to read or update a local memory store.
  4. An individual or team that wants a semantic index of project files and natural-language retrieval.
  5. A user who wants to maintain entity relationships with validity windows locally and query their timelines in SQLite.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • uv tool install mempalace
Install notes cover
Docker

How do you install or deploy this agent?

The recommended setup installs the CLI in an isolated environment with uv. Initialize a palace, then import project content. pipx is also supported; plain pip is recommended only inside an activated virtual environment. The first operation that needs embeddings downloads the selected model. For Docker, mount persistent storage at /data. Example MCP client configuration:

uv tool install mempalace
mempalace init ~/projects/myapp

Docker MCP server configuration:

{
  "mcpServers": {
    "mempalace": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "mempalace-data:/data",
        "-v", "/absolute/path/to/.claude/projects:/transcripts:ro",
        "ghcr.io/mempalace/mempalace"
      ]
    }
  }
}

How do you use this agent?

Import project files or Claude Code sessions, then search by question; use the wake-up command to load existing context into a new session. Replace the example paths with paths from your system. Example commands:

mempalace mine ~/projects/myapp
mempalace mine ~/.claude/projects/ --mode convos
mempalace search "why did we switch to GraphQL"
mempalace wake-up
mempalace audit

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Stores conversation text verbatim and supports semantic search without relying on summaries to preserve detail.
  • ChromaDB runs locally by default; the README reports 96.6% raw R@5 on 500 LongMemEval questions without an LLM.
  • Offers optional ChromaDB, sqlite_exact, rust_exact, Milvus, Qdrant, and pgvector storage backends.
  • Includes an MCP tool set, CLI, Python API, and auto-save hooks for Claude Code and Codex CLI.
Limitations
  • Requires Python 3.10+; the embedding model must be downloaded, and the README lists model sizes of about 30 MB or 300 MB.
  • Native Android Termux installation is unsupported; Android ARM64 users need a Debian PRoot container.
  • Some backends need extra installation or service configuration; remote embeddings and LLM reranking depend on their configured services or models.
  • On Linux, Docker bind mounts must be readable by the image's uid 1000; native installs also need local storage for the palace, configuration, and model files.

How does this agent compare with similar options?

The README identifies ChromaDB as the default and lists sqlite_exact, rust_exact, Milvus, Qdrant, and pgvector as optional backends. It says the project does not provide comparable benchmarks against Mem0, Mastra, Hindsight, Supermemory, or Zep, so it does not support a performance ranking against them.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
MemPalace Memory This agent 72 · Some gaps CLIFree + model costs ★ 61k 1d ago Python Codex · Claude Code
Cognee Memory Platform 76 · Good Library / SDKFree + model costs ★ 34k today Python Claude Code · OpenAI API
Remnic Agent Memory 73 · Some gaps CLIFree + model costs ★ 244 2d ago TypeScript ChatGPT · Codex · Claude Code · OpenAI API
GrayMatter 66 · Some gaps CLIFree ★ 490 8d ago Go Codex · Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
72/ 100 5-point scale 3.6 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 18/29
Reliability 8/14
Adaptability 15/18
Convention 16/18
Effectiveness 9/13
Verifiability 6/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The README and AGENTS/CLAUDE describe local storage and no default API use; external providers require configuration. Skills require explicit intent for imports, bulk cleanup, and host settings, and Docker examples allow read-only source mounts. These support least privilege, confirmation, data-flow transparency, and external-effects handling, but the sample omits detailed MCP permissions and the full code data flow. Sensitive-data guidance includes short private queries and keeping tokens out of instructions and events, but does not establish comprehensive retention or encryption controls. Dependencies have version constraints and selected security notes, though no complete audit evidence is supplied. Rollback guidance covers some recovery operations with offline recovery and backups, but evidence for a general rollback mechanism is thin. Author names, repository attribution, and a private vulnerability-report path are shown; publisher identity remains unknown as specified.

Reliability8 / 14 · 2.9/5

The README, skills, and code cover local and server backends, CLI, MCP, and a Rust engine; CI configuration spans several platforms. However, absolute claims that data never leaves the machine coexist with optional remote backends, external embedding endpoints, and shared servers, so they need qualification as describing defaults. Dependency and installation paths are documented, but the sample does not provide a fully locked runtime dependency set. Rust error types and Python mappings are readable, though this sample cannot establish failure handling across all runtime paths.

Adaptability15 / 18 · 4.2/5

The material identifies memory recall, project and conversation mining, agent task coordination, private local use, and shared-server use, with multiple clients, backends, devices, and platform paths. Skills distinguish recall, greenfield tasks, setup, and maintenance and define tool boundaries. Some configuration and protocol details depend on external references, and the full capability boundaries require source not included here.

Convention16 / 18 · 4.4/5

The README is organized around purpose, installation, backends, quick start, benchmarks, capabilities, and limitations, with concrete CLI, Docker, MCP, and platform examples. Installation, requirements, and Termux/GPU limitations are specific. File and package names are mostly consistent, but multiple skills, plugins, and MCP surfaces make naming stability only partly established. The MIT license is explicit. Version 3.12.0 appears across manifests, and CI and security policy describe maintenance practices; the sample does not include changelog contents or a clear long-term maintenance-responsibility commitment, so those criteria are not full marks.

Effectiveness9 / 13 · 3.5/5

The product combines verbatim memory, semantic retrieval, a temporal knowledge graph, agent coordination, and multiple backends into usable tools; search results can expose source-time metadata. Skills call for small result sets, scoped retrieval, and reporting what was checked after bounded fallback. Benchmark numbers and reproduction commands are described, but the benchmark methodology and per-question files are not included here, so the 'best' claim cannot be confirmed from this packet. Model downloads, re-embedding, deployment configuration, and external services have costs that are partly quantified but not compared comprehensively.

Verifiability6 / 8 · 3.8/5

The README points benchmark figures to methodology and per-question files and avoids comparisons across unlike metrics. Code, manifests, skills, and security policy provide some corroboration for local mode, read-only database access, versions, and installation entry points. The cited benchmark files, complete MCP implementation, and all skills are absent from this sample, limiting corroboration. The authored_at document distinguishes stored fields, fallbacks, and inferred dates; the README also identifies benchmark claims, limitations, and first-use network downloads, showing useful separation between facts and inferences.

Risks and how to mitigate them
  • Read 'data never leaves your machine' as applying to the default local mode; remote backends, shared servers, or external embedding endpoints change the data flow according to user configuration.
  • The README gives benchmark reproduction paths, but this review packet omits the methodology and per-question results; do not treat the 'best' description as proof of superiority over other systems.
  • The system stores verbatim conversations and supports auto-save hooks; confirm corpus, scope, storage location, and backup plan before importing.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision fa6ae179d852 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/mempalace.svg)](https://followagents.com/en/agents/mempalace)
<a href="https://followagents.com/en/agents/mempalace"><img src="https://followagents.com/badge/mempalace.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v3.12.0 v3.12.0 — verbatim mining, recoverable writes
    Release notes excerpt
    MemPalace 3.12 keeps source text and bytes intact, makes interrupted re-mines recoverable, and cuts the work needed to maintain large palaces. Timestamps and project wings now follow the same rules across tools and hooks. Antigravity gains a visual Palace explorer, and the final release review fixes graph identity collisions, concurrent checkpoint duplicates, document filtering, and newest-first pagination. Upgrade notes - Python 3.10 or newer is required. Python 3.9 is no longer supported; native wheels use the Python 3.10+ ABI. …
    View on GitHub ↗
  2. v3.11.0 v3.11.0 — audit, repair and opt-in EmbeddingGemma 2
    Release notes excerpt
    A palace can now be audited and repaired in guided steps, and EmbeddingGemma 2 arrives as an opt-in embedder with native image, audio and video search. Every palace records the embedding model that built it and refuses to open with a different one. Conversation mining stops discarding text, status, search, wake-up and hub mines stay responsive on large palaces, and a round of correctness fixes from the 3.11 review hardens metadata updates, recovery and HTTP validation. Upgrade notes …
    View on GitHub ↗
  3. v3.10.0 v3.10.0 — lighter ways in for agents
    Release notes excerpt
    Agents get lighter ways in: a 3-tool MCP server with Palace Query Language, shared-brain rules for host:harness:project identities, and optional native exact-vector search. New installs follow XDG, and storage fixes close a silent write-loss path, a macOS integrity refusal and several hangs. Upgrade notes - mempalace rules no longer accepts --agent. Pass --host, --harness and --project, then re-render any installed shared-brain block. (#2508) …
    View on GitHub ↗

FAQ

Do I need an API key or paid model for core retrieval?
No. The README's raw semantic retrieval benchmark path needs no API key or LLM. LLM reranking and remote embeddings are optional and may require their respective model or service.
Does data leave my machine?
The README says data stays local unless you opt in to an external service. A remote embedding endpoint receives content for embedding; when LLM reranking is enabled, candidate content is sent to the configured model.
Why might the first use be slow?
The first embedding operation downloads a model. The README gives container cache sizes of about 80 MB for the default minilm in one section and about 30 MB in another, and about 300 MB for embeddinggemma. The initial download needs network access.
Can I install it natively in Android Termux?
No. Native Termux installation is unsupported because compiled dependencies publish Linux wheels rather than Android wheels. Android ARM64 users can run the Linux packages in a Debian PRoot container, according to the guide.
How do I keep Claude Code sessions saved?
The README warns that Claude Code sessions expire after 30 days without auto-save hooks. It documents hook setup and recommends backing up existing JSONL transcripts before importing them.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts