Reader-supported: When you sign up through links on our site, we may earn an affiliate commission at no extra cost to you.Affiliate disclosure

Architecture

How each platform stores memory

"Memory" means very different things from one product to the next. Some keep a graph of entities with timed facts, some distil chats into short notes with embeddings, some write Markdown files you can open. Each of these 34diagrams reads left to right: what comes in, how it is processed, and the shape it is stored in.

Top 55 platforms

How it stores data

Turion Brain: Company knowledge graph

Records from your business tools are copied into a private database per workspace and linked into a graph of people, customers and other entities, each record keeping a link back to the tool it came from.

How Turion Brain structures data: Company knowledge graph1. Connect tools read-only: You sign in to Zendesk, HubSpot, Gmail, Google Drive, Notion and others. Turion reads each tool and never writes back to it. 2. Copy records into a private brain: Tickets, deals, emails and documents are copied into a Postgres database that belongs to your workspace. Every tool is read again each hour, and disconnecting a tool deletes its records. 3. Link records to entities: Records are tied to entities such as a customer, a person or a repository. Agents can open an entity with its links, walk to its neighbours, or see a timeline. 4. Query from anywhere: The same graph is reached from the Turion dashboard, Telegram, and over MCP from Claude and ChatGPT, with full-text search and read-only SQL alongside graph lookups.1 · CONNECTED TOOLS2 · SYNC (HOURLY)3 · WORKSPACE BRAINZendeskticketsHubSpotdeals, contactsGmailthreadsDrive / NotiondocumentsRead-only syncre-read every hourWorkspace DBPostgres, own copyAcme CorpcustomerDanapersonDeal: Renewalfrom HubSpotTicket #482from ZendeskContract.pdffrom Driveworks at
Raw inputProcessing stepDatabaseGraph entityStored memory / recordRelationship
Sources: Turion Brain product page, Docs: data and security, Docs: Brain assistants (MCP tools) · Not documented: How entities are extracted from records, and the list of entity and relationship types. Whether vector embeddings are used for search (the documented search tool is full-text). How conflicting facts across tools are reconciled.Full Turion Brain review →
How it stores data

Supermemory: Vector-graph memory with typed updates

Every input is kept as searchable chunks and also distilled into memories that are linked by three typed relations (updates, extends, derives), plus an always-on user profile.

How Supermemory structures data: Vector-graph memory with typed updates1. Ingest anything: Text, conversations, PDFs, URLs and connector items enter as documents and move through extracting, chunking, embedding and indexing. 2. Keep chunks for search: The raw document is kept as chunks so classic RAG search still works on the original wording. 3. Distil memories: A memory-building pass turns documents into short facts, preferences and episodes. Supermemory calls this pass "dreaming" and it can finish after the document shows as done. 4. Link with typed relations: A new fact that contradicts an old one updates it: the old memory is kept for audit but marked not latest. Extends adds detail, and derives records a fact inferred from others. 5. Roll up a profile: A profile with static and dynamic parts summarises the user, so an agent can get core context without a search.1 · DOCUMENTS2 · INGEST PIPELINE3 · MEMORY GRAPHUser profilestatic + dynamicChat / textPDF / URLConnector itemExtract, chunk,embed, indexMemory building"dreaming"Document chunksfor RAG searchLives in BerlinisLatest: falseLives in LisbonisLatest: trueWorks remotelyTimezone: WETinferredupdatesextendsderivesrolls up
Raw inputProcessing stepRaw text kept for searchSuperseded, kept for historyStored memory / recordScope or rolled-up summarySuperseded / invalidatedRelationshipDerived / summarises
Sources: Docs: How it works, Docs: Graph memory · Not documented: The storage engine, beyond being built in-house with vector, full-text and graph search. How the model decides between an update and an extension, and how confident a derived fact must be.Full Supermemory review →
How it stores data

Mem0: Extracted facts with vector + entity index

Conversations are reduced by an LLM to short facts. Each fact is stored with an embedding, and the entities it mentions are indexed so retrieval can mix semantic, keyword and entity signals.

How Mem0 structures data: Extracted facts with vector + entity index1. Look up what is already known: Before writing, Mem0 fetches existing memories related to the new messages so the model has context. 2. Extract short facts: An LLM turns the conversation into concise facts scoped to a user, agent or run, not a verbatim transcript. Exact duplicates are dropped by hash. 3. Store in three places: Facts and metadata go to a SQL store as the source of truth, embeddings go to a vector store, and mentioned entities are indexed. On the managed platform those entities form the nodes of Graph Memory. 4. Add, don't overwrite: In the current pipeline a changed fact is stored alongside the old one rather than silently rewriting it. Retrieval ranking surfaces the newer fact, and explicit update or delete calls correct the record. 5. Retrieve with mixed signals: Search ranks by semantic similarity, then boosts by keyword (BM25) and entity matches, filtered by user_id, agent_id or run_id.1 · CONVERSATION2 · ONE LLM PASS3 · MEMORY STORESUser message"I'm vegan now"Agent replyRelated memorieslooked up firstExtract facts+ entities, dedupeIs veganuser_id: alexLikes cheese pizzaolder fact, keptVector storeembeddingsSQL / metadatasource of truthalexuserpizzafoodaddmentions
Raw inputRaw text kept for searchProcessing stepStored memory / recordDatabaseGraph entityRelationship
Sources: Docs: How Mem0 works, Docs: open-source graph memory / migration · Not documented: Relationship types in the managed Graph Memory (the open-source graph store was removed). How the temporal ranking signal mentioned for the platform is computed.Full Mem0 review →
How it stores data

