Heartwood vs Letta — a Letta alternative for governed memory
Naming: “Letta” is the current framework name; “MemGPT” now refers to the original research/design pattern. Use “Letta”; “MemGPT” appears once, in the description, for search.
TL;DR
Heartwood is agent memory you can check: it signs every memory and re-checks the signature each time it is recalled, and erasing a subject destroys that subject's key and can issue a signed receipt you verify offline. Letta is a platform for building and operating stateful agents whose memory is a git-versioned set of files the agent edits itself (MemFS), and it says its agents learn from experience and improve with use. They solve adjacent problems: Letta runs the agent; Heartwood governs the memory.
New in 0.2.10Replace a memory. Name the memory a new write replaces, and default recall stops returning the old one, even after a restart. History stays reachable when you ask for it. Heartwood does not detect replacements by itself: two plain writes both stay current. How replacing a memory works
Letta alternatives: where Heartwood fits
Letta is an agent runtime as well as a memory model. If you want to keep the agent framework you already have and add a governed store underneath it, Heartwood fits there: every memory is signed and re-checked at recall, and erasing a subject destroys its key. Other tools teams compare: Mem0 for a drop-in memory layer with broad integrations; Zep for managed temporal Context Graphs with enterprise controls; Cognee for graph and ontology memory pipelines; Supermemory for managed memory with data connectors; LangMem for memory tools inside LangGraph apps; Hindsight for learning memory with reflection.
At-a-glance table
| Axis | Heartwood Memory | Letta |
|---|---|---|
| Governance granularity | Per individual memory record | Not evaluated in public docs (organization roles Admin/Editor/Analyst; agents and conversations private to their creator unless shared; Enterprise lists role-based access control; per-record policy not stated) |
| Signed memories, checked at recall | Every memory Ed25519-signed; signature re-checked on every recall and shown on each result (opt-in strict modes drop or refuse failures) | Not evaluated in public docs (memory edits are git commits with version history) |
| Tamper-evident audit | Hash-chained audit log | Not evaluated in public docs |
| Policy-before-ranking | Yes | Not evaluated in public docs (files at the memory root load into the system prompt every turn) |
| Erasure receipt | Destroys the subject's key and purges its records; signed key-destruction receipt when signing custody and an audit anchor are set up (not byte-level deletion proof) | Agent deletion API; memory lives in a git-versioned file repository (MemFS) (no cryptographic proof claimed) |
| Interface | Python library + governed MCP server | TypeScript Agent SDK, REST API, CLI/desktop/web, hosted Letta MCP server; MCP servers attach to SDK sessions |
| Deployment | Self-hosted, embedded | Local runtime (no Letta account), self-hosted App Server, or Letta Cloud |
| License | Source-available (BSL 1.1); 0.1.x MIT | Apache-2.0 (Letta Harness, Agent SDK and letta repos); Letta Cloud terms separate |
| Pricing | Free / Team $349·mo / Pro $6,000·yr / Enterprise from $24,000·yr | Free $0 (3 agents) / Pro $20·mo (includes $20 credits) / Teams Pro $20·seat·mo / Enterprise custom (vendor pricing, read 2026-11-08)Pricing page |
| Best-for | Evidence on each record you can check yourself | Building/operating stateful agents with self-editing memory |
Letta facts were read from Letta's own documentation on 2026-11-08. “Not evaluated in public docs” means we did not find the capability in that documentation on that date; it does not mean the feature is absent. Each cell is a dated snapshot, not a continuing assurance.
Check it yourself: clone the public repository and run python bench/run_benchmark.py. The suite runs offline, tests these claims against Heartwood, and reports its own limits and any failures. It does not measure any competitor.
Comparison by dimension
Different layer
Letta is an agent framework/runtime; Heartwood is a governed memory store. The honest comparison is “run the agent” vs “govern its memory” — they can compose.
Deletion & governance
Letta documents an agent deletion API and keeps memory in a git-versioned file repository; its permissions model is organization-role and sharing based rather than per-record. Heartwood adds per-record signatures re-checked at recall and a per-subject key-destruction receipt.
Who Letta is best for
Teams building and operating stateful agents with self-editing, persistent memory.
Who Heartwood is best for
Teams that need a governed memory layer, with records they can check, under whatever agent framework they run.
Can Heartwood run underneath Letta?
As the governed memory store behind the agent's memory calls (shape-compatible example contract, not an official integration).
See the governed-memory modelFAQ
Is Letta the same as MemGPT?
Letta is the current framework name; MemGPT names the original research pattern.
Is Letta open source?
The Letta repository is Apache-2.0; managed service terms are separate.
What does Heartwood's signature check cover?
Each memory is Ed25519-signed when it is written. The signature covers the content, source, author and trust class, not access labels. At recall, Heartwood re-checks the signature and content hash and shows the result on each answer. By default a failed check is shown, not dropped; the opt-in FILTER and ENFORCE modes drop failed records or refuse the recall.