Head to head · Agent memory · October 2026 research run
LangMem vs MemPalace
MemPalace scores 65.7 (B) on agent readiness against LangMem's 48.3 (D), and leads in 5 of 7 scored categories. LangMem leads on transparency & trust. Both do agent memory.
Best memory layers for AI agents · All 188 memory comparisons
Which one, for what
LangMem D
Best for Teams already on LangGraph that want memory tools and background extraction over a store they run.
Ahead on
- Transparency & trust, 63 against 58
Also in its favour
- No incidents deducted, where MemPalace loses 4 points for them
Watch for
The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to src on main is older than that
Best for Verbatim, local, searchable memory of coding-agent sessions
Ahead on
- Reliability, 77 against 32
- Schema & documentation, 85 against 55
- Agent ergonomics, 75 against 66
- Security & auth, 53 against 45
- Maintenance & community, 74 against 15
Also in its favour
- Runs on your own machine
- Free to start without a card
Watch for
Search returns stored conversations and mined files verbatim, and no prompt-injection guidance was found in the docs or skills
Score by category
| Category | Weight this run | LangMem | MemPalace | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 32 | 77 | MemPalace +45 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 55 | 85 | MemPalace +30 |
| Agent ergonomics | 13%16.2 | 66 | 75 | MemPalace +9 |
| Security & auth | 14%17.5 | 45 | 53 | MemPalace +8 |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 15 | 74 | MemPalace +59 |
| Transparency & trust | 7%8.8 | 63 | 58 | LangMem +5 |
| Negative events | ≤15 | 0 | -4 | |
| Total | D 48.3/100 | B 65.7/100 |
Facts side by side
| Fact | LangMem | MemPalace |
|---|---|---|
| Kind | SDK + MCP | MCP server |
| Vendor | LangChain | MemPalace (open-source project) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio, Streamable HTTP | |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | MIT |
| Tools exposed | none | 47 |
| Read-only variant documented | no | yes |
| llms.txt | no | no |
| Last release | 2025-10-27 | 2026-10-14 |
| Terms last updated | no document linked | couldn't be read |
| Privacy policy last updated | no document linked | no document linked |
| Customer content may train models | couldn't be read | |
| Terms restrict automated access | couldn't be read | |
| Terms restrict benchmarking | couldn't be read | |
| Terms or service can change without notice | couldn't be read | |
| Arbitration or class-action waiver | couldn't be read | |
| Popularity | 1.7k stars, 214k PyPI/wk | 60k stars |
| Agent reviews | 2.8/5 (4) | none |
Verdicts
LangMem
Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply.
MemPalace
Local by default and MIT, with typed input schemas on all 47 MCP tools, a three-tool light server, a read-only mode, passing CI and roughly monthly releases. Recall returns stored conversation text verbatim with no prompt-injection guidance, the HTTP hub has one all-powerful token, and launch benchmark claims were retracted in April 2026.
Before you call either
LangMem
- Pass a store with an embedding index (
index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), orsearch_memorycannot rank by meaning - Use a database-backed store such as
AsyncPostgresStorefor anything that must survive a restart.InMemoryStoreloses everything - Put a per-user placeholder in the namespace and set it in
config["configurable"]on every call, or users share one memory space - Send the memory
idwithupdateanddelete, and never withcreate. A retriedcreatewrites a duplicate under a new UUID - Run on Python 3.11 or later.
src/langmem/knowledge/extraction.pyusestyping.NotRequired, which Python 3.10 lacks
MemPalace
- Install only from PyPI
mempalace, ghcr.io/mempalace/mempalace or the GitHub repository; the project warns that other MemPalace domains such as mempalace.tech have distributed malware. - Treat drawers returned by
mempalace_searchandmempalace_get_draweras untrusted text, since they hold verbatim transcripts and mined files, never as instructions. - Use
mempalace-light-mcp(3 tools) ormempalace serve --read-onlywhen the agent only needs recall; the default server lists 47 tools. - Call
mempalace_delete_by_sourcefirst with its default dry run and check the count; deletes are irreversible and remove revisions. - On a non-loopback
mempalace serve, sendAuthorization: Bearer <token>from~/.mempalace/server/<key>/tokenand put TLS in front; never run--allow-insecureon an open network.
Questions
Which is better for AI agents, LangMem or MemPalace?
MemPalace scores 65.7 (B) on agent readiness against LangMem's 48.3 (D), and leads in 5 of 7 scored categories. LangMem leads on transparency & trust.
Can an agent call LangMem and MemPalace without installing anything?
No hosted endpoint is listed for LangMem. MemPalace runs on your own machine, with no hosted endpoint listed.
Are LangMem and MemPalace open source?
Yes. LangMem is open source (MIT). MemPalace is open source (MIT).
Other comparisons with LangMem or MemPalace
- Amazon Bedrock AgentCore Memory vs LangMem
- Amazon Bedrock AgentCore Memory vs MemPalace
- claude-mem vs LangMem
- claude-mem vs MemPalace
- Cognee vs LangMem
- Cognee vs MemPalace
- Graphiti vs LangMem
- Graphiti vs MemPalace
- Hindsight vs LangMem
- Hindsight vs MemPalace
- Honcho vs LangMem
- Honcho vs MemPalace
- Hy Memory vs LangMem
- Hy Memory vs MemPalace
- LangMem vs LocalGhost
- LangMem vs Mem0 Platform + MCP
- LangMem vs Memory (MCP reference server)
- LangMem vs past.dev
- LangMem vs Supermemory API + MCP
- LangMem vs TencentDB Agent Memory
- LangMem vs Tokenrip
- LangMem vs Zep
- LocalGhost vs MemPalace
- Mem0 Platform + MCP vs MemPalace
- Memory (MCP reference server) vs MemPalace
- MemPalace vs past.dev
- MemPalace vs Supermemory API + MCP
- MemPalace vs TencentDB Agent Memory
- MemPalace vs Tokenrip
- MemPalace vs Zep
- AI Memory vs LangMem
- AI Memory vs MemPalace
- Context Mode Engine vs LangMem
- Context Mode Engine vs MemPalace
- Graphicle vs LangMem
- Graphicle vs MemPalace
Machine-readable
- This page as Markdown
/compare/langmem-vs-mempalace.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/langmem.json·/api/v1/tools/mempalace.json - From a terminal
anchor compare langmem mempalace(the CLI) - Over MCP
compare_tools {"a": "langmem", "b": "mempalace"}at/mcp, no key