Memori: Attributed fact store from captured LLM calls

Memori captures the LLM calls you already make, then in the background turns them into typed memories (facts, preferences, skills, attributes) scoped to who, what process, and which session.

How Memori structures data: Attributed fact store from captured LLM calls1. Capture the call: Memori wraps your existing LLM client. The model answer returns immediately and the request, response and messages are stored as a raw conversation. 2. Augment in the background: Asynchronous workers extract structured memories from the conversation: facts, preferences, skills and knowledge, and attributes of the agent itself. The docs also mention semantic triples for knowledge graphs. 3. Attribute every memory: Each memory is tagged with an entity (who), a process (which agent or workflow) and a session. Together they form the memory's scope, and without them Memori will not store or recall. 4. Dedupe and store in your database: Similar memories are merged and their mention count goes up. Records live in your own Postgres, MySQL, SQLite, MongoDB or similar, with a FAISS index over embeddings. 5. Recall into the prompt: On the next call the query is embedded, matching facts above a relevance threshold are ranked, and the top few are injected into the system prompt.1 · YOUR LLM CALL2 · IN BACKGROUND3 · SCOPED MEMORYScope: entity · process · sessionLLM requestvia Memori wrapperModel responsereturned at onceRaw conversationmessages + rolesAugmentextract, classifyDedupe + embedmerge, count mentionsFactwith embeddingPreferenceSkill / knowledgeAttributeof the agentYour SQL / Mongo DB+ FAISS vector index
Raw inputRaw text kept for searchProcessing stepScope or rolled-up summaryStored memory / recordDatabase
Sources: Docs: How memory works, Docs: Architecture, GitHub: memorilabs/memori · Not documented: How contradictions or outdated facts are handled (only deduplication is documented). Where semantic triples are stored and how they are queried. The memory category list differs between the docs (4 types) and the README (8 categories). Storage and schema for the managed Memori Cloud.Full Memori review →
How it stores data

Zep / Graphiti: Bi-temporal knowledge graph

Raw episodes are kept, entities and facts are extracted into a graph whose fact edges carry valid-from and valid-until times, and related entities are clustered into communities.

How Zep / Graphiti structures data: Bi-temporal knowledge graph1. Keep the raw episode: Each message, text or JSON payload is stored as an episode node, so every fact can be traced back to where it came from. 2. Extract and resolve entities: An LLM pulls entities from the episode plus recent context, then matches them against existing nodes by embedding and full-text search so the same person is not created twice. 3. Turn facts into timed edges: Facts become edges between entities, with four timestamps: when the fact was true and stopped being true, and when the system learned and expired it. 4. Invalidate, don't delete: When a new fact contradicts an old one, the old edge gets an invalid-at time and stays in the graph. Agents can ask what is true now or what was true then. 5. Cluster into communities: Strongly connected entities are grouped into community nodes with a summary. Search combines vector, BM25 and graph traversal, then reranks.1 · EPISODES2 · GRAPHITI PIPELINE3 · TEMPORAL GRAPHCommunitycluster summaryMessageepisodeTextepisodeJSONepisodeExtract + resolveentities, factsDate + invalidateLLM checks conflictsAlexpersonAcmecompanyGlobexcompanyNeo4j / FalkorDBor Neptuneworks at · 2023–2025works at · 2025–now
Raw inputProcessing stepScope or rolled-up summaryGraph entityDatabaseSuperseded / invalidatedRelationshipDerived / summarises
Sources: Paper: Zep, a temporal knowledge graph architecture (arXiv 2501.13956), GitHub: getzep/graphiti · Not documented: The managed Zep cloud may differ in detail from the open-source Graphiti engine this diagram is based on.Full Zep / Graphiti review →

Knowledge Graph4 platforms

How it stores data

MemMachine: Episodic graph plus a profile in SQL

MemMachine keeps short-term session memory, long-term episodic memory in a graph database, and a personalisation profile in a SQL database.

How MemMachine structures data: Episodic graph plus a profile in SQL1. Short-term memory: The current session is held as short-term memory. 2. Episodes in a graph: Long-term episodic memory is stored in a graph database. 3. Profile in SQL: Personalisation facts about the user are stored as a profile in a SQL database. Everything is reachable over REST, a Python SDK and MCP.1 · CONVERSATION2 · SHORT-TERM3 · LONG-TERMConversationShort-term memorycurrent sessionEpisodeEpisodeGraph databaseepisodic memoryProfilepersonalisationSQL databaseprofile memory
Raw inputProcessing stepGraph entityDatabaseStored memory / recordRelationshipDerived / summarises
Sources: MemMachine, Docs · Not documented: Node and edge kinds, and which databases are used. How updates and contradictions are handled.Visit MemMachine ↗
How it stores data

Cognee: Documents to chunks to an entity graph

Cognee chunks and embeds documents, then has an LLM extract entities and named relationships per chunk, optionally checked against your own ontology.

How Cognee structures data: Documents to chunks to an entity graph1. Add and chunk: Documents are split into chunks, which are stored and embedded. 2. Extract a graph: An LLM pulls entities and relationships from each chunk. Without an ontology, relation names are chosen by the LLM, such as works_at. 3. Ground in an ontology: An optional RDF/OWL ontology marks which entities match known classes and adds their parent classes. Cognee never writes back to it. 4. Recall many ways: Search can use the graph, chunks, plain RAG, time, or an agentic mode, with hybrid as the default.1 · DATA2 · COGNIFY3 · KNOWLEDGE GRAPHCompanyEntityTypeDocumentsOntologyoptional RDF / OWLChunk + embedExtract graphLLM per chunkChunkembeddedAcmeentityDanaentityGraph + vector + relationalextractedis_aworks_at
Raw inputProcessing stepRaw text kept for searchScope or rolled-up summaryGraph entityDatabaseDerived / summarisesRelationship
Sources: Cognee, Docs: ontologies · Not documented: How updates and contradictions are handled. Which graph, vector and relational engines are used.Visit Cognee ↗
How it stores data

