What is MemPalace?
Open-source local memory for AI agents such as Claude Code, saving chats verbatim for search.
Who is MemPalace best for?
MemPalace is best for developers who want their AI coding agents to remember past sessions word for word, on their own machine.
Claude Code, Codex and Cursor users
Auto-save hooks file each session at the end and before context compression, so earlier work can be searched instead of lost.
Private, offline memory
Storage, chunking and embeddings all run locally in ChromaDB and SQLite, with nothing uploaded and no OpenAI or Anthropic key needed.
Exact recall over summaries
It keeps the original words rather than summaries, and files them by person, project and topic so searches can be scoped.
Teams of specialist agents
Each agent gets its own wing and diary, and 45 MCP tools cover reads, writes, a knowledge graph and handoffs between agents.
How much does MemPalace cost?
MemPalace is free and open source under the MIT license, with no paid tier and no hosted plan: you install it on your own machine.
- MIT license, code on GitHub
- Runs locally with no API keys
- Install with uv, pipx, pip or Docker
MemPalace has no paid plan or hosted service. It needs Python 3.9 or later and about 300 MB of disk for the embedding model. Full pricing on github.com. We checked these prices on .
How do readers rate MemPalace?
No one has rated MemPalace yet. Be the first.
Sign in to rate. One rating per account.
Is MemPalace open source?
Yes. MemPalace's code is public under the MIT licence, so you can read it, change it and run it yourself.
On GitHub
60,647stars
- Last commit
- 20 Nov
- Repository age
- 8 months
- Latest release
- 12 Nov
- Licence
- MIT
- Self-hosted
- No
- Repository
- MemPalace/mempalace
What are the best MemPalace alternatives?
MemPalace is an open source alternative to Zep. Honcho, Letta and Vectorize do the same job and are open source too.
Questions about MemPalace
What is MemPalace?
Open-source local memory for AI agents such as Claude Code, saving chats verbatim for search.
Who is MemPalace for?
MemPalace is best for developers who want their AI coding agents to remember past sessions word for word, on their own machine.
Is MemPalace free?
Yes. MemPalace has a free plan: MIT license, code on GitHub.
Is MemPalace open source?
Yes. MemPalace's code is public under the MIT licence, so you can read it, change it and run it yourself.
What are the best MemPalace alternatives?
The closest alternatives on Recaply are Zep, Honcho, Letta and Vectorize.
Which MemPalace websites are official?
Only three: the MemPalace/mempalace repository on GitHub, the mempalace package on PyPI and the docs at mempalaceofficial.com. The maker warns that other domains, including .tech, .net and other .com versions, are impostors that may spread malware.
Does MemPalace need an API key?
No. Extraction, chunking and embedding run on your own machine, so MemPalace works offline without an OpenAI or Anthropic key. You can optionally send embeddings to an OpenAI-compatible server such as LM Studio or Ollama.







