MemPalace: Local-first AI memory with verbatim storage and a pluggable backend (60k stars)
What it does
All text below is quoted directly from the project README.
>The best-benchmarked open-source AI memory system. And it's free.
What it is:
- MemPalace stores your conversation history as verbatim text and retrieves it with semantic search.
- It does not summarize, extract, or paraphrase.
- The retrieval layer is pluggable.
- The current default is ChromaDB; the interface is defined in mempalace/backends/base.py and alternative backends can be dropped in without touching the rest of the system.
- Nothing leaves your machine unless you opt in.
>uv tool install mempalace
Repository
MemPalace/mempalace
Repository stats
|Metric|Value|
|:-|:-|
|Stars|60,124|
|Forks|7.6k|
|Last release|v3.11.0 (2026-10-14)|
|Languages|Python 95.5%, Shell 1.4%, JavaScript 0.8%|
|Contributors|172|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|@claude (141 commits), @cursoragent (45 commits), @Copilot (23 commits), @Copilot (4 commits), @Copilot (3 commits)|
|AI co-authored commits|Claude: 149, Cursor: 16, Copilot: 9|
Main contributor
|Field|Value|
|:-|:-|
|Name|Igor Lins e Silva|
|GitHub|@igorls|
|Commits to this repo|800 (top contributor)|
|Bio|CTO @ RioBlocks EOS Rio|
|Company / Location|Rio de Janeiro, Brasil|
|Followers|425|
──────────────────────────────
📌 If you want to browse more repos like this, we've organized them by category and rankings here: bestgithubrepositories.com
🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.
3 points
Test Mempalace Results: 11 storage checks passed with 10 synthetic records in MemPalace. Separate backend suite: 103 passed, 2 failed. Artificial vectors: this tested storage, not semantic memory quality. No app integration.
MemPalace/mempalace
#OpenSource
3 likes
source: the caution box in the MemPalace README + its history doc (11 Apr 2026 entry, issues #267, #326, #506). old incident, warning still on top.
MemPalace/mempalace
1 like · 15 views
agent 用久了就失忆,翻旧会话全靠运气?
MemPalace 给 agent 安个本地记忆宫殿:对话原样存、不改写,人和项目分翼、话题分房,按范围搜。
说白了,记不住的 agent 不值得托付长活,适合常年跑同一项目的人。
你现在的 agent 还记得上周的决定吗?
#AI记忆 #Agent @grok
MemPalace/mempalace
1 like · 86 views
Search all your past Claude Code sessions with MemPalace
Every Claude Code session starts from zero. You explain why you picked GraphQL, and three days later you explain it again. Worse, the MemPalace README warns that Claude Code sessions expire in 30 days unless you wire auto-save hooks. MemPalace is a local-first memory tool that stores your conversation history verbatim and lets you search it in plain language. Here is the CLI route, with the commands from the README. The short version is on the Deduped use-case page.
What it is
MemPalace stores conversation text as it was written. It does not summarize or paraphrase. The index is structured: people and projects become wings, topics become rooms, and original content lives in drawers, so you can scope a search instead of querying one flat pile. The default backend is ChromaDB, and per the README nothing leaves your machine unless you opt in.
Install
The README recommends installing the CLI in an isolated environment, which avoids PEP 668 errors on Debian, Ubuntu and Homebrew Pythons:
uv tool install mempalace
# or
pipx install mempalace
There is also an agent-guided route. Install the skills, then ask your coding agent to set it up:
npx skills add MemPalace/mempalace
The setup skill detects your system, installs the package, configures MCP and asks whether you want a private local palace or a shared one. Installing the skill alone does not install the CLI or MCP server, so let the agent finish the guided setup.
Mine your project and your sessions
Point it at a project:
mempalace init ~/projects/myapp
mempalace mine ~/projects/myapp
Then mine your Claude Code transcripts:
mempalace mine ~/.claude/projects/ --mode convos
Use --wing to scope each project to its own wing, so a search about one app does not pull in another.
Search and wake up
Ask the question you keep re-explaining:
mempalace search "why did we switch to GraphQL"
You get the original conversation back, not a summary of it. To start a new session with context loaded, run:
mempalace wake-up
To check how well organized the palace is, run the read-only audit:
mempalace audit
Make Claude use it
A search tool only helps if the agent runs it. A prompt you can put in your first message or in CLAUDE.md:
> Before answering any question about past decisions in this repo, run mempalace search with the question and quote the matching original text. Do not delete or move any transcript files.
For other ways to give Claude Code memory, compare with claude-mem, which summarizes instead of storing verbatim, or the Deduped page on Docker MCP memory for Claude Code.
Things to know
- The palace holds your full transcripts verbatim. Keep it on a disk you trust, and be careful with anything containing secrets.
- Back up your existing JSONL transcripts before relying on any of this. The README links a Claude Code retention checklist for the auto-save hooks.
- Mining a large history takes time, so start with one project.
- Verbatim storage means bigger storage than summaries, which is the trade for exact recall.
If your sessions keep losing context, this is a 20 minute fix: install, mine, search, and add one line to your rules file.
Want the setup commands for 50 AI repos people actually ship with? Get the free AI Repos That Actually Ship pack: dedupedai.com
---
Get one email every Monday with the week's hottest AI repos and exactly how to use them: subscribe free at dedupedai.com
@dfolloni Tenho trabalhado no MemPalace, pode ser que ajude MemPalace/mempalace
2 likes · 163 views
Free, local AI memory that hits 96.6% recall on LongMemEval with zero API calls. 🔗 MemPalace/mempalace
Credits: MemPalace/mempalace
#mempalace #python #ai
1 like
mempalace: local long-term memory for your coding agents. no cloud, no API key
MemPalace/mempalace
1 like · 15 views
好几位好莱坞影星是编程爱好者。
生化危机女主Milla Jovovich的开源项目MemPalace/mempalace 有6万Stars。 t.co
1 like · 252 views
Mentions
MemPalace: Local-first AI memory with verbatim storage and a pluggable backend (60k stars) What it does All text below is quoted directly from the project README. >The best-benchmarked open-source AI memory system. And it's free. What it is: - MemPalace stores your conversation history as verbatim text and retrieves it with semantic search. - It does not summarize, extract, or paraphrase. - The retrieval layer is pluggable. - The current default is ChromaDB; the interface is defined in mempalace/backends/base.py and alternative backends can be dropped in without touching the rest of the system. - Nothing leaves your machine unless you opt in. >uv tool install mempalace Repository MemPalace/mempalace Repository stats |Metric|Value| |:-|:-| |Stars|60,124| |Forks|7.6k| |Last release|v3.11.0 (2026-10-14)| |Languages|Python 95.5%, Shell 1.4%, JavaScript 0.8%| |Contributors|172| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|@claude (141 commits), @cursoragent (45 commits), @Copilot (23 commits), @Copilot (4 commits), @Copilot (3 commits)| |AI co-authored commits|Claude: 149, Cursor: 16, Copilot: 9| Main contributor |Field|Value| |:-|:-| |Name|Igor Lins e Silva| |GitHub|@igorls| |Commits to this repo|800 (top contributor)| |Bio|CTO @ RioBlocks EOS Rio| |Company / Location|Rio de Janeiro, Brasil| |Followers|425| ────────────────────────────── 📌 If you want to browse more repos like this, we've organized them by category and rankings here: bestgithubrepositories.com 🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.
Test Mempalace Results: 11 storage checks passed with 10 synthetic records in MemPalace. Separate backend suite: 103 passed, 2 failed. Artificial vectors: this tested storage, not semantic memory quality. No app integration. MemPalace/mempalace #OpenSource
source: the caution box in the MemPalace README + its history doc (11 Apr 2026 entry, issues #267, #326, #506). old incident, warning still on top. MemPalace/mempalace
agent 用久了就失忆,翻旧会话全靠运气? MemPalace 给 agent 安个本地记忆宫殿:对话原样存、不改写,人和项目分翼、话题分房,按范围搜。 说白了,记不住的 agent 不值得托付长活,适合常年跑同一项目的人。 你现在的 agent 还记得上周的决定吗? #AI记忆 #Agent @grok MemPalace/mempalace
Search all your past Claude Code sessions with MemPalace Every Claude Code session starts from zero. You explain why you picked GraphQL, and three days later you explain it again. Worse, the MemPalace README warns that Claude Code sessions expire in 30 days unless you wire auto-save hooks. MemPalace is a local-first memory tool that stores your conversation history verbatim and lets you search it in plain language. Here is the CLI route, with the commands from the README. The short version is on the Deduped use-case page. What it is MemPalace stores conversation text as it was written. It does not summarize or paraphrase. The index is structured: people and projects become wings, topics become rooms, and original content lives in drawers, so you can scope a search instead of querying one flat pile. The default backend is ChromaDB, and per the README nothing leaves your machine unless you opt in. Install The README recommends installing the CLI in an isolated environment, which avoids PEP 668 errors on Debian, Ubuntu and Homebrew Pythons: uv tool install mempalace # or pipx install mempalace There is also an agent-guided route. Install the skills, then ask your coding agent to set it up: npx skills add MemPalace/mempalace The setup skill detects your system, installs the package, configures MCP and asks whether you want a private local palace or a shared one. Installing the skill alone does not install the CLI or MCP server, so let the agent finish the guided setup. Mine your project and your sessions Point it at a project: mempalace init ~/projects/myapp mempalace mine ~/projects/myapp Then mine your Claude Code transcripts: mempalace mine ~/.claude/projects/ --mode convos Use --wing to scope each project to its own wing, so a search about one app does not pull in another. Search and wake up Ask the question you keep re-explaining: mempalace search "why did we switch to GraphQL" You get the original conversation back, not a summary of it. To start a new session with context loaded, run: mempalace wake-up To check how well organized the palace is, run the read-only audit: mempalace audit Make Claude use it A search tool only helps if the agent runs it. A prompt you can put in your first message or in CLAUDE.md: > Before answering any question about past decisions in this repo, run mempalace search with the question and quote the matching original text. Do not delete or move any transcript files. For other ways to give Claude Code memory, compare with claude-mem, which summarizes instead of storing verbatim, or the Deduped page on Docker MCP memory for Claude Code. Things to know - The palace holds your full transcripts verbatim. Keep it on a disk you trust, and be careful with anything containing secrets. - Back up your existing JSONL transcripts before relying on any of this. The README links a Claude Code retention checklist for the auto-save hooks. - Mining a large history takes time, so start with one project. - Verbatim storage means bigger storage than summaries, which is the trade for exact recall. If your sessions keep losing context, this is a 20 minute fix: install, mine, search, and add one line to your rules file. Want the setup commands for 50 AI repos people actually ship with? Get the free AI Repos That Actually Ship pack: dedupedai.com --- Get one email every Monday with the week's hottest AI repos and exactly how to use them: subscribe free at dedupedai.com
@dfolloni Tenho trabalhado no MemPalace, pode ser que ajude MemPalace/mempalace
Free, local AI memory that hits 96.6% recall on LongMemEval with zero API calls. 🔗 MemPalace/mempalace Credits: MemPalace/mempalace #mempalace #python #ai
mempalace: local long-term memory for your coding agents. no cloud, no API key MemPalace/mempalace
好几位好莱坞影星是编程爱好者。 生化危机女主Milla Jovovich的开源项目MemPalace/mempalace 有6万Stars。 t.co