NVIDIA Auto Ontology: Ontology compiled from your database

Auto Ontology reads your database catalog and query history and compiles a reviewed ontology of business terms, column mappings, confirmed joins and metrics, stored in Postgres with pgvector.

How NVIDIA Auto Ontology structures data: Ontology compiled from your database1. Read the catalog: Tables, columns, keys, views and query history are read, profiled with SQL and embedded. Source data is not copied in. 2. Propose an ontology: A model proposes terms with descriptions and synonyms, column mappings, joins that the data confirms, and metrics drawn from past queries. 3. Certify: People review and certify the result. Certified edits survive the next compilation, and corrections are learned. 4. Answer with SQL: An agent retrieves terms, runs SQL and returns the answer with its query and steps, also over MCP.1 · YOUR DATABASE2 · COMPILE + CERTIFY3 · ONTOLOGYCatalogtables, keys, viewsQuery historyProfile + proposejoins, terms, metricsHuman certifyedits keptCustomertermOrdertermMappingcolumn to termMetricreviewed SQLPostgres + pgvectorjoin confirmed
Raw inputProcessing stepGraph entityStored memory / recordDatabaseRelationship
Sources: GitHub: NVIDIA/auto-ontology · Not documented: How conflicting definitions across systems are reconciled.Visit NVIDIA Auto Ontology ↗
How it stores data

Papr: Vector embeddings joined with graph relationships

Papr stores memories and documents with embeddings and links them into a graph, so queries can use vector and graph search together under access controls.

How Papr structures data: Vector embeddings joined with graph relationships1. One memory model: Memories and documents go through the same model: embeddings are generated and graph relationships are established. 2. Search both ways: Queries use vector and graph search together, with access controls enforced and results ranked.1 · CONTENT2 · EMBED + LINK3 · MEMORY GRAPHMemoriesDocumentsEmbed + linkrelationshipsMemoryembeddedEntityDocumentembeddedVector + graph searchACL filtered
Raw inputProcessing stepStored memory / recordGraph entityRaw text kept for searchRelationship
Sources: Papr platform, Docs: concepts · Not documented: Node and edge kinds, and the storage engines. How updates and contradictions are handled.Visit Papr ↗

Vector & MCP Layer3 platforms

How it stores data

Memo: Typed rows that merge or supersede

Memo extracts atomic personal and code memories into Postgres. Each write is resolved as created, merged or superseded, and old rows are kept but left out of recall.

How Memo structures data: Typed rows that merge or supersede1. Two record types: Personal memories have a category, importance and source. Code memories have a type, scope, key, repo and path or symbol. 2. Extract atomic facts: Chats, ChatGPT or Claude exports and agent hooks are split into atomic memories with confidence and importance. Hook captures wait in an Inbox. 3. Resolve on write: Each write is created, merged into an existing memory, or supersedes one. Superseded rows stay in the database but are excluded from recall. 4. Ranked recall: Search combines vector and lexical matches, re-weighted by importance, recency, path, confidence and feedback.1 · CAPTURES2 · EXTRACT + RESOLVE3 · MEMORY ROWSInboxpending capturesChat / exportChatGPT, ClaudeCode agent hookAPI extractExtract atomicconfidence, importanceResolvemerge or supersedePersonal memorycategory, importanceCode memoryrepo, path, keyOld valuesupersededPostgresvector + lexicalsupersedes
Raw inputProcessing stepStored memory / recordScope or rolled-up summarySuperseded, kept for historyDatabaseSuperseded / invalidated
Sources: Memo docs, Docs: concepts · Not documented: The similarity edges mentioned on the homepage. The extraction model.Visit Memo ↗
How it stores data

OpenMemory: Tagged memories in scoped buckets

OpenMemory captures coding sessions locally and sends them to Mem0 in batches, where they become tagged memories scoped by agent, user, app and run.

How OpenMemory structures data: Tagged memories in scoped buckets1. Capture without a model: Hooks record prompts, answers, changed files and test results on your machine. 2. Send in batches: Every few exchanges, on idle or at session end, a background worker sends the batch to Mem0, which extracts memories. 3. Tag and scope: Memories carry a category such as project knowledge, decisions or fixes, and are scoped by agent (project), user, app (repo) and run (session). 4. Inject at the first prompt: The first prompt of a session triggers a search and injects a handful of relevant memories.1 · CODING SESSION2 · CAPTURE + SEND3 · MEM0 MEMORIESScope: agent · user · app · runPrompts, diffs, testsCapture locallyno model on captureMem0 addevery 5 exchangesproject_knowledgedecisionsproblems_and_fixesworkflows
Raw inputProcessing stepScope or rolled-up summaryStored memory / record
Sources: OpenMemory, Mem0 docs: Claude Code plugin · Not documented: How memory versions are stored and how contradictions are resolved.Visit OpenMemory ↗
How it stores data

Pinecone: Vector index split into namespaces

Pinecone is storage, not a memory layer: you write records with dense and sparse vectors and metadata into an index, separated per tenant by namespace, and search them.

