Heartwood vs Cognee — a Cognee alternative with signed records
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. Cognee combines relational, vector, and graph stores to turn source data into searchable, connected memory, with tenant/dataset-level permissions, per-fact provenance and an opt-in hash-chained ledger of writes; it leads on graph and ontology depth and has a longer public history than Heartwood. Choose Cognee for graph-native memory; choose Heartwood for evidence on each record.
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
Cognee alternatives: where Heartwood fits
Cognee is strongest when you need a knowledge graph and an ontology over your own data. If what you need instead is a governed store where each memory carries a signature re-checked at recall, and erasing a subject destroys its key, Heartwood is built for that. Other tools teams compare: Mem0 for a drop-in memory layer with broad integrations; Zep for managed temporal Context Graphs with enterprise controls; Letta for a full runtime for stateful agents; 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 | Cognee |
|---|---|---|
| Governance granularity | Per individual memory record | Tenant roles + dataset-level read/write/delete/share grants to users, roles, tenants and agents |
| 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 (per-fact provenance to document, chunk and pipeline run by default; no per-record signing found) |
| Tamper-evident audit | Hash-chained audit log | Cognee documents an opt-in, append-only, hash-chained ledger of the writes cognify() makes, checkable with verify_chain(); plus a default log of each remember/recall/forget operation |
| Policy-before-ranking | Yes | Not evaluated in public docs (results limited to accessible datasets) |
| 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) | Item/dataset/all deletion of graph/vector/relational data, with caveats (no cryptographic proof) |
| Tenant isolation | Yes | Yes — complete data isolation; workspace = tenant |
| Interface | Python library + governed MCP server | Python API, HTTP API, CLI, MCP tools |
| Deployment | Self-hosted, embedded | Local/embedded, self-hosted Docker, managed Cloud, Enterprise BYO cloud |
| License | Source-available (BSL 1.1); 0.1.x MIT | Apache-2.0 OSS engine; Cloud + Enterprise separate |
| Pricing | Free / Team $349·mo / Pro $6,000·yr / Enterprise from $24,000·yr | Free ($0, 1 workspace/1M tokens) / Standard $1.00 per 1M tokens + $5/workspace / Enterprise BYOC engagement (vendor pricing, read 2026-11-08)Pricing page |
| Best-for | Evidence on each record you can check yourself | Graph/ontology-centered memory pipelines |
Cognee facts were read from Cognee'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
Governance
Cognee says it governs at the dataset level with access controls, per-fact provenance and an opt-in hash-chained ledger of writes, and it leads on the knowledge-graph and ontology model. Heartwood governs at the record level: per-memory signatures re-checked at recall, and crypto-shred erasure with a key-destruction receipt.
Deletion
Cognee deletion removes graph, vector, and relational data (with raw-file/shared-node caveats); Heartwood destroys the subject's key, purges the subject's records, and can issue a signed key-destruction receipt.
Who Cognee is best for
Teams building graph/ontology-centered memory pipelines with OSS or managed deployment.
Who Heartwood is best for
Regulated teams that need signed records and a key-destruction receipt they can check themselves.
Can Heartwood run underneath Cognee?
As the governed store behind shape-compatible memory calls (example contract, not an official integration).
See the governed-memory modelFAQ
Does Cognee have access control?
Yes — tenant roles plus dataset-level read/write/delete/share grants. Heartwood's difference is evidence on each record: a signature re-checked at every recall, and a key-destruction receipt when a subject is erased.
Is Cognee open source?
Cognee's engine is Apache-2.0; hosted Cloud and Enterprise 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.