Key takeaways

  • Five of the six use a language model when memory is written, in their default setups with a model configured: mem0, cognee, Graphiti, Letta Code and Hindsight. Supermemory's engine is not in its public repository, so we cannot see its write path. What they keep differs:

    • single facts (mem0);
    • documents and versioned memories (Supermemory, per its open MCP server schemas);
    • a knowledge graph built from chunks (cognee);
    • time-stamped fact edges (Graphiti);
    • markdown files the agent rewrites (Letta Code);
    • facts plus consolidated "observations" (Hindsight).
  • Retrieval ranges from fused ranking to agent navigation.

    • mem0, Graphiti and Hindsight blend vector and keyword search. Hindsight adds graph and time arms and a local reranking model, and makes no LLM call.
    • cognee's default writes an answer with a model.
    • Letta Code lets the agent open its own memory files.
  • Change is handled in six different ways:

    • add-only (mem0);
    • invalidation with dates (Graphiti);
    • version flags (Supermemory's schema);
    • a consolidation layer (Hindsight);
    • a conflict review after the write (cognee);
    • the agent editing a file (Letta Code).

    In several default code paths, an outdated value stays searchable unless the application acts.

  • "Who may see what" is mostly a scope the caller passes, such as a user id, a group id, a namespace or a tag. Of the open code we read, cognee's is the one that checks per-dataset permissions (read, write, delete, share) on every search by default.

  • The need

    An AI agent that works with many people needs to remember the right things, for the right person, and to forget on request. Every memory system answers five questions, whether it says so or not:

    1. What does it store?
    2. Who or what decides what is worth remembering?
    3. How does it find a memory again?
    4. What happens when a fact changes, or someone asks it to forget?
    5. Who may see which memory?

    Product pages rarely answer all five, and the answers decide whether a system fits an enterprise with departments, clients and privacy rules. We needed those answers to design Yukti Memory, so we wrote them down for six systems that many teams consider: mem0, Supermemory, cognee, Graphiti (the open-source graph framework inside Zep), Letta Code and Hindsight.

    Our approach

    We read each system's own repository at a fixed commit and traced the five paths above through the code. Every mechanism in this article cites a file and line at that commit, in the claims table at the end. Where we had earlier maps of these systems (drawn between 4 and 10 November 2026), we re-checked them against the commits below, and where a map and the code disagreed, we went with the code.

    System What we read Commit read on 28 Nov 2026 Version in that commit
    mem0 The open-source Python package and its self-hosted server. Not mem0's hosted platform cae3d8cda89437863e047a311688d7f44cceef60 2.2.1
    Supermemory Docs, MCP server, client tools and a memory graph component. The memory engine is not in this repository f34803830f8f520498ec3d20ae817c9f90d9412f not applicable
    cognee The whole engine dbc515bdcde72691c1880978407ac1e5829bbc25 1.6.11
    Graphiti The library (graphiti_core) 343a7bb1fa950946a3c43ebbdf5bffeb00ff843e 0.32.1
    Letta Code The agent harness and client. Letta's server is a separate repository, which we did not read 52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21 0.34.72
    Hindsight The API server and engine (hindsight-api-slim) c828c7e41527d0c4916cac0ba2b56334fed4a79d 1.3.0

    Three limits follow from that table:

    • mem0: mem0 also runs a hosted platform. The open-source code marks some features as platform-only; for example, add() refuses the platform's timestamp parameter [A68]. We did not read the platform, and nothing here describes it.
    • Supermemory: its engine is closed, so we describe only its open MCP server schemas and its open client code.
    • Letta: we describe Letta Code's memory model, not the Letta server's.

    We report no benchmark scores and make no comparison with Yukti Memory. This is a map, not a ranking.

    Why not just read the docs or benchmarks?

    • Docs and comments drift from code, everywhere (ours included). One example from this reading: mem0's add() docstring still says the model decides "whether to add, update, or delete related memories", while the code path at the same commit only adds [A6, A11]. That is not a criticism. It is why we cite code, not prose.

    • Benchmarks answer a different question. Two widely used public benchmarks for long-term conversational memory are LoCoMo (Maharana et al., 2024) and LongMemEval (Wu et al., 2024).

      • What they score: answers to questions about long chat histories. LoCoMo's questions are about very long conversations between two speakers. Each of LongMemEval's 500 questions comes with its own history of one user's chats with an assistant.
      • Corrections: LongMemEval does test them, with a "knowledge-update" question type that 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 one person's memory can reach another person;
        • whether a deleted fact is gone from storage;
        • whether the outdated value is still stored and searchable once the answer comes out right [A63].

      Those are the questions an enterprise asks first.

    How we tested it

    • Source reading.
      • For each system, we followed the write call, the search call, the update and delete calls, and every check on user, scope or permission. We recorded the file and line of each.
      • Only mechanisms we could see in executing code are stated. Where a statement rests on a docstring, a code comment or the text of a prompt, the claims table says so.
      • Anything we could find only in documentation is left out, or labelled as the project's own statement.
    • Absence claims. For every claim that something does not happen, such as "no LLM call" or "not filtered by default", we searched the code and kept the search output 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

    The six at a glance (mechanisms, not scores)

    What it stores What decides what to remember How it retrieves How it updates or forgets Who may see what
    mem0 One vector row per extracted fact, an entity collection, a change history, and the last 10 raw messages per scope [A1–A4] One model call per add(), told to only ADD; exact-text dedup; or store messages as-is [A5–A8] Vector search plus BM25 keyword search plus entity boost, added into one score; optional reranker [A9–A10] The write path only adds. Update and delete are separate calls by id. Facts can carry an expiry date [A11–A12] A user, agent or run id on every call, used as a filter [A13–A14]
    Supermemory Documents and memory entries with version, isLatest, relation and forget fields (open MCP server schemas of API responses) [A15–A17] The closed engine. Client middleware sends every conversation by default [A19] Closed. Each open client call names one namespace [A18] Schema fields for versions, updates relations and forgetting [A16]. Logic closed One namespace per call. The MCP server computes read or write per namespace [A18, A20]
    cognee Raw files, chunks, a knowledge graph of entities and relations, summaries, embeddings [A22–A24] Everything added is kept. A model extracts the graph per chunk and the summary is built from it, or a local extractor runs when no key is set [A23, A64] Rule-based routing with no model call. The default lane searches chunk and summary vectors plus entity neighbourhoods, then writes an answer with a model when one is configured [A26–A28] Re-adding a changed file is refused; changes go through update(). Conflict review is on by default (with a model). forget() works by item, dataset or everything [A25, A29–A31] Users, datasets and permissions (read, write, delete, share), on by default, with a database per dataset [A32–A33]
    Graphiti Episodes (raw text kept by default), entity nodes, fact edges with time fields and their source episodes [A35–A36] A model extracts entities and facts from every episode, then resolves duplicates and contradictions [A35, A37] BM25 plus cosine over facts, fused by rank (RRF). Graph walk, MMR and cross-encoder are options [A39] A contradicted fact gets an end date and stays. Removing an episode deletes what only it supported [A38, A40, A42] group_id as a filter. Access control is left to the builder [A34, A41]
    Letta Code Markdown memory files in git, per agent. Message history kept by the harness [A44, A45, A47] The agent itself, plus a background reflection agent that edits and commits memory [A46] Root files always in the prompt. The agent opens deeper files. Message search [A44, A48] The agent edits files, and each change is a git commit [A46, A50] Memory belongs to one agent. Shared repositories can be attached [A49]
    Hindsight Documents, chunks, facts typed world or experience, consolidated observations, entity and fact links [A51–A52] A model extracts "significant" facts per chunk. Background consolidation builds observations [A52, A54] Semantic, keyword, graph and time arms, fused by rank (RRF), reranked by a local cross-encoder model, cut to a token budget; no LLM call [A55] Old and new raw facts both stay. Observations record the change. Facts can be invalidated into an archive [A56–A57] One bank per call. Tags inside a bank. No authentication by default, with an API-key extension shipped. A hook can confine callers [A58–A61, A69]

    The sections below expand each row. The bracketed codes point to the claims table at the end.

    mem0 (version 2.2.1, open-source package and self-hosted server)

    • What it stores. Four things [A1–A4]:
      • one vector-store row per memory, whose payload holds the fact's text, an MD5 hash, a lemmatised copy for keyword search, timestamps and the scope ids;
      • a separate entity collection: spaCy finds the entities, with no LLM call, and each one lists the memories it links to;
      • a SQLite history of every add, update and delete, with the text before and after;
      • the last 10 raw messages for each scope, with older ones deleted.
    • What decides what to remember.
      • The default (infer=True): one model call per add(). The model sees the new messages, the last 10 messages, and up to 10 similar existing memories, whose ids are replaced by small integers (the code's comment calls this "anti-hallucination") [A5].
      • The prompt: its "sole operation is ADD". It says "When in doubt, extract", and to skip greetings and content "too generic to be useful" [A6].
      • Duplicates: the prompt asks the model to skip facts already captured. In code, a new fact is dropped only when its exact text hashes the same as a neighbour's, or an earlier fact in the same batch [A7].
      • infer=False: each message is stored as it is [A8].
    • How it retrieves.
      • Three signals: the query is embedded, and the search over-fetches semantic candidates (four times the requested number, at least 60). A BM25 keyword search runs where the vector store supports one. Memories linked to entities in the query get a boost [A9].
      • One score: the final score adds the three signals and divides by the most they could add up to. The similarity threshold (default 0.1) is applied to the semantic score first, and only semantic candidates are scored [A10].
      • Defaults: 20 results, reranker off [A9].
    • How it updates or forgets.
      • The write path never edits or deletes an earlier memory. A correction arrives as a new memory beside the old one [A11].
      • update(), delete() and delete_all() are separate calls that take an id or a scope [A11].
      • A memory can carry an expiration_date, after which search hides it unless asked [A12].
    • Who may see what.
      • Every write needs at least one of user_id, agent_id or run_id, and identity keys placed in free-form metadata are dropped [A13]. These ids are filters, not credentials.
      • The self-hosted server authenticates the caller with a token or API key, but takes the ids from the request. Fetching a memory by id takes no scope [A14].

    Supermemory (engine closed; open repository read)

    • What is open. The repository holds:

      • documentation;
      • an MCP server;
      • client middleware for AI SDKs;
      • a memory graph component.

      Its own guide says the SDKs are built elsewhere, and the memory engine is not among its parts [A15].

    • What it stores, per the open MCP server's schemas of API responses [A16–A17]:

      • documents with a processing status;
      • memory entries with version, isLatest, parent and root ids, and relations named updates, extends and derives;
      • flags isInference, isForgotten and isStatic, and fields forgetAfter and forgetReason;
      • links from memories to their source documents.

      These are the shapes the API shares. How the engine fills them is not visible.

    • What decides what to remember.

      • On the client side: the AI SDK middleware fetches the user's profile and saves every conversation by default ("always"). It gives retrieval a 5-second budget [A19].
      • The rest: decided in the closed engine, out of view.
    • How it retrieves. Each add, search and profile call in the open MCP client names exactly one namespace [A18]. Ranking happens in the closed engine.

    • Who may see what.

      • The open MCP server works out read or write access per namespace from the session. In a restricted session, a namespace with no explicit grant falls back to read [A20].
      • Enforcement in the hosted API is not in the repository.

    cognee (version 1.6.11, open source)

    • What it stores.
      • The raw files.
      • Chunks, whose ids are derived from the document, a SHA-256 hash of the text and its occurrence, so unchanged text keeps its id [A24].
      • A knowledge graph of entities and relations, chunk summaries, and their embeddings [A23].
    • What decides what to remember.
      • remember() without a session runs add(), then cognify(). When automatic improvement is on (the default), it then runs improve() [A22].
      • cognify() keeps everything added. For each chunk, a model extracts entities and relations. By default the chunk's summary is then built from those relations without a model call, and the results are stored in graph and vector databases [A23].
      • With no model key configured, a local extractor is used instead [A64].
    • How it retrieves.
      • recall() picks a search type with an ordered table of patterns, with no model call. It defaults to HYBRID_COMPLETION. With no model configured, that lane returns the retrieved context instead of a generated answer [A26].
      • The hybrid lane runs vector search over chunks and summaries, adds entity neighbourhoods, then generates an answer with a model [A27].
      • There are 21 search types in all, plus one deprecated [A28].
    • How it updates or forgets.
      • Changed files: re-adding a file with the same path or name but different content is refused and pointed to update(). A changed piece of raw text is simply a new document [A25].
      • Conflicts: reviewing conflicting facts is on by default when a model is configured: the improvement step reviews changed facts with a model and stores the conflicts it finds [A29].
      • Forgetting: forget() removes one item, a dataset, every dataset the user may delete, or only the graph and vectors. With clean_history it also removes the caller's search history [A30]. Output that several chunks own is deleted only when no owner is left; otherwise only the departing owner is detached [A31].
    • Who may see what.
      • Access control is on unless ENABLE_BACKEND_ACCESS_CONTROL is set to false. It then needs graph and vector backends that can keep each dataset in its own database [A32].
      • Dataset permissions are read, write, delete and share. A search covers only the datasets the user may read, each in its own database context [A33].

    Graphiti (version 0.32.1, open source; the graph framework inside Zep)

    • What it is. In its README, Graphiti calls itself the graph construction framework inside Zep. It says that with Graphiti "you build the service around it: ingestion, tenancy, access control, and operations" [A34]. We make no claim about Zep's hosted service.

    • What it stores.

      • Episodes, which keep their raw text by default.
      • Entity nodes.
      • Fact edges [A35], each carrying [A36]:
        • the time it became true (valid_at);
        • the time it stopped being true (invalid_at);
        • when the system retired it (expired_at);
        • the episode's reference time;
        • the list of episodes that support it.

      This is a "bi-temporal" model: it records when something was true in the world, and when the system learned or retired it.

    • What decides what to remember.

      • A model processes every episode: it extracts entities and facts, and resolves duplicate entities [A35].
      • A further prompt marks which existing facts a new fact duplicates or contradicts. The prompt asks for explicit evidence of a change, not just a newer date [A37].
    • How it retrieves.

      • The default search combines BM25 keyword search and cosine similarity over facts, fused by reciprocal rank fusion (RRF: each list contributes by rank, not raw score). With a centre node, it ranks by graph distance instead.
      • Breadth-first graph search, MMR diversity and cross-encoder reranking are available as options [A39].
    • How it updates or forgets.

      • A contradicted older fact gets an end date and a retirement stamp. It is not deleted [A38].
      • The default search passes empty filters, so retired facts are not excluded unless the caller filters on the date fields [A40].
      • Removing an episode deletes the facts and entities that only that episode supported [A42].
    • Who may see what. group_id is a filter on searches. A search given no group ids is not limited to any group [A41].

    Letta Code (version 0.34.72; the harness, not the Letta server)

    • What we read. Letta Code is an agent harness. Its README says Letta Cloud stores agents' memory, identity and conversations [A43].
    • What it stores.
      • Memory files: a per-agent directory of markdown files, tracked in git.
        • The root files are compiled into the system prompt.
        • Deeper files are "deferred": the agent opens them with a Memory tool, which lists up to 10 entries per directory, most recently edited first [A44].
        • Agents that do not use this file layout start with two memory blocks, persona and human [A45].
      • Message history: the agent's system prompt says the harness stores it automatically, the agent cannot change it, and the context window holds recent messages plus a summary of older ones [A47].
    • What decides what to remember. The agent itself, and a background agent [A46]:
      • The agent: its system prompt tells it to rewrite its core memory when it learns a correction or a preference.
      • The reflection agent: reads recent transcripts and edits the memory files. Its instructions put mistakes and corrections first, resolve contradictions "in favor of the latest evidence", and commit each change to git.
    • How it retrieves.
      • Root memory is always in context, and the agent navigates the rest [A44].
      • Message search: on the local backend it is full-text only, and vector or hybrid modes raise an error. On the cloud backend the client asks Letta's server for vector, full-text or hybrid search [A48].
    • How it updates or forgets.
      • The agent edits a file, and the change is committed [A46].
      • Per its system prompt, an edit shapes the prompt only from a later recompile, not the current turn [A50].
    • Who may see what.
      • All memory belongs to one agent identity.
      • Shared memory repositories can be attached to several agents.
      • Memory subagents run in a kernel sandbox: the other agents' memory trees are denied to them, and only their own memory is writable [A49].
      • Who may talk to which agent is decided by Letta's server, which we did not read.

    Hindsight (version 1.3.0, open source)

    • What it stores [A51]:
      • documents and chunks;
      • memory units typed world (about the user and the world), experience (what the agent itself did) or observation (consolidated);
      • links between entities and between facts.
    • What decides what to remember.
      • Extraction: retain makes one model call per chunk (3,000 characters by default). The prompt asks for "SIGNIFICANT facts" and says to "be SELECTIVE" [A52]. Embeddings are made locally by default [A53].
      • Consolidation: after each retain, a background job runs by default. It groups 8 facts per model call and judges each fact against nearby observations: unrelated, repeats, changes or ends. The code, not the model, compares the times and marks which observations were stated after the fact. That way, an old conversation imported late is shown to the model as older news [A54].
    • How it retrieves.
      • Semantic, keyword and graph search run in parallel, plus a time arm when the query names a time.
      • The results are fused by RRF (k = 60), then reranked by a local cross-encoder model by default.
      • Results are packed into a token budget (4,096 by default) rather than a fixed count.
      • By default the query analyser reads dates with text2date, a small date model that runs locally, and the recall pipeline makes no LLM call. It does run local models: a query embedder, the date model and the reranker [A55].
    • How it updates or forgets.
      • Fact rows have time fields for when something happened and when it was mentioned, but no "valid until" or "replaced by" field.
      • A recall option can let an observation stand in for the facts it was built from. It is off unless configured [A56].
      • A fact can be invalidated by an explicit call. It then moves to an archive table, and the observations built on it are swept and rebuilt [A57].
    • Who may see what.
      • Banks: each call works on one memory bank [A58].
      • Tenants: the default tenant extension does no authentication [A59]. Hindsight also ships an API-key tenant extension, which checks every request against one configured key [A69].
      • Tags: inside a bank, tags filter memories. Recall's default tag match, any, also returns untagged memories [A60].
      • A confinement hook: an operation-validator extension can confine a caller to tag groups. Recall adds those groups to the caller's own filter, so the hook can narrow what a caller sees but never widen it [A61].

    What's next, and what we'd suggest

    If you are choosing a memory system, ask the five questions above of each candidate, and check the answers in the code at the version you will run:

    • What is stored besides the "memory": histories, traces, raw messages, search logs.
    • Who decides what to keep, and whether you can see that decision.
    • What a correction does to the old value.
    • What a delete removes, and what it leaves behind.
    • Whether "user" is a permission or just a filter your application must enforce.

    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 every citation. The commits above are the ones we read.
    • Gaps to close: reading Letta's server separately.
    • The next article looks at the same six designs as trade-offs: where each is strong and where it struggles.

    Frequently asked questions

    Which AI memory systems use a knowledge graph?

    • cognee builds an entity and relation graph from every chunk [A23].
    • Graphiti stores facts as time-stamped edges between entities [A36].
    • Hindsight links facts to entities and to each other in its database tables [A51].
    • mem0's open-source code keeps an entity collection linked to memories, not a graph database [A2].
    • Supermemory's open MCP server schemas name relations between memories (updates, extends, derives) [A16].
    • Letta Code links memory files with ordinary markdown links [A44].

    Is Supermemory open source?

    • The repository is MIT-licensed. It contains documentation, an MCP server, client tools and a memory graph component [A15, A66].
    • The engine that extracts and ranks memories is not in it [A15].

    Does mem0 update or delete old memories automatically?

    • Not in version 2.2.1's open-source code, at the commit we read: the write path only adds. Its prompt asks the model to describe a change in the new memory ("switched from X to Y"), and the old memory stays [A6, A11].
    • To retire a memory, your application calls update() or delete(), or sets an expiry date [A11, A12].
    • We did not read mem0's hosted platform [A68].

    How do AI memory systems keep one user's memories separate from another's?

    • Most use a scope the caller passes: mem0's user, agent or run id; Graphiti's group_id; Supermemory's namespace; and Hindsight's bank and tags [A13, A18, A41, A58, A60].
    • cognee checks dataset permissions on every search and keeps each dataset in its own database [A32, A33].
    • Letta Code scopes memory to an agent [A49].
    • Where the scope is only a filter, your application must make sure the right id is passed.

    Next: Where each AI memory design wins and where it struggles (the trade-offs behind these six designs).


    Claims table

    Commits as in "Our approach". Paths start with the repository folder: mem0/, supermemory/, cognee/, graphiti/, letta-code/, hindsight/; ... stands for hindsight/hindsight-api-slim/hindsight_api. Row ids are kept from the reviewed draft, so removed rows (A21, A62, A65, A67) leave gaps; A68 and A69 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 own README or guide;
    • assessment: our reading, with its sources.
    # Claim Evidence Kind
    A1 mem0 stores one vector row per memory with text, MD5 hash, lemmatised text, timestamps and scope ids mem0/mem0/memory/main.py:1028-1041 code
    A2 mem0 extracts entities with spaCy (no LLM call) into a separate entity collection listing linked memory ids mem0/mem0/utils/entity_extraction.py:751-772; mem0/mem0/memory/main.py:422-424, :1100-1204 code
    A3 mem0 keeps a SQLite history of ADD, UPDATE and DELETE with old and new text mem0/mem0/memory/main.py:1078-1098, :1995-2004, :2096-2105, :2128-2138 code
    A4 mem0 keeps the last 10 raw messages per scope and deletes older ones mem0/mem0/memory/storage.py:279-290 code
    A5 With infer=True (default), one model call per add() sees new messages, the last 10 messages and up to 10 similar memories with ids replaced by integers ("anti-hallucination" comment) mem0/mem0/memory/main.py:770, :918-964 (comment at :935) code
    A6 mem0's extraction prompt: "sole operation is ADD", "When in doubt, extract", skip content "too generic", and capture a change in the new memory; the add() docstring still mentions update and delete mem0/mem0/configs/prompts.py:472, :576-578, :612-615; mem0/mem0/memory/main.py:790-791 prompt; docstring
    A7 mem0's prompt asks the model to skip semantically equivalent facts; in code, new facts are dropped only by MD5 of exact text against retrieved neighbours and the batch mem0/mem0/configs/prompts.py:511; mem0/mem0/memory/main.py:1007-1026 prompt; code
    A8 With infer=False, mem0 stores each message as-is mem0/mem0/memory/main.py:882-916 code
    A9 mem0 search: over-fetch max(4×top_k, 60) semantic candidates, BM25 where the store supports it, entity boost; defaults top_k 20, threshold 0.1, rerank off mem0/mem0/memory/main.py:1393-1400, :1642-1678, :1514-1519; mem0/mem0/vector_stores/base.py:72-84; mem0/mem0/vector_stores/qdrant.py:471-485 code
    A10 mem0 score = (semantic + BM25 + entity) ÷ maximum possible; threshold gates the semantic score; only semantic candidates are scored mem0/mem0/utils/scoring.py:60-139; mem0/mem0/memory/main.py:1680-1701 code
    A11 mem0's write path records only ADD events; update, delete, delete_all are separate calls mem0/mem0/memory/main.py:1078-1089, :1209-1212, :1829-1958 code
    A12 mem0 memories may carry expiration_date; expired ones are hidden from search unless show_expired mem0/mem0/memory/main.py:427-451, :1684-1685 code
    A13 mem0 requires one of user_id, agent_id, run_id on add and search; identity keys in metadata are dropped mem0/mem0/memory/main.py:143-162, :360-397, :1471-1475 code
    A14 mem0's server authenticates by JWT or API key, passes ids from the request, and gets a memory by id with no scope mem0/server/auth.py:144-170; mem0/server/main.py:367-375, :443-449, :452-480; mem0/mem0/memory/main.py:1222 code
    A15 Supermemory's repository holds docs, MCP server, client tools and a memory graph component; the SDKs are built elsewhere; no engine package is listed supermemory/AGENTS.md:159, :180-197 project statement
    A16 Supermemory's open MCP server has Zod schemas for the API's documents (with a processing status) and memory entries; memory entries carry version, isLatest, parent/root ids, updates/extends/derives relations, isInference, isForgotten, isStatic, forgetAfter, forgetReason supermemory/apps/mcp/src/shared/types.ts:85-114, :142-169, :188-201; supermemory/apps/mcp/src/server/tools/output-schemas.ts:10-32; supermemory/packages/memory-graph/src/api-types.ts:54-70 schema
    A17 An open schema links memories to their source documents (source edges in the graph feed, documentIds on each memory) supermemory/apps/mcp/src/shared/types.ts:159-169, :199; supermemory/apps/mcp/src/server/client/index.ts:190-212; supermemory/packages/memory-graph/src/api-types.ts:72-79 schema
    A18 Each add, search and profile call in the open MCP client names one namespace supermemory/apps/mcp/src/server/client/index.ts:267-337 code
    A19 Supermemory's AI SDK middleware defaults to mode "profile" and addMemory "always", with a 5,000 ms retrieval timeout supermemory/packages/tools/src/vercel/index.ts:16, :159-164 code
    A20 Supermemory's MCP server computes read/write per namespace; restricted sessions fall back to read supermemory/apps/mcp/src/server/auth/rbac.ts:3-35 code
    A22 cognee remember() without a session runs add, then cognify, then improve only when automatic improvement is on (self_improvement true, IMPROVE_AUTO_ENABLED default true, not declined by the host's admission check) cognee/cognee/api/v1/remember/remember.py:2300, :2319-2330, :2418-2467; cognee/cognee/api/v1/remember/auto_improve_debounce.py:81-83; cognee/cognee/modules/improve/config.py:41 code
    A23 cognee's default cognify tasks: classify, chunk, model graph extraction per chunk, a chunk summary built from that extraction without a model call (default summary_method from_extraction; a chunk with no relations gets none), store nodes, edges and embeddings cognee/cognee/api/v1/cognify/cognify.py:665, :1017, :1030-1049; cognee/cognee/modules/cognify/chunking_tasks.py:39-47; 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 code
    A24 cognee chunk ids derive from document, SHA-256 of text and occurrence cognee/cognee/modules/chunking/chunk_id.py:15-22 code
    A25 cognee add() refuses a file whose stored path or name matches but whose content hash differs, raising DocumentUpdateRequiredError; changed raw text is a new document by construction cognee/cognee/api/v1/add/add.py:457; cognee/cognee/tasks/ingestion/refuse_changed_existing_documents.py:127-139 (code), :1-19 (docstring, for raw text) code; docstring
    A26 cognee recall() routes by an ordered regex rule table with no model call, and the fallback is HYBRID_COMPLETION; with no LLM configured, completion types (the fallback included) run with only_context=True and return the assembled context instead of an answer cognee/cognee/api/v1/recall/query_router.py:46, :187-198, :217-254, :270-272, :305-316, :337-362; cognee/cognee/api/v1/recall/recall.py:799-825 code
    A27 cognee hybrid lane: vector search over chunk and summary collections, entity neighbourhoods, then a model completion cognee/cognee/modules/retrieval/hybrid/chunks.py:35-75; cognee/cognee/modules/retrieval/hybrid_retriever.py:393-408 code
    A28 cognee has 21 search types plus one deprecated cognee/cognee/modules/search/types/SearchType.py:85-108 code
    A29 cognee conflict review defaults to on (review_conflicts true): a stage of improve(), so it runs after remember() by default; skipped when no LLM is configured or edge evidence is off (on by default); it reviews facts with a model and stores the conflicts it finds 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 code
    A30 cognee forget() dispatches to delete everything (every dataset the user may delete), a dataset, a data item, or only the dataset's or item's memory; clean_history=True also deletes the caller's search history cognee/cognee/api/v1/forget/forget.py:123-136, :205-217, :223-256; cognee/cognee/api/v1/datasets/datasets.py:651-654 code
    A31 cognee deletes an artifact owned by several chunks only when no owning source ref remains; otherwise it detaches the removed refs cognee/cognee/infrastructure/databases/unified/provenance_delete_planner.py:57-59, :86-97; cognee/cognee/infrastructure/databases/unified/unified_store_engine.py:128-161 code
    A32 cognee access control is on when ENABLE_BACKEND_ACCESS_CONTROL is unset or true, subject to backends that can isolate each dataset cognee/cognee/context_global_variables.py:100-146, :162-170 code
    A33 cognee permissions are read, write, delete, share; search covers readable datasets, each in its own context cognee/cognee/modules/users/permissions/permission_types.py:1; cognee/cognee/modules/search/methods/search.py:249-250, :566-590 code
    A34 Graphiti's README: the framework inside Zep; you build ingestion, tenancy, access control and operations graphiti/README.md:79-90 project statement
    A35 Graphiti add_episode extracts and resolves entities and facts with model prompts and keeps raw episode text by default graphiti/graphiti_core/graphiti.py:248, :1815-1822, :1842-1869, :1094-1104, :1124-1132, :1186-1187; graphiti/graphiti_core/utils/maintenance/node_operations.py:310-324, :765-768; graphiti/graphiti_core/utils/maintenance/edge_operations.py:243, :981-989 code
    A36 Graphiti fact edges carry valid_at, invalid_at, expired_at, reference_time and supporting episodes graphiti/graphiti_core/edges.py:228-256; graphiti/graphiti_core/utils/maintenance/edge_operations.py:367-378 code
    A37 Graphiti's resolve prompt returns duplicates and contradicted facts, and requires explicit evidence of change graphiti/graphiti_core/utils/maintenance/edge_operations.py:981-988; graphiti/graphiti_core/prompts/dedupe_edges.py:25-33, :81-97 prompt; code
    A38 A contradicted older Graphiti edge gets invalid_at and expired_at; it is not deleted graphiti/graphiti_core/utils/maintenance/edge_operations.py:762-830 code
    A39 Graphiti default search: BM25 + cosine with RRF (node distance with a centre node); BFS, MMR, cross-encoder available graphiti/graphiti_core/graphiti.py:2358-2360; graphiti/graphiti_core/search/search_config_recipes.py:111-132; graphiti/graphiti_core/search/search_config.py:32-77 code
    A40 Graphiti's default search passes empty filters; no code path adds a filter on retired edges by default graphiti/graphiti_core/graphiti.py:2362-2371; graphiti/graphiti_core/search/search_filters.py:55-65, :187-278; grep in the verification log code
    A41 Graphiti group_id is a search filter, applied only when group ids are given graphiti/graphiti_core/search/search_utils.py:213-219; graphiti/graphiti_core/search/search.py:155-156 code
    A42 Graphiti remove_episode deletes edges and nodes only that episode supports graphiti/graphiti_core/graphiti.py:2662, :2684-2739 code
    A43 Letta Code's README: Letta Cloud stores agents' memory, identity and conversations letta-code/README.md:68 project statement
    A44 Letta Code memory: per-agent directory, root files in the system prompt, deeper files opened by the Memory tool (up to 10 entries per directory); markdown links between files letta-code/src/agent/memory-filesystem.ts:40-50; letta-code/src/backend/local/system-prompt-compilation.ts:151-176; letta-code/src/tools/descriptions/Memory.md:1-9; letta-code/src/tools/impl/memory.ts:213-233, :370-374; letta-code/src/tools/impl/truncation.ts:19; letta-code/src/agent/prompts/letta_root_memfs.md:19-33 code; prompt
    A45 Standard (non-MemFS) Letta agents start with persona and human blocks letta-code/src/agent/memory.ts:5 code
    A46 Letta's agent is told to rewrite core memory on corrections and preferences; a reflection subagent edits memory from transcripts, prioritises mistakes, resolves contradictions in favour of the latest evidence, and commits letta-code/src/agent/prompts/letta_root_memfs.md:32; letta-code/src/agent/subagents/builtin/reflection-v2.md:1-11, :23, :29-37, :55-57 prompt
    A47 Letta's system prompt says message history is stored automatically and cannot be changed by the agent, with recent messages plus a summary in context letta-code/src/agent/prompts/letta_root_memfs.md:8-14 prompt
    A48 Letta local message search is full-text only; the cloud backend calls the server with vector, fts or hybrid letta-code/src/backend/local/transcript-search.ts:540-549; letta-code/src/backend/message-search.ts:19-44; letta-code/src/backend/api/search.ts:9-12 code
    A49 Letta memory belongs to one agent; shared repositories attach to several agents; memory subagents run in a sandbox that denies the agents tree and re-opens only their own memory for writing letta-code/src/agent/prompts/letta_root_memfs.md:6, :47-49; 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; letta-code/src/sandbox/availability.ts:42-47 prompt; code
    A50 Per Letta's system prompt, a memory edit applies from a later recompile, not the current turn letta-code/src/agent/prompts/letta_root_memfs.md:55-58 prompt
    A51 Hindsight stores documents, chunks, memory units typed world/experience/observation, entities and links .../alembic/versions/o1a2b3c4d5e6_oracle_baseline.py:63-147, :187-237 code (schema)
    A52 Hindsight retain: one model call per chunk (default 3,000 characters); prompt "Extract SIGNIFICANT facts ... Be SELECTIVE"; world vs assistant (experience) .../engine/retain/fact_extraction.py:294-295, :1090; .../config.py:2051 code; prompt
    A53 Hindsight embeddings are local by default (BAAI/bge-small-en-v1.5) .../config.py:1464 code
    A54 Hindsight consolidation is submitted after retain when observations and auto-consolidation are on (both default true), batches 8 facts per call, uses the verdicts unrelated/repeats/changes/ends, and marks later-stated observations by comparing times in code .../engine/memory_engine.py:7667-7669; .../config.py:2207-2208, :2244; .../engine/consolidation/consolidator.py:1907-1910, :3841-3843, :4017-4021; .../engine/consolidation/prompts.py:131-134 (prompt) code; prompt
    A55 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, and no LLM call in the recall pipeline .../engine/memory_engine.py:1859-1868, :2029, :9784, :3177-3182, :10547, :10852-10856, :10950-10972, :11327; .../engine/search/fusion.py:29-60; .../config.py:1526-1528, :2452, :2460-2461, :5171, :1816, :6583-6588; .../api/http.py:654-655; .../engine/query_analyzer.py:281-295, :320-332 code
    A56 Hindsight fact rows have no valid-until or replaced-by column; prefer_observations defaults to false .../alembic/versions/o1a2b3c4d5e6_oracle_baseline.py:98-140; .../config.py:2440; .../api/http.py:636-644 code
    A57 Hindsight invalidation moves a fact to an archive table, sweeps stale observations and queues re-consolidation .../engine/memory_engine.py:13469-13470, :13641-13659; .../engine/memories/pg/writes.py:432-456 code
    A58 Hindsight recall works on one bank per call .../api/http.py:5594-5595 code
    A59 Hindsight's default tenant extension does no authentication, and is installed when none is configured .../extensions/builtin/tenant.py:35-37; .../engine/memory_engine.py:3620-3623 code
    A60 Hindsight recall's default tags_match is any, which includes untagged memories .../api/http.py:674-679; .../engine/search/tags.py:74-77 code
    A61 Hindsight's operation-validator hook returns tag groups that recall appends to the caller's filter .../engine/memory_engine.py:3766-3785, :9954-9958 code
    A63 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 about cross-person access, deletion from storage, or whether the outdated value is still stored LoCoMo: Maharana et al., 2024, arXiv:2402.17753, github.com/snap-research/locomo (locomo10.json: 10 two-speaker conversations); LongMemEval: Wu et al., 2024, github.com/xiaowu0162/LongMemEval and huggingface.co/datasets/xiaowu0162/longmemeval-cleaned, revision 98d7416c (longmemeval_s_cleaned.json: 500 questions, question_type includes knowledge-update) assessment
    A64 cognee uses a local extractor when no model key is configured cognee/cognee/modules/cognify/config.py:172-175 code
    A66 Supermemory's repository is MIT-licensed supermemory/LICENSE:1 project statement
    A68 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
    A69 Hindsight ships an API-key tenant extension that checks each request against one configured key .../extensions/builtin/tenant.py:44-90 code