How Pinecone structures data: Vector index split into namespaces1. An index with a schema: An index declares its fields: dense vectors, sparse vectors and full-text fields. Text can be embedded for you on write. 2. Namespaces per tenant: Records are kept apart per tenant or user in namespaces inside one index. 3. You build the memory: Pinecone stores and searches records. Extraction, deduplication and conflict handling are up to your application.1 · YOUR APP2 · EMBED3 · INDEXIndex › namespace: tenant-aText or vectorsfrom your appIntegrated embeddingoptionalRecord id:1dense + sparseRecord id:2+ metadataRecord id:3Record id:4Searchsemantic, sparse, hybrid
Raw inputProcessing stepScope or rolled-up summaryRaw text kept for search
Sources: Pinecone, Pinecone docs · Not documented: Nothing about memory structure, since that is left to your application.Visit Pinecone ↗

Markdown / Local-First5 platforms

How it stores data

GBrain: Markdown pages with a derived Postgres index

Markdown pages in a git repo are the source of truth. GBrain derives database tables for chunks, facts, timelines and links, and keeps a copy of every page version.

How GBrain structures data: Markdown pages with a derived Postgres index1. Write pages: Each person, company, deal or note is a Markdown page with frontmatter, in a git-backed repo. Schema packs define the page types. 2. Sync and link: Pages are synced into PGLite or Postgres as pages, chunks, facts, timeline entries and tags. [[slug]] links become typed edges, extracted by pattern matching rather than an LLM. 3. Enrich on a schedule: Cron jobs dedupe, fix citations, score salience and flag contradictions with a superseded-by marker. 4. Version every change: Each update keeps the previous copy, and a write must name the revision it saw. Search mixes vector and keyword results and can walk the link graph.1 · BRAIN REPO2 · SYNC + ENRICH3 · PAGES AND INDEXMarkdown page+ [[links]]Git brain reposource of truthSync + parselinks found by patternEnrich (cron)dedupe, contradictionsAcmecompany pageDanaperson pageContent chunkspgvectorFacts, timelinederived tablesPGLite / PostgresEarlier versionpage_versions[[link]]
Raw inputProcessing stepGraph entityRaw text kept for searchStored memory / recordDatabaseSuperseded, kept for historyRelationshipDerived / summarisesSuperseded / invalidated
Sources: GitHub: garrytan/gbrain, Docs: system of record · Not documented: Column schemas, embedding model and chunking. How a flagged contradiction is resolved.Visit GBrain ↗
How it stores data

Basic Memory: Markdown notes as a typed graph

Every memory is a plain Markdown note with typed observations and relations. An index on top gives full-text, semantic and graph search over the same files.

How Basic Memory structures data: Markdown notes as a typed graph1. Notes are the memory: People and agents write the same Markdown files. A note has frontmatter (its type), an Observations list and a Relations list. 2. Typed links form a graph: Relation lines such as part_of [[Harbor Launch]] connect notes, and schemas (task, person, client) validate note types. 3. Index for search: The files are indexed for full-text, semantic and graph traversal, so an agent can search and then read only the section it needs.1 · NOTES2 · PARSE + INDEX3 · KNOWLEDGE GRAPHNote you writeAgent via MCPPDF / Word / CSVimported as notesParse noteobservations, relationsIndexfull-text, vector, graphPick vendortype: decisionHarbor Launchtype: project[decision] Use AcmeobservationMarkdown on diskyou can edit itSearch indexFTS + vector + graphpart_of
Raw inputProcessing stepGraph entityStored memory / recordRaw text kept for searchDatabaseRelationshipDerived / summarises
Sources: Basic Memory, Docs · Not documented: The index engine and embedding model. Version history and how conflicting edits are handled.Visit Basic Memory ↗
How it stores data

MemU: Markdown recall files with a vector index

The host agent writes Markdown files on two tracks, memory and skill. memU stores each committed file and embeds its segments for search, without calling an LLM itself.

How MemU structures data: Markdown recall files with a vector index1. The agent writes files: Your agent creates or patches Markdown recall files, each with a name, description and a track (memory or skill). 2. Commit only what changed: Changed files are committed to memU, which stores the whole file and embeds its searchable segments. 3. Recall whole files: A query is embedded, segments are ranked by similarity, and matches roll up to the files they belong to. No LLM sits in the retrieval path.1 · SESSION2 · COMMIT + EMBED3 · RECALL FILESWhole filereturned on a matchSession contextscheduled jobHost agentwrites the filesCommit changed filesno LLM in memUEmbed segmentsuser-prefs.mdtrack: memorydeploy.mdtrack: skillSegmentsembeddedSQLite / Postgres+ pgvector or cloudRelatedroll up
Raw inputProcessing stepStored memory / recordRaw text kept for searchScope or rolled-up summaryDatabaseRelationshipDerived / summarises
Sources: memU, File-based memory · Not documented: Chunking method and version history. How contradictions between files are handled.Visit MemU ↗
How it stores data

MemoryScope (ReMe): Markdown files linked by wikilinks

Sessions become daily cards, and a background pass distils them into long-term digest files for personal facts, procedures and wiki knowledge, all linked with [[wikilinks]].

How MemoryScope (ReMe) structures data: Markdown files linked by wikilinks1. Capture sessions: Conversations are kept as JSONL logs and turned into daily cards, one Markdown file per day. 2. Dream into digests: A background pass creates, corroborates, refines or corrects long-term digest files in personal, procedure and wiki folders, each citing its sources. 3. Link like a wiki: [[path.md]] wikilinks become graph edges with optional line anchors, and moving a file rewrites the links into it. 4. Search by section: Files are chunked by heading. BM25 and optional embeddings are merged, and results come back with line ranges and nearby links.1 · INPUTS2 · BACKGROUND JOBS3 · MEMORY FOLDERSSession logJSONLResourcedocs, linksauto_memorydaily cardsauto_dreamcreate, refine, correctdaily/…mddaily carddigest/personallong-term nodedigest/proceduredigest/wikiBM25 + vectors+ link graphsources[[wikilink]]
Raw inputProcessing stepStored memory / recordDatabaseDerived / summarisesRelationship
Sources: GitHub: agentscope-ai/ReMe, Docs: memory as file · Not documented: Version history (correction is done by editing the prose).Visit MemoryScope (ReMe) ↗
How it stores data

