Learn

RAG vs knowledge graph vs memory: which does a personal AI need?

Retrieval finds the documents that match a question, a knowledge graph connects the facts in them, and memory keeps what you have told an assistant. A personal AI that acts for you needs all three, plus the part none of them holds: how you decide, which is what your engram stores.

Sources checked

Retrieval-augmented generation lets a language model fetch information it was not trained on, then answer from it; the name comes from a 2020 paper. It finds what matches the words of a question: last year's price sheet, an old thread, an invoice.

IBM's comparison puts it plainly: retrieval "is like giving the home cook a cookbook for that cuisine." And keeping the cookbook current is the cheap part: "it's cheaper to keep retrieval indices up-to-date than to continuously pre-train an LLM," as Eugene Yan writes.

A knowledge graph stores things and the relations between them: in the encyclopedia's words, "a knowledge base that uses a graph-structured data model or topology to represent and operate on data." For a buyer asking for a discount, it connects the buyer, the account, the past orders and the past discounts.

It answers "what relates to what". It does not say which of those facts should decide this request.

Memory keeps what you have told an assistant, and lets a newer fact replace an older one. One memory vendor's documentation puts the difference in a line: "RAG answers 'What do I know?' while Memory answers 'What do I remember about you?'"

Its example is a shopper who loves Adidas on day 1 and switches to Puma on day 31. Asked on day 45 what to buy, retrieval can still surface the old praise; memory knows it is out of date.

Your engram: what you would do.

None of the three says what you would do with a request. Your engram stores that: your decisions, your rules and your way of saying things, each traced to where you said it, with the dates it applies, so a reversed rule replaces the old one the way memory replaces an old preference.

It is built on the other three, not instead of them, and it is measured against you: decisions you already made are held back and replayed, and the score is how often it would have done the same.

A worked example

One question, through every layer.

A fictional person, Sam, and one request. Step through what search finds, what a graph connects, and what Sam's engram decides. Nothing on this page reads anything of yours.

Sam runs a wholesale coffee roaster.

The questionA buyer at a restaurant group asks for 15% off a reorder of 40 cases.

Search finds what matches the words.

  • Price sheet, last year's edition
  • Thread: volume pricing, 14 messages, last year
  • Invoice for the same buyer, March

02 · Graph

A graph connects what relates to what.

  1. The buyer
  2. The account: a restaurant group, three locations
  3. Six orders over two years
  4. Discounts given before: 5%, 8%
  5. Terms: net 30

03 · Sam's engram

Only Sam knows what to do with it. Sam's engram does too, and shows why.

Offer 8% on 60-day terms, not 15%.

Never past 10% on reorders. Volume earns terms, not margin.

Sam's reply to a buyer, 12 March last year

Sam did the same for two similar buyers, in June and September.

Thanks for the reorder. I can't do 15, but I can do 8% and move you to 60-day terms, which is what I offer accounts your size. Shall I confirm the 40 cases at that?

Drafted by Sam's AI. Sam approves before it sends.

Side by side

Side by side.

DimensionRetrieval (RAG)Knowledge graphMemoryYour engram
What it holdsDocuments and passagesThings and the relations between themWhat you told the assistant, kept currentYour decisions, rules and voice, each with its source
The question it answersWhat matches these words?What relates to what?What do I remember about you?What would you do here, and why?
Good forFinding the documentJoining facts across recordsKeeping preferences currentDrafting and preparing decisions you approve
Not enough forChoosing between what it findsChoosing between the factsRules you never said to the assistantA situation with no precedent: it asks you

The first three columns follow the definitions and documentation cited above, read 24 October 2026.

Choosing

When each one is enough.

  • Retrieval is enough when the answer is written down somewhere and you need to find it.

  • A graph earns its place when the answer depends on how records connect: accounts, orders, people by role.

  • Memory is enough when an assistant mostly needs to remember your preferences and keep them current.

  • An engram is what you need when the bottleneck is a decision only you would make the way you make it.

Questions

What people ask first.

Is RAG the same as memory?
No. Retrieval finds the documents that match a question. Memory keeps what you have told an assistant and lets a newer fact replace an older one. Many products build memory on top of retrieval, which is why the two are often confused.
Is a knowledge graph better than RAG?
It answers a different question. Retrieval finds passages that match the words; a graph connects facts across records. When the answer depends on how things relate, a graph helps. When it is written in one document, retrieval is enough.
Is an engram just RAG?
It uses retrieval, and a graph's idea of dated facts that supersede older ones. What it extracts is different: decisions and rules from your own words, each citing its source. And it is graded against decisions you already made.
Does a personal AI need fine-tuning?
Not for this. Fine-tuning teaches a model in bulk; retrieval keeps every piece readable, deletable and current, which matters when the record is yours. We train no model on you.
Which one do I need?
To find things, retrieval. To connect them, a graph. For an assistant that remembers your preferences, memory. For a helper that decides the way you would and shows you why, an engram, built on all three.
Talk to us

See what your engram would be built from.

You'll talk to a senior engineer, not a sales rep, and leave knowing what your engram would be built from and how it would be measured.