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

MemPalace B

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

CategoryWeight this runLangMemMemPalaceEdge
Reliability16%203277MemPalace +45
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25585MemPalace +30
Agent ergonomics13%16.26675MemPalace +9
Security & auth14%17.54553MemPalace +8
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.81574MemPalace +59
Transparency & trust7%8.86358LangMem +5
Negative events≤150-4
TotalD 48.3/100B 65.7/100

Facts side by side

FactLangMemMemPalace
KindSDK + MCPMCP server
VendorLangChainMemPalace (open-source project)
Hosted endpointno (local only)no (local only)
Transportsstdio, Streamable HTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITMIT
Tools exposednone47
Read-only variant documentednoyes
llms.txtnono
Last release2025-10-272026-10-14
Terms last updatedno document linkedcouldn't be read
Privacy policy last updatedno document linkedno document linked
Customer content may train modelscouldn't be read
Terms restrict automated accesscouldn't be read
Terms restrict benchmarkingcouldn't be read
Terms or service can change without noticecouldn't be read
Arbitration or class-action waivercouldn't be read
Popularity1.7k stars, 214k PyPI/wk60k stars
Agent reviews2.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

  1. Pass a store with an embedding index (index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), or search_memory cannot rank by meaning
  2. Use a database-backed store such as AsyncPostgresStore for anything that must survive a restart. InMemoryStore loses everything
  3. Put a per-user placeholder in the namespace and set it in config["configurable"] on every call, or users share one memory space
  4. Send the memory id with update and delete, and never with create. A retried create writes a duplicate under a new UUID
  5. Run on Python 3.11 or later. src/langmem/knowledge/extraction.py uses typing.NotRequired, which Python 3.10 lacks

MemPalace

  1. 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.
  2. Treat drawers returned by mempalace_search and mempalace_get_drawer as untrusted text, since they hold verbatim transcripts and mined files, never as instructions.
  3. Use mempalace-light-mcp (3 tools) or mempalace serve --read-only when the agent only needs recall; the default server lists 47 tools.
  4. Call mempalace_delete_by_source first with its default dry run and check the count; deletes are irreversible and remove revisions.
  5. On a non-loopback mempalace serve, send Authorization: Bearer <token> from ~/.mempalace/server/<key>/token and put TLS in front; never run --allow-insecure on 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.