Evermind (EverOS): Markdown source of truth with typed memories

Conversations, files and agent runs are written as Markdown, auto-tagged as profile, episodic or skill memory, and synced into SQLite and LanceDB indexes.

How Evermind (EverOS) structures data: Markdown source of truth with typed memories1. Write Markdown first: Every conversation, file and agent trajectory is written as a .md file, which stays the source of truth. Editing a file re-syncs the indexes. 2. Tag the memory: Extraction tags memories as profile, episodic or skill, with user and agent tracks kept apart and scoped by user, agent, app, project and session. 3. Turn runs into skills: Agent trajectories become cases, and reflection distils them into reusable skills. 4. Hybrid search: Retrieval mixes vector and keyword search over SQLite and LanceDB, with optional reranking.1 · INPUTS2 · EXTRACT + REFLECT3 · MEMORYMessagesImages / docsmultimodalAgent trajectoryExtract + tagReflectcases into skillsMarkdown filessource of truthSQLite + LanceDBsynced indexProfileEpisodicCaseagent runSkillreusablere-sync on edittaggeddistilled
Raw inputProcessing stepRaw text kept for searchDatabaseStored memory / recordDerived / summarises
Sources: Evermind, EverOS · Not documented: The MemCell and MemScene schemas named on the homepage. How conflicting memories are handled.Visit Evermind (EverOS) ↗

Git-Style / Versioned3 platforms

How it stores data

Byterover (Cipher): Searchable document passages

ByteRover now describes itself as document search rather than agent memory: files in a shared drive are split into passages that answers cite down to page and heading.

How Byterover (Cipher) structures data: Searchable document passages1. Upload files: Files go into a drive shared by the team. ByteRover handles parsing, splitting and indexing. 2. Passages with location: Each passage keeps its file, page and heading path, so answers can cite exactly where they came from. 3. Search, then cite: A search understands the question, searches, verifies and returns passages and one cited answer, also over MCP and a REST API.1 · UPLOAD2 · INDEX3 · TEAM DRIVEDrive (shared by the team)PDF / DOCX / MDIndexsplit into passagescontract.pdffilePassagep.15 · LiabilityPassagep.16 · TermSearchunderstand, verify, cite
Raw inputProcessing stepScope or rolled-up summaryStored memory / recordRaw text kept for searchDerived / summarises
Sources: ByteRover · Not documented: The index store. Whether older uploads stay searchable after a new version.Visit Byterover (Cipher) ↗
How it stores data

Memoir: Taxonomy paths in a versioned tree

Each fact is filed at a path like preferences.coding.testing and committed to a git-like versioned key-value tree, with branches, merges and rollback.

How Memoir structures data: Taxonomy paths in a versioned tree1. Classify into a path: Each incoming fact is matched to a taxonomy path by patterns first and an LLM as fallback. The LLM can create or rename paths. 2. Aggregate per path: A path holds a list of entries with content and confidence. High-confidence facts are stored automatically, medium ones go to review. 3. Commit like git: Every change is a commit in a versioned key-value tree. You can branch, merge and check out earlier states. 4. Retrieve by path: Lookups go straight to a path or drill down the taxonomy, and each result carries its path.1 · SESSION2 · CLASSIFY + COMMIT3 · VERSIONED TAXONOMYbranch: featuremerge into mainFact from sessionClassify pathpattern, then LLMCommitauto at confidence 0.8preferencescoding…coding.testingcontent + confidenceProllyTree storegit-like, SHA-256merge
Raw inputProcessing stepGraph entityStored memory / recordDatabaseScope or rolled-up summaryRelationshipDerived / summarises
Sources: Memoir: how it works, Docs: architecture · Not documented: How two conflicting facts at one path are resolved on merge.Visit Memoir ↗
How it stores data

Memoria: Git-style branches over a copy-on-write database

Typed memories live in MatrixOne, a copy-on-write database, so memory can be snapshotted, branched, diffed, merged and rolled back like code.

How Memoria structures data: Git-style branches over a copy-on-write database1. Typed memories: Agents store and correct memories typed as semantic, profile, procedural, working, episodic and, in some docs, tool results. 2. Version like git: Snapshot, branch, check out, diff, merge and roll back memory. Branches are zero-copy because the database is copy-on-write. 3. Consolidate and search: A consolidate step detects contradictions, and retrieval combines vector and full-text search.1 · AGENT TOOLS2 · TYPED WRITE3 · BRANCHESbranch: mainbranch: trymemory_storememory_correctTyped writesemantic, profile, …Memory v1Memory v2Trial editMatrixOnecopy-on-writebranchmerge
Raw inputProcessing stepScope or rolled-up summaryStored memory / recordDatabaseSuperseded / invalidatedDerived / summarisesRelationship
Sources: Introducing Memoria (DEV), GitHub: matrixorigin/memoria · Not documented: How contradictions and merge conflicts are resolved. The record schema.Visit Memoria ↗

Agent Framework3 platforms

How it stores data

Letta (MemGPT): Memory as files in a git repository

Letta keeps agent memory as Markdown files in a git-backed context repository. Files under system/ are always in the prompt, and the rest are read on demand.

