Key takeaways

  • A model at write time turns chat into clean, self-contained facts, but what it stores is the model's wording, not the user's. Keeping the source next to the extract is what lets you check it later.

  • Corrections are where designs differ most:

    • add-only (mem0);
    • an end date on the old fact (Graphiti);
    • version flags (Supermemory's schema);
    • a consolidated "observation" (Hindsight);
    • a review after the write (cognee);
    • the agent rewriting a file (Letta Code).

In several of the default code paths we read, the outdated value stays searchable unless the application acts.

  • Forgetting has to reach every copy. Change histories, model-call traces, search logs and git history can keep text after the main record is gone. In their default code paths, mem0, Hindsight, cognee and Letta Code each keep such a copy.

  • "User" is usually a filter the caller passes, not a permission the system checks. The exceptions in the open code we read are:

    • cognee's dataset permissions;
    • Hindsight's optional confinement hook and its API-key tenant extension;
    • the per-namespace access in Supermemory's MCP server.
  • The need

    Teams pick a memory system for an agent, then discover its trade-offs in production:

    • a user corrects a fact, and the old one keeps coming back;
    • a deletion request leaves copies behind;
    • two customers' memories sit behind the same filter.

    These are design choices, made for good reasons, and each has a cost. We are building Yukti Memory (Melta's Memory Infra) for staff in many departments and for their clients, so we needed to see those costs clearly before making our own choices.

    Our approach

    We read the source code of six memory systems at fixed commits:

    System Commit read on 28 Nov 2026
    mem0 2.2.1 (open-source package and self-hosted server, not the hosted platform) cae3d8cda89437863e047a311688d7f44cceef60
    Supermemory (open repository; the engine is closed) f34803830f8f520498ec3d20ae817c9f90d9412f
    cognee 1.6.11 dbc515bdcde72691c1880978407ac1e5829bbc25
    Graphiti 0.32.1 343a7bb1fa950946a3c43ebbdf5bffeb00ff843e
    Letta Code 0.34.72 (the harness, not the Letta server) 52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21
    Hindsight 1.3.0 c828c7e41527d0c4916cac0ba2b56334fed4a79d

    What this covers, and what it does not:

    • Every trade-off below is backed by a code citation at that commit. The claims table marks which rows rest on executing code, and which on a docstring or the text of a prompt.
    • mem0's hosted platform is not covered. The open-source code marks some features as platform-only, for example the timestamp parameter, which the open-source add() refuses [B48].
    • Documentation and marketing are out. We left out anything we could find only there.
    • No scores, no "better than". We report no benchmark scores, and make no "better than" claims, for these systems or for our own.

    The companion article, How AI memory systems are built, has the full map of each system.

    Why not just read the docs or benchmarks?

    • Accuracy hides trade-offs. A benchmark averages many questions into one number.
      • What they do test. Two widely used public benchmarks for long-term memory are LoCoMo (Maharana et al., 2024) and LongMemEval (Wu et al., 2024). Both score answers about long chat histories. LongMemEval includes a "knowledge-update" question type, which checks that the answer reflects the newer value.
      • What they do not ask, as far as we can tell from their released data (checked 23 November 2026):
        • whether the outdated value is still stored and searchable once the answer is right;
        • whether a deleted fact is gone from storage;
        • whether a person in another department can reach a memory [B40].
    • Docs drift. For example, mem0's add() docstring still says the model decides whether to "add, update, or delete", but the code path we read only adds [B4]. The code is what runs, so we cite the code.

    How we tested it

    • Source reading. For every system we traced:
      • the write call;
      • the search call;
      • the update and delete calls;
      • every check on users or scopes.
    • Absence claims. Where we say something does not happen, we searched the code for it, and the search output is in our verification log.
    • Our own tests stay internal. We also test memory systems on synthetic chats in our Lab. Those runs used one inexpensive model for every system and a single pass, so they are not a fair comparison. Under our own rules, their per-product results stay internal, and none appears here.

    Results

    Trade-off 1: a model decides what to remember

    Why designs do it. A model can turn a rambling message into a clean, self-contained fact, resolve "she" to a name, and turn "yesterday" into a date.

    • Five of the six put a model on the write path, in their default setups with a model configured:
      • mem0, cognee, Graphiti and Hindsight extract facts or graph elements [B1, B13, B19, B31];
      • Letta Code takes it furthest: the agent itself rewrites its memory files, and a background agent reviews transcripts to do the same [B23].
    • Supermemory: its engine is not in its repository, so we cannot see its write path [B25]. Its AI SDK middleware sends every conversation by default and leaves the selection to the engine [B50].

    What it costs.

    • Model calls on every write:
      • mem0: one call per add() [B1].
      • Hindsight: one per chunk of up to 3,000 characters, plus background consolidation at 8 facts per call [B31, B32].
      • cognee: a graph extraction per chunk; by default the summary is built from it without another call [B13].
      • Graphiti: separate prompts per episode for entities, duplicates, facts, contradictions and dates [B19].
    • A judgement call, set by a prompt. What counts as worth keeping is the model's decision under its prompt. For example, mem0's prompt says "When in doubt, extract" and, in the same section, to skip content "too generic to be useful" [B3]. A different model, or the same model on another run, can draw that line differently, so test with the model you will deploy.
    • Paraphrase, not quotation. The stored fact is the model's wording. In mem0, for example, the text saved as the memory is the text field of the model's output [B51]. A misreading is stored as faithfully as a correct reading, and a later step that builds on extracted facts inherits it, unless something checks the fact against the original words.
    • Dates. mem0's open-source add() refuses a timestamp, and its prompt resolves "yesterday" against the day of processing. When old conversations are imported, relative dates are anchored to the import day [B5].

    What helps.

    • Keep the source next to the extracted fact (see trade-off 2).
    • Pin the model, and test the extraction with your own phrasing, languages included.
    • Prefer prompts that ask for explicit evidence before changing a stored fact. Graphiti's contradiction prompt does this [B20].

    Trade-off 2: keep the raw record, or only the extract

    System Raw text kept beside the memory
    mem0 The last 10 messages per scope; older ones are deleted [B6]
    cognee The raw files, plus chunks with content-derived ids [B14]
    Graphiti Each episode's raw text, by default [B21]
    Hindsight Documents and chunks [B30]
    Letta Code Message history, which its system prompt says the harness keeps and the agent cannot change [B24]

    The trade-off:

    • Keeping the source makes every extracted fact checkable, and lets you rebuild memory with a better model later. cognee's memory-only forget() exists for exactly that [B16].
    • It also means one more copy to erase, and one more place sensitive text can sit (see trade-offs 7 and 8).

    Trade-off 3: what happens when a fact changes

    • Add-only, mem0:
      • The design: the write path only adds. A correction becomes a new memory, which the prompt asks to describe the change ("switched from X to Y"), and the old memory stays [B4].
      • Strong at: simple, with every addition in the history.
      • The cost: search can return both the old and the new value. Retiring the old one takes an explicit update(), delete() or expiry date [B7].
    • An end date on the old fact, Graphiti:
      • The design: when a model judges that a new fact contradicts an old one, the old edge gets an end date and a retirement stamp, and it is kept [B20].
      • Strong at: a history you can query by date.
      • The cost: the default search does not filter retired facts out, so the application must add a date filter to get "what is true now" [B22].
    • Version flags, Supermemory:
      • The design: the open MCP server's schemas of API responses have version, isLatest, parent and root ids, and an updates relation [B25].
      • What we cannot see: how the closed engine sets them.
    • A consolidation layer, Hindsight:
      • The design: raw facts stay as they are, and fact rows have no "valid until" field.
        • A background step judges each new fact against nearby observations: unrelated, repeats, changes or ends.
        • The code, not the model, marks which observation was stated later [B32, B33].
      • Strong at: a changed observation can carry its history. The prompt explains that a dated bracket after an observation is an earlier state and tells the model to keep such brackets, and it allows the old value to be kept as history [B32].
      • The cost: the old raw fact is still searchable unless someone invalidates it, or the caller asks recall to prefer observations, which is off by default [B33].
    • A review after the write, cognee:
      • The design: conflict review is on by default when a model is configured. The improvement step reviews changed facts with a model and stores the conflicts it finds, and searches show them with the passages they cite [B15].
      • The cost: model calls in the improvement step, and no review at all without a model.
    • The agent rewrites a file, Letta Code:
      • The design: the reflection agent's instructions say to resolve contradictions "in favor of the latest evidence" and commit the edit [B23].
      • Strong at: the current file says the current thing.
      • The cost: it depends on the model doing it, and, per the system prompt, an edit shapes the prompt only from a later recompile [B27].

    Trade-off 4: a knowledge graph, or not

    What a graph buys.

    • Relations you can follow ("who owns the project this ticket belongs to?").
    • Entity-level deduplication.
    • In Graphiti's case, time on every relation.

    How three of the six use one:

    • cognee builds an entity and relation graph from every chunk [B13].
    • Graphiti stores facts as edges between entities [B19, B20].
    • Hindsight links facts by entity, time, meaning and cause, and its graph arm is one of its search arms [B29, B34].

    What it costs.

    • More model calls per write (trade-off 1).
    • Entity resolution, where wrong merges and missed merges both happen.
      • Graphiti: asks a model to resolve duplicate entities [B19].
      • Hindsight: resolves names without an LLM call, by trigram similarity and shared co-occurring entities [B34].
      • mem0: keeps a lighter entity collection instead of a graph. spaCy finds entities, an exact or a very close (≥ 0.95) embedding match merges them, and query entities only boost the ranking [B8].

    When you need one.

    • When questions follow relations, or when "as of when?" matters.
    • A ranked search over facts may be enough when most questions are "what did this person tell us about X?".

    Trade-off 5: how memory is found again

    • Fused ranking with no LLM call.
      • Hindsight: runs semantic, keyword and graph searches in parallel, plus a time search when the query names a time. It fuses them by rank (RRF, k = 60), reranks with a local cross-encoder model, and fills a token budget [B29].
      • Graphiti: fuses BM25 and vector search by rank by default [B22].
      • mem0: adds semantic, BM25 and entity scores into one score. Only memories the vector search found are scored, so a memory that matches only by keyword is not added [B9].
      • Strong at: fast, cheap and repeatable. Each choice above sets which signals can rescue a weak vector match.
    • A generated answer in the read path. With a model configured, cognee's default recall() lane retrieves chunks, summaries and entity neighbourhoods, then writes an answer with a model [B17].
      • Strong at: a ready answer.
      • The cost: a model call on every read, and the output is generated text rather than stored items. An only_context option returns the context instead [B17].
    • The agent navigates. In Letta Code, root memory files are always in the prompt, and the agent opens deeper files itself, ten entries per directory [B23].
      • Strong at: no ranking to tune.
      • The cost: recall depends on the agent choosing to look. On the local backend, message search is full-text only [B28].

    Trade-off 6: scopes, filters and permissions

    System How a memory is kept to its owner What that means for the builder
    mem0 A user, agent or run id on every call. Identity keys in metadata are dropped [B10] The ids are filters. The self-hosted server authenticates the caller but takes the ids from the request. Its search docstring documents {"key": "*"} as a "wildcard match (any value)", and the default Qdrant store adds no condition for a "*" value [B11]
    Supermemory One namespace per call. The MCP server gives read or write per namespace, falling back to read in restricted sessions [B25] Enforcement on the hosted API is not in the repository
    cognee Users, datasets and read, write, delete and share permissions, checked on every search. A database per dataset. On unless switched off [B18] Permission checks are built in and on by default, at the cost of backends that can keep a database per dataset
    Graphiti group_id filters, applied only when group ids are given [B22] The README says access control is yours to build [B21]
    Letta Code Memory belongs to one agent. Shared repositories can be attached to several agents. Memory subagents are sandboxed from other agents' memory [B27] Per-person scoping inside one agent is not part of the client's memory model. Letta's server decides who reaches which agent
    Hindsight Banks; tags inside a bank. The default tenant does no authentication. An API-key tenant extension checks one shared key. Recall's default tag match also returns untagged memories [B38, B49] An extension hook can confine callers to tag groups, narrowing and never widening. If a bank uses shared observation scopes, consolidation writes untagged observations from facts with different tags [B38, B39]

    The trade-off.

    • A filter is simple and flexible. Several of these systems are libraries meant to sit behind your own service. But a filter is only as safe as the id the caller passes.
    • A permission check costs set-up and, in cognee's case, backends that can hold a database per dataset. In return, it does not depend on every caller getting the id right.
    • Derived memory is the subtle case. A consolidated observation or a summary built from several people's facts needs its own rule about who may read it.

    Trade-off 7: forgetting reaches every copy, or it does not

    What the code at these commits does:

    • mem0: delete writes a history row that holds the deleted text [B12].
    • Hindsight: its model-call trace is on by default and stores each call's input and output. Trace rows are kept until a retention sweep (1 day by default), and are not deleted with their document unless that option is set [B41].
    • cognee:
      • It records each search's question and the answer text the user saw [B42].
      • Its forget() removes an item, a dataset, every dataset the user may delete, or only the derived memory; clean_history=True also deletes the caller's search history.
      • Output that several chunks share is deleted only when no owner is left [B16].
    • Graphiti: removing an episode deletes the facts and entities that only that episode supported [B21].
    • Letta Code: memory changes are git commits, and its system prompt says the memory repository may be synced off the machine [B27, B43]. Git keeps earlier versions in history unless the history is rewritten.

    The trade-off. Histories, traces and version control are good engineering: they make systems debuggable and auditable. They are also copies, so an erasure process must name each one.

    Trade-off 8: secrets and sensitive details in chat

    What exists:

    • Hindsight ships an optional regex screen for secrets and personal data. It runs only when a bank sets an enabled policy, and the default is none [B45].
    • mem0's coding-agent plugin redacts secret patterns before upload. The core add() path we traced has no such step [B46].
    • Letta Code tells its agent, in the system prompt, never to write secrets into memory [B43].

    The trade-off. A model told to "identify every piece of memorable information" (mem0's prompt wording [B4]) can extract a password too, unless something stops it. Filters in code are predictable but narrow. Instructions in a prompt are broad but not guaranteed.

    System by system: strong at, weaker at

    Each point is a design property shown in code, as of the commit read. Weaker at means "costs you something", not "is broken".

    mem0 (open-source package and self-hosted server)

    • Strong at:
      • A cheap, simple write: one model call per add(), and entities found by spaCy without an LLM call [B1, B8].
      • Explainable ranking: semantic, BM25 and entity scores, with a per-result breakdown on request [B9].
      • Scope keys that cannot be smuggled in through metadata [B10].
    • Weaker at:
      • Corrections: the write path only adds, so old values stay live until the application retires them [B4, B7].
      • Erasure: deleted text stays in the change history [B12].
      • Dated imports: relative dates resolve against the processing day [B5].

    Supermemory (open repository; the engine is closed)

    • Strong at:
      • A data model built for change and review: the open MCP server's schemas of its API responses define [B25]:
        • versions and isLatest;
        • updates, extends and derives relations;
        • inference flags and forget fields;
        • links from memories to their source documents.
      • A namespace on every call, with per-namespace read or write in the MCP server [B25].
    • Weaker at:
      • Inspectability: the engine that extracts, ranks and forgets is closed, so none of that can be checked in code [B25].
      • One namespace per call: a question across several namespaces takes several calls [B25].
      • Capture by default: the AI SDK middleware saves every conversation unless set otherwise, so what is kept is decided in the closed engine [B50].

    cognee

    • Strong at:
      • Permissions: dataset permissions on by default, with a database per dataset [B18].
      • Deletion with ownership: shared output is removed only when no owner is left [B16].
      • Routing without a model call, and 21 search types for different questions [B17].
    • Weaker at:
      • A heavier write: a model graph extraction per chunk, and an improvement step after remember() when automatic improvement is on (the default) [B13].
      • Corrections: conflict review needs a model and runs in the improvement step, not at write time [B15].
      • Reads: a model call on every default read (with a model configured), and a search history that stores answer text [B17, B42].

    Graphiti

    • Strong at:
      • Time: facts carry when they became true, when they stopped, and when the system retired them, and a contradicted fact is ended rather than deleted [B20].
      • Provenance: each fact lists the episodes behind it, and removing an episode removes only what nothing else supports [B21].
      • Fused retrieval: BM25 and vectors, with optional graph walk, MMR and cross-encoder [B22].
    • Weaker at:
      • A heavier write: several model prompts per episode [B19].
      • Defaults that need care: retired facts are returned unless the caller filters by date, and a search with no group ids is not limited to any group [B22].
      • No access control: it is left to the builder, by design [B21].

    Letta Code (the harness, not the Letta server)

    • Strong at:
      • Memory a person can read: markdown files with git history and named commits [B23, B27].
      • Learning from corrections: the reflection agent's instructions put mistakes and corrections first, and resolve contradictions toward the latest evidence [B23].
      • Confinement: memory subagents run in a sandbox that walls off other agents' memory [B27].
    • Weaker at:
      • Recall that depends on the agent opening the right file. Local message search is full-text only [B23, B28].
      • Forgetting: git history keeps earlier versions, and the "no secrets" rule is a prompt instruction [B43].
      • Scope: memory is per agent, so per-person rules inside one agent are outside the client's model [B27].

    Hindsight

    • Strong at:
      • Retrieval with no LLM call: parallel arms, rank fusion, a local cross-encoder and a token budget [B29].
      • Reconciling change in a separate layer, with time order decided in code [B32].
      • Optional controls: a secret and personal-data screen, a caller-confinement hook, and an API-key tenant extension [B38, B45, B49].
    • Weaker at:
      • Open defaults: no authentication in the default tenant, and untagged memories match by default [B38].
      • Raw facts are not retired by consolidation: the old raw fact stays searchable unless someone invalidates it, or recall is set to prefer observations [B33].
      • Traces: the model-call trace keeps text after a document is deleted, until its retention sweep [B41].

    What's next, and what we'd suggest

    Five tests to run on any memory system before you trust it with people's data. Use your own synthetic chats, at the version you will deploy:

    1. Correct a fact, then search for it. Does the old value come back? Is there a setting that retires it?
    2. Delete something, then search the storage for its bytes: database files, history tables, traces, logs and backups.
    3. Write as user A, search as user B, with the identifiers your application will really pass, including an empty or wildcard one.
    4. Paste a secret and a health detail. See what is stored, and where.
    5. Run the same chat twice. See whether the same memories come out.

    For us, next:

    • Council review. This article went through our review council once (R-111) and was revised to its decisions.
    • A fresh read at publication. Before publishing, on 28 November 2026, we re-read each repository at its newest commit and updated the citations. The commits above are the ones we read.
    • A gap to close: reading Letta's server.
    • Yukti Memory's own choices on these trade-offs will get their own articles. We will publish a measurement only with its method.

    Frequently asked questions

    Why does my AI memory keep returning an outdated fact?

    • Many designs keep the old fact when a new one arrives:
      • mem0's write path only adds [B4];
      • Graphiti ends the old fact but returns it unless you filter by date [B20, B22];
      • Hindsight keeps old raw facts and reconciles in observations [B33].
    • Check your system's settings: is there a retire, expire or "latest only" setting, and does your search use it?

    Is LLM extraction reliable enough for AI memory?

    • It produces clean facts, but the stored fact is the model's wording [B51].
    • What is kept is a judgement the prompt shapes [B3], so it can differ between models and runs.
    • Keep the source text, and check extracted facts against it before anything is served as true.

    Do I need a knowledge graph for agent memory?

    • Yes, when questions follow relations or depend on time. Graphiti and cognee are built for that [B13, B20].
    • A ranked search over facts may be enough when questions are about what one person said. Graphs add model calls on every write, and entity resolution that can merge or split entities wrongly [B19, B34].

    How do I delete a user's data from an AI memory system?

    • Use the system's delete for every scope the user appears in. Then check the copies:
      • mem0's history table [B12];
      • Hindsight's model-call traces [B41];
      • cognee's search history [B42];
      • git history in Letta Code [B43].
    • Confirm the deletion: search the storage for the deleted text's bytes.

    Next: Before you build your own memory layer: the details that decide whether it works (what we learned building Yukti Memory).


    Claims table

    Commits as in "Our approach". Paths start with the repository folder: mem0/, supermemory/, cognee/, graphiti/, letta-code/, hindsight/. H/ stands for hindsight/hindsight-api-slim/hindsight_api/. Row ids are kept from the reviewed draft, so removed rows (B2, B26, B35, B36, B37, B44, B47) leave gaps; B48 to B51 are new. The verification of each revised row is in our verification log. Kinds:

    • code: executing logic or defaults in source;
    • docstring: a docstring or code comment, not executing code;
    • prompt: text sent to a model, in source;
    • schema: open data definitions;
    • project statement: the project's README or guide;
    • assessment: our reading, with its sources.
    # Claim Evidence Kind
    B1 mem0 makes one model call per add() with infer=True (default) mem0/mem0/memory/main.py:770, :942-964 code
    B3 mem0's prompt says "When in doubt, extract" and to skip greetings, filler and content "too generic to be useful" mem0/mem0/configs/prompts.py:576-578 prompt
    B4 mem0's write path only adds (prompt: "sole operation is ADD"; history and results record ADD); the prompt asks for transitions to be captured in the new memory; the add() docstring still mentions update and delete mem0/mem0/configs/prompts.py:472, :612-615; mem0/mem0/memory/main.py:1078-1089, :1209-1212 (code), :790-791 (docstring) prompt; code; docstring
    B5 mem0's open-source add() rejects a timestamp; the prompt's observation date defaults to the processing day mem0/mem0/memory/main.py:817-818, :950-955; mem0/mem0/configs/prompts.py:1007-1013 code
    B6 mem0 keeps the last 10 raw messages per scope mem0/mem0/memory/storage.py:279-290 code
    B7 mem0 update, delete, delete_all are explicit calls; expiration_date hides expired memories mem0/mem0/memory/main.py:1829-1958, :427-451, :1684-1685 code
    B8 mem0 finds entities with spaCy; merges on exact text or ≥ 0.95 similarity; query entities only boost ranking mem0/mem0/utils/entity_extraction.py:751-772; mem0/mem0/memory/main.py:1148-1167, :1747-1827 code
    B9 mem0 adds semantic, BM25 and entity scores, gates on the semantic threshold, scores only semantic candidates, and gives score_details with explain=True mem0/mem0/utils/scoring.py:60-139; mem0/mem0/memory/main.py:1654-1701, :1740-1741 code
    B10 mem0 requires a user, agent or run id; identity keys in metadata are dropped mem0/mem0/memory/main.py:143-162, :360-397, :1471-1475 code
    B11 mem0's server authenticates but passes ids from the request; the search docstring documents {"key": "*"} as "wildcard match (any value)"; the default Qdrant store builds no condition for a "*" value mem0/server/auth.py:144-170; mem0/server/main.py:367-375, :452-480 (code); mem0/mem0/memory/main.py:1428 (docstring); mem0/mem0/vector_stores/qdrant.py:298-302, :417-421; mem0/mem0/vector_stores/configs.py:9 (code) code; docstring
    B12 mem0 delete writes a history row holding the deleted text mem0/mem0/memory/main.py:2116-2138 code
    B13 cognee: graph extraction per chunk by model, with each chunk's summary built from that extraction without a model call by default; improve runs after remember only when automatic improvement is on (the default) cognee/cognee/api/v1/cognify/cognify.py:665, :1017, :1030-1049; cognee/cognee/modules/cognify/config.py:22; cognee/cognee/tasks/graph/extract_graph_and_summarize.py:28-44; cognee/cognee/tasks/summarization/build_summary_from_extraction.py:11-32; cognee/cognee/api/v1/remember/remember.py:2300, :2319-2330, :2459-2467; cognee/cognee/modules/improve/config.py:41 code
    B14 cognee stores the raw payload under a content-hash key; chunk ids are content-derived cognee/cognee/modules/ingestion/save_data_to_file.py:32-53, :76-98; cognee/cognee/modules/chunking/chunk_id.py:15-22 code
    B15 cognee conflict review is on by default when a model is configured; it runs in the improvement step, and searches attach the stored conflicts to the passages they return cognee/cognee/modules/improve/config.py:44; cognee/cognee/api/v1/improve/improve.py:296, :434-438; cognee/cognee/modules/improve/registry.py:26-36; cognee/cognee/modules/improve/stages.py:577-586; cognee/cognee/modules/provenance/edge_evidence/config.py:16; cognee/cognee/memify_pipelines/review_conflicts_pipeline.py:68-89; cognee/cognee/modules/retrieval/hybrid_retriever.py:214-216 code
    B16 cognee forget() dispatches to everything, a dataset, a data item, or memory only, and with clean_history also deletes the caller's search history; an artifact several chunks own is deleted only when no owning ref remains cognee/cognee/api/v1/forget/forget.py:123-136, :205-217, :223-256; cognee/cognee/infrastructure/databases/unified/provenance_delete_planner.py:57-59, :86-96 code
    B17 cognee routes by regex rules with no model call; with a model configured the fallback HYBRID_COMPLETION generates an answer; 21 search types plus one deprecated; only_context returns the context cognee/cognee/api/v1/recall/query_router.py:46, :217-254, :337-362; cognee/cognee/api/v1/recall/recall.py:479, :799-825; cognee/cognee/modules/retrieval/hybrid_retriever.py:398-408; cognee/cognee/modules/search/methods/get_retriever_output.py:111-134; cognee/cognee/modules/search/types/SearchType.py:85-108 code
    B18 cognee permissions read/write/delete/share; search limited to readable datasets, each in its own context; access control on when ENABLE_BACKEND_ACCESS_CONTROL is unset or true cognee/cognee/modules/users/permissions/permission_types.py:1; cognee/cognee/modules/search/methods/search.py:249-251, :461-466, :566-591; cognee/cognee/context_global_variables.py:100-146, :162-170 code
    B19 Graphiti uses model prompts per episode to extract entities, dedupe entities, extract attributes and summaries, extract facts, resolve facts and extract dates graphiti/graphiti_core/utils/maintenance/node_operations.py:311-324, :765-768, :1134-1137, :1308; graphiti/graphiti_core/utils/maintenance/edge_operations.py:243, :864, :981-988 code
    B20 Graphiti's resolve prompt requires explicit evidence of change; a contradicted edge gets invalid_at and expired_at and is kept; edges carry valid_at, invalid_at, expired_at graphiti/graphiti_core/prompts/dedupe_edges.py:87-97 (prompt); graphiti/graphiti_core/utils/maintenance/edge_operations.py:1004-1026, :640-645, :762-830; graphiti/graphiti_core/graphiti.py:1871; graphiti/graphiti_core/edges.py:236-253 (code) prompt; code
    B21 Graphiti keeps raw episode text by default; remove_episode deletes only unsupported facts and entities; edges list supporting episodes; the README leaves access control to the builder graphiti/graphiti_core/graphiti.py:248, :1186-1187, :2662, :2684-2739; graphiti/graphiti_core/edges.py:232-235; graphiti/README.md:81-82 code; project statement
    B22 Graphiti default search: BM25 + cosine with RRF, empty filters (no default filter on retired edges), group filter only when group ids are given; options BFS, MMR, cross-encoder graphiti/graphiti_core/graphiti.py:2358-2371; graphiti/graphiti_core/search/search_config_recipes.py:111-116; graphiti/graphiti_core/search/search_config.py:32-77; graphiti/graphiti_core/search/search_utils.py:213-219; graphiti/graphiti_core/search/search.py:155-156; grep in the verification log code
    B23 Letta Code: root memory in the prompt; the agent opens deeper files (10 per directory); the agent is told to rewrite core memory; a reflection agent's instructions prioritise mistakes, resolve contradictions toward the latest evidence, and commit letta-code/src/tools/descriptions/Memory.md:1-9; letta-code/src/agent/prompts/letta_root_memfs.md:26-33; letta-code/src/agent/subagents/builtin/reflection-v2.md:1-11, :23, :29-37, :55-57 prompt
    B24 Letta's system prompt says message history is stored automatically and cannot be changed by the agent letta-code/src/agent/prompts/letta_root_memfs.md:10-14 prompt
    B25 Supermemory's open MCP server schemas of API responses (version, isLatest, relations, inference and forget fields, memory-to-document links); one namespace per client call; MCP read/write per namespace, read fallback; the engine is not in the repository supermemory/apps/mcp/src/shared/types.ts:85-102, :142-169, :188-201 (schema); supermemory/apps/mcp/src/server/client/index.ts:265-344; supermemory/apps/mcp/src/server/auth/rbac.ts:3-35 (code); supermemory/AGENTS.md:159, :180-197 (project statement) schema; code; project statement
    B27 Letta memory belongs to one agent and is a git-backed projection; shared repositories attach to several agents; memory subagents run in a sandbox that denies the agents tree and re-opens only their own memory; edits apply from a later recompile letta-code/src/agent/prompts/letta_root_memfs.md:6, :47-58 (prompt); letta-code/src/agent/attached-repositories.ts:18-33; letta-code/src/permissions/sandbox-policy.ts:185-208; letta-code/src/permissions/memory-confinement-launcher.ts:52-94; letta-code/src/agent/subagents/sandbox.ts:53-54, :83-97 (code) prompt; code
    B28 Letta local message search is full-text only letta-code/src/backend/local/transcript-search.ts:540-549 code
    B29 Hindsight recall: semantic, keyword and graph arms in parallel plus a temporal arm when a time is found, RRF k=60, cross-encoder rerank by default with a local model, a 4,096-token budget, a text2date query analyser (a small local date model) by default, no LLM call in the recall pipeline H/engine/memory_engine.py:1859-1868, :2029, :3177-3182, :9784, :10547, :10852-10856, :10950-10972, :11327; H/engine/search/fusion.py:29-60; H/config.py:1526-1528, :2452, :2460-2461, :5171, :1816, :6583-6588; H/api/http.py:654-655; H/engine/query_analyzer.py:281-295, :320-332 code
    B30 Hindsight keeps documents and chunks H/alembic/versions/o1a2b3c4d5e6_oracle_baseline.py:63-95 code (schema)
    B31 Hindsight retain: one model call per chunk (3,000 characters default); "Extract SIGNIFICANT facts" H/engine/retain/fact_extraction.py:1090 (prompt); H/config.py:2051 (code) code; prompt
    B32 Hindsight consolidation: submitted after retain by default, 8 facts per call, verdicts unrelated/repeats/changes/ends, later-stated marks computed in code; the prompt says to keep dated brackets of earlier states and allows the old value as history H/engine/memory_engine.py:7667-7669; H/config.py:2207-2208, :2244; H/engine/consolidation/consolidator.py:1907-1910, :3841-3843, :4017-4021 (code); H/engine/consolidation/prompts.py:33, :131-139 (prompt) code; prompt
    B33 Hindsight fact rows have no valid-until or replaced-by column; prefer_observations defaults to false; an explicit invalidation moves a fact to an archive table H/alembic/versions/o1a2b3c4d5e6_oracle_baseline.py:98-140; H/config.py:2440; H/engine/memory_engine.py:13641-13659; H/engine/memories/pg/writes.py:432-456; grep in the verification log code
    B34 Hindsight's entity resolver matches names by trigram gate and co-occurrence weights, with no LLM call in the file; facts are linked by type temporal, semantic, entity, causes, caused_by, enables, prevents H/engine/memories/pg/entity_resolver.py:163-198, :1301-1316; H/alembic/versions/o1a2b3c4d5e6_oracle_baseline.py:220-237; grep in the verification log code
    B38 Hindsight: the default tenant does no authentication and is installed when none is configured; recall tags_match defaults to any (includes untagged); the validator hook's tag groups are appended to recall's filter H/extensions/builtin/tenant.py:35-37; H/engine/memory_engine.py:3620-3623, :3766-3785, :9954-9958; H/api/http.py:674-679; H/engine/search/tags.py:74-77 code
    B39 Hindsight shared observation scope consolidates into one untagged scope; combined (or unset) uses the memory's own tags H/engine/consolidation/consolidator.py:576-579, :609-612 code
    B40 Public benchmarks LoCoMo and LongMemEval score answers about chat histories; LongMemEval has a knowledge-update type; as far as we can tell (23 Nov 2026), neither asks whether the outdated value is still stored, whether a deleted fact is gone from storage, or about cross-person access LoCoMo: Maharana et al., 2024, arXiv:2402.17753, github.com/snap-research/locomo; LongMemEval: Wu et al., 2024, github.com/xiaowu0162/LongMemEval and huggingface.co/datasets/xiaowu0162/longmemeval-cleaned, revision 98d7416c (question_type includes knowledge-update) assessment
    B41 Hindsight's model-call trace is on by default, kept until a retention sweep (1 day by default), and not deleted with its document by default H/config.py:2508-2513, :6415-6431; H/engine/memory_engine.py:3574-3580, :11832, :14798-14803 code
    B42 cognee logs each search's question and the answer text the user saw cognee/cognee/modules/search/methods/search.py:216; cognee/cognee/modules/search/operations/log_search_history.py:9-28 code
    B43 Letta's system prompt says memory is git-tracked and may be synced off the machine, and never to store secrets letta-code/src/agent/prompts/letta_root_memfs.md:34, :56 prompt
    B45 Hindsight's Memory Defense regex screen runs only when a bank's policy is enabled (and, per item, when an extension is loaded); the default policy is none H/engine/retain/orchestrator.py:216-222, :1851-1864; H/extensions/memory_defense.py:52-54, :111-143, :180-255; H/config.py:6227 code
    B46 mem0's coding-agent plugin redacts secret patterns; the core add() path has no redaction step mem0/integrations/claude-code-plugin/core/memory_core.py:168-183; mem0/mem0/memory/main.py:881-1220 (read in full; grep in the verification log) code
    B48 mem0's open-source add() refuses the timestamp parameter, which its docstring calls "Platform-only" mem0/mem0/memory/main.py:817-818 (code), :787 (docstring) code; docstring
    B49 Hindsight ships an API-key tenant extension that checks each request against one configured key H/extensions/builtin/tenant.py:44-90 code
    B50 Supermemory's AI SDK middleware defaults to addMemory "always" (saves conversations) supermemory/packages/tools/src/vercel/index.ts:36-40, :159-160 code
    B51 mem0 stores the text field of the model's extraction output as the memory's data mem0/mem0/memory/main.py:979-983, :1017-1033 code