How Letta (MemGPT) structures data: Memory as files in a git repository1. Memory is files: Each memory file has a short description in YAML frontmatter. The file tree is always in the prompt, and files under system/ are always loaded. 2. Versioned with git: Every change is a commit. Subagents work in their own worktrees and merge back through git. 3. Reflect while idle: Sleep-time reflection rewrites memory in the background and defragments it into a manageable set of files. 4. Navigate, don't search: The agent reads files it needs with normal file tools.1 · AGENT2 · REFLECT3 · CONTEXT REPOSITORYContext repository (git)Agent sessionCoding history/init bootstrapSleep-time reflectionDefragmentinto 15–25 filessystem/persona.mdalways in promptsystem/human.mdalways in promptprojects/api.mdread on demandnotes.mdread on demand
Raw inputProcessing stepScope or rolled-up summaryStored memory / record
Sources: Letta, Letta: Context repositories · Not documented: How older Letta memory tiers (core, archival, recall) map onto files. Semantic conflict handling beyond git merges.Visit Letta (MemGPT) ↗
How it stores data

Mastra: Four memory layers per thread and user

Mastra combines recent message history, a structured working-memory template, semantic recall of older messages, and observations compressed from old messages by background agents.

How Mastra structures data: Four memory layers per thread and user1. Recent history: The last few messages of a thread are passed in as they are. 2. Working memory: A structured template (name, goals, preferences) is kept per user or per thread and injected as a system message. 3. Semantic recall: Older messages are embedded, and the most similar ones from this or other threads are brought back. 4. Observational memory: Background agents compress older messages into observations and reflections, which lose exact wording but keep the context small.1 · THREAD2 · BACKGROUND3 · MEMORY LAYERSThread messagesObservercompress old messagesEmbedfor semantic recallMessage historylast N messagesWorking memorytemplate, per userObservations+ reflectionsSemantic recalltop-K similarStorage providere.g. LibSQLcompressed
Raw inputProcessing stepRaw text kept for searchStored memory / recordDatabaseDerived / summarises
Sources: Mastra docs: memory overview · Not documented: How conflicting working-memory updates are handled. The default vector store and embedder.Visit Mastra ↗
How it stores data

LangChain / LangMem: Semantic, episodic and procedural memory

LangMem stores profiles, collections of facts, episodes and prompt rules in a namespaced LangGraph store, written by the agent itself or by a background manager.

How LangChain / LangMem structures data: Semantic, episodic and procedural memory1. Three memory types: Semantic memory is either a single profile document or a collection of facts. Episodic memory records what happened, and procedural memory updates the system prompt. 2. Two ways to write: The agent can write memories with tools during the conversation, or a memory manager can extract them in the background. 3. Namespaced storage: Memories live in a LangGraph store under namespaces such as organisation and user ID. 4. Ranked recall: Recall combines similarity with importance and a strength score based on recency and use.1 · CONVERSATION2 · WRITE MEMORY3 · NAMESPACED STORENamespace: (org, user_id)ConversationHot-path toolsagent writesMemory managerin backgroundProfileone doc, updatedCollectionmany factsEpisodewhat happenedProceduralprompt rulesLangGraph storePostgres / in-memory
Raw inputProcessing stepScope or rolled-up summaryStored memory / recordDatabase
Sources: LangMem, LangMem: conceptual guide · Not documented: The exact rules for reconciling new information with old memories.Visit LangChain / LangMem ↗

Trace / Gateway / OS2 platforms

How it stores data

Honcho: Peers with reasoned conclusions

Users and agents are peers that share sessions. A reasoning model draws conclusions about each peer from their messages, and a background pass prunes stale ones and updates a peer card.

How Honcho structures data: Peers with reasoned conclusions1. Everyone is a peer: A workspace holds peers (users, agents, groups) who take part in sessions of messages. Messages are stored in Postgres. 2. Derive conclusions: After each message a reasoning model extracts explicit statements and direct deductions about the peer, stored in vector collections. 3. Dream in the background: A periodic pass removes redundant or stale conclusions, resolves conflicts and updates each peer's card. 4. Ask about a peer: Chat queries search conclusions and trace them back to the messages that support them.1 · MESSAGES2 · REASON3 · PEER MODELPeer cardshort biographyMessagesfrom any peerDeriverexplicit + deducedDreamerprune, resolve, updatePeer: userPeer: agentConclusionvector collectionStale conclusionPostgresmessagessame session
Raw inputProcessing stepGraph entityStored memory / recordScope or rolled-up summarySuperseded, kept for historyDatabaseRelationshipDerived / summarisesSuperseded / invalidated
Sources: Honcho, Docs: architecture · Not documented: How conflicting conclusions are resolved, and whether old ones are kept.Visit Honcho ↗
How it stores data

MemOS (MemTensor): MemCubes over a graph and vector store

MemOS packs memory into MemCubes holding text, cached activations and fine-tuned weights, organised as a graph and ingested asynchronously by a scheduler.

How MemOS (MemTensor) structures data: MemCubes over a graph and vector store1. Three kinds of memory: A MemCube can hold textual memory, activation memory (KV cache) and parametric memory (LoRA weights). 2. Ingest asynchronously: A scheduler ingests text, images and tool traces in the background and dedupes them. 3. Store as a graph: Textual memory is structured as a graph, self-hosted on Neo4j with Qdrant for vectors. The local plugin layers traces, policies and a world model.1 · INPUTS2 · SCHEDULE3 · MEMCUBEMemCubeText, imagesTool tracesMemSchedulerasync ingest, dedupeTextual memorygraphActivationKV cacheParametricLoRA weightsSkillcrystallisedNeo4j + Qdrantself-hosted
Raw inputProcessing stepScope or rolled-up summaryStored memory / recordDatabase
Sources: GitHub: MemTensor/MemOS, Docs: overview · Not documented: The node and edge schema. How memories are corrected or replaced.Visit MemOS (MemTensor) ↗

Database / Hyperscaler5 platforms

How it stores data

Oracle AI Agent Memory: Short-term cards and long-term records in one database

Oracle keeps short-term thread context and long-term preferences, rules and facts in Oracle AI Database, which replaces separate vector, graph, JSON and transactional stores.

How Oracle AI Agent Memory structures data: Short-term cards and long-term records in one database1. Short-term memory: Each thread keeps a context card and conversation summary with recent turns and task state. 2. Long-term records: Preferences, learned rules and facts are written with add() and can be linked to each other. Records are scoped by user, agent and thread. 3. One converged database: Everything lives in Oracle AI Database instead of separate vector, graph, JSON and transactional stores. Search is semantic, keyword or hybrid.1 · AGENT2 · EXTRACT3 · ORACLE AI DATABASEThread context cardshort-termThread messagesadd()Extract + summariseConversation summaryPreferenceRuleFactOracle AI Databasevector + JSON + graph
Raw inputProcessing stepScope or rolled-up summaryRaw text kept for searchStored memory / recordDatabaseRelationship
Sources: Oracle docs: about Agent Memory · Not documented: The record schema and how links are modelled. Dedupe and contradiction handling.Visit Oracle AI Agent Memory ↗
How it stores data

Google Memory Bank: Generated memories with revisions (lightly documented)

Memory Bank uses a Gemini model to turn agent sessions and events into long-term memories of user preferences and facts, with memory profiles and a revision history.

How Google Memory Bank structures data: Generated memories with revisions (lightly documented)1. Generate from sessions: A model reads agent sessions and ingested events and writes long-term memories of user preferences and facts. 2. Profiles and revisions: Memories can be grouped into memory profiles, and changes are tracked as memory revisions. 3. Fetch for later sessions: Agents fetch relevant memories at the start of a new session to personalise it.1 · AGENT ENGINE2 · GENERATE3 · MEMORY BANKMemory profileSessionconversationIngested eventsGenerate memoriesLLM extractionMemorypreference or factEarlier revisionmemory revisionsFetch memoriesfor the next session
Raw inputProcessing stepStored memory / recordScope or rolled-up summarySuperseded, kept for historyDerived / summarisesSuperseded / invalidated
Sources: Google Cloud: Memory Bank overview · Not documented: The memory schema, scoping and topics (the detailed docs pages could not be read automatically). How new memories are reconciled with old ones, and how fetch ranks results.Visit Google Memory Bank ↗
How it stores data

Cloudflare Agent Memory: Typed memories with topic-key supersession

Conversations are kept verbatim and also distilled into facts, events, instructions and tasks. A new memory on the same topic key supersedes the old one, with history preserved.

How Cloudflare Agent Memory structures data: Typed memories with topic-key supersession1. Keep the transcript: Every message is stored verbatim, content-addressed so duplicates are dropped. 2. Extract four types: Memories are classified as facts, events, instructions or tasks, each with a topic key, keywords and search queries. 3. Supersede by topic: A new fact or instruction on the same topic key supersedes the old one and full history is kept. Events never conflict, and tasks fade after the session. 4. Recall in parallel: Keyword, topic-key, vector and raw-message search run together, results are ranked, and an LLM writes the answer.1 · INGEST()2 · EXTRACT + DEDUPE3 · MEMORIESConversationExtract + classifyDedupecontent-addressedFacttopic: dietOlder factsame topic keyEventtime-anchoredInstructionprocedureTaskthis sessionRaw messageskept verbatimsupersedes
Raw inputProcessing stepStored memory / recordSuperseded, kept for historyRaw text kept for searchSuperseded / invalidated
Sources: Cloudflare: Agent Memory, How Agent Memory works · Not documented: The storage backend and ranking formula.Visit Cloudflare Agent Memory ↗
How it stores data

Redis Agent Memory Server: Working memory promoted to long-term in Redis

Each session has a working memory with a time-to-live. Important items are extracted in the background and promoted to long-term memories stored as text plus vectors in Redis.

How Redis Agent Memory Server structures data: Working memory promoted to long-term in Redis1. Working memory: Each session's messages and state live in working memory with a configurable expiry, and older messages can be summarised. 2. Promote what matters: Important items are extracted in the background and promoted to long-term memory, using strategies such as discrete facts, summaries or preferences. 3. Search in Redis: Long-term memories are stored as text plus embeddings and found with semantic, keyword or hybrid search and metadata filters.1 · SESSION2 · PROMOTE3 · REDISSummaryof older messagesSession messagesExtract + promotein backgroundWorking memoryper session, TTLLong-term memorytext + vectormemory_typee.g. preferenceRedisvector + search
Raw inputProcessing stepRaw text kept for searchScope or rolled-up summaryStored memory / recordDatabaseDerived / summarisesRelationship
Sources: GitHub: redis/agent-memory-server, V0 README · Not documented: How contradictions are handled. Retrieval details of the managed product (the open-source V0 is no longer maintained).Visit Redis Agent Memory Server ↗
How it stores data

TencentDB Agent Memory: Four layers from raw chat to core persona

TencentDB stacks memory in layers: raw conversation, atomic typed memories, path-addressed scenario files, and a single core persona file.

How TencentDB Agent Memory structures data: Four layers from raw chat to core persona1. L0: keep the raw chat: Conversations and LLM call logs are stored as they are. Adding a conversation triggers the next layer asynchronously. 2. L1: atomic memories: Short memories typed as episodic, persona or instruction, each with a version number and team, agent, user and task IDs. 3. L2 and L3: roll up: Atomic memories roll up into path-addressed scenario files with summaries, and finally into one core persona file. 4. Scoped and searchable: Access is scoped by team, agent and user, and search filters by type and time.1 · INPUTS2 · PIPELINE3 · MEMORY LAYERSL3 · Core personapersona.mdConversationLLM call logsL1 pipelineasync extractionL0 · Raw conversationL1 · Atomic memoryepisodic, persona, instruction · versionedL2 · Scenario filespath + summary
Raw inputProcessing stepRaw text kept for searchStored memory / recordScope or rolled-up summaryDerived / summarises
Sources: GitHub: TencentDB-Agent-Memory, MemoryCore API doc · Not documented: Storage engine, dedupe and contradiction handling.Visit TencentDB Agent Memory ↗

Consumer / Native4 platforms

How it stores data

ChatGPT Memory: Saved memories plus a chat-history summary

ChatGPT keeps a list of saved memories and a broader summary built from past chats, and decides at answer time which of them, plus files and connected apps, are relevant.

How ChatGPT Memory structures data: Saved memories plus a chat-history summary1. Two kinds of memory: Saved memories are explicit items, added when you ask or when ChatGPT judges them useful. Chat-history reference keeps a broader, high-level summary of past chats up to date. 2. Scoped to you: Memory is per user. GPTs keep their own memory, some workspaces allow project-only memory, and temporary chats neither read nor write it. 3. Chosen per answer: At answer time ChatGPT decides which memories, files and connected apps are relevant, and Sources can show what it used. 4. Deleting is separate: Deleting a chat does not necessarily delete a saved memory made from it, so memories are managed on their own.1 · YOU2 · CHATGPT DECIDES3 · WHAT IT KEEPSMemory summaryfrom chat historyYour chats"Remember this"explicit requestFiles / appsLibrary, Gmail…Save or summariseautomatic or askedSaved memory"is vegetarian"Past chatsreferencedPick what's relevantat answer time
Raw inputProcessing stepStored memory / recordScope or rolled-up summaryRaw text kept for searchDerived / summarises
Sources: OpenAI Help: Memory in ChatGPT, OpenAI: Memory and new controls · Not documented: How memories are stored and retrieved. How the summary is generated and how often it updates.Visit ChatGPT Memory ↗
How it stores data

Claude Memory: Topic memories scoped per project

Claude saves memory as individual topics, kept separately for your account and for each project, while past chats stay searchable through a separate chat-search tool.

How Claude Memory structures data: Topic memories scoped per project1. Topics, not transcripts: Claude saves what matters as individual topics, either on its own or when you ask. You can view, edit or delete each topic. 2. One space per project: Each project has its own memory. A project chat uses that project's memory plus account memory, never another project's, and account memory can be switched off per project. 3. Chat search is separate: Finding past conversations is a separate search tool over your chats. Deleting a chat does not remove topics learned from it.1 · YOU2 · CLAUDE SAVES3 · MEMORY SPACESAccount memoryProject memoryChat"Remember this"Save a topicautomatic or askedTopic: roleTopic: styleTopic: launchPast chatschat search (RAG)shared in
Raw inputProcessing stepScope or rolled-up summaryStored memory / recordRaw text kept for searchDerived / summarises
Sources: Claude Help: chat search and memory, Claude: Bringing memory to Claude, Memory tool (API) · Not documented: Storage format and how topics are put in front of the model.Visit Claude Memory ↗
How it stores data

Dume: Typed memory records (lightly documented)

Dume shows memories as typed records with a source and a confidence level, capped by size per plan. Little else about the structure is published.

How Dume structures data: Typed memory records (lightly documented)1. Records with metadata: The product shows each memory with a type (such as preference), its source and a confidence level. 2. Sized by plan: Memory is capped by size per plan, from 1 MB on the free tier to 10 MB on the top tier.1 · YOU2 · REMEMBER3 · MEMORYMemory quota1 MB free to 10 MBUser chatRememberautomaticType: Preferencesource: chat · confidence: high
Raw inputProcessing stepStored memory / recordScope or rolled-up summaryDerived / summarises
Sources: Dume, Docs · Not documented: Storage, record schema and relationships. How updates, conflicts and retrieval work.Visit Dume ↗
How it stores data

Membase: Named memories learned from sources

You group files, Notion pages and chats into a named Memory. Membase learns from each source and answers questions with passages that cite which Memory they came from.

How Membase structures data: Named memories learned from sources1. Group sources into a Memory: A Memory is a named collection of sources: uploaded files, Notion pages and conversations captured by the browser extension. 2. Learn on update: Adding a source starts learning, either on demand or on a schedule. Removing a source does not erase what was already learned. 3. Ask and correct: You ask across saved knowledge and get passages tagged with their Memory, and you can correct or remove outdated information.1 · SOURCES2 · LEARN3 · MEMORYMemory: "Work"Files / uploadsNotion pagesExtension chatsLearnon update or scheduleSourcespec.pdfLearned knowledgepassagesAsk across memorieslearn
Raw inputProcessing stepScope or rolled-up summaryRaw text kept for searchStored memory / recordDerived / summarises
Sources: Membase, Docs: concepts · Not documented: Record kinds, relationships and the store. How the learning step works.Visit Membase ↗

Diagrams are drawn from each vendor's public documentation, repositories and papers. Example records (names, facts) are illustrative.