TL;DR: Context is what the model reads on this request; it is assembled by the harness and gone when the request ends. Retrieval reads from a corpus that people and other systems curate and many users share. Memory is what the assistant system writes from its own interactions, scoped to a user, team or agent, and reads back in later sessions. For an assistant used over months, the three answer different questions: what do I need right now, what does the organisation know, and what have I learned about this person and this work?
How to approach it
Start with the fact that settles most confusion: the model keeps nothing between requests. Then draw the three as sources feeding one context, and make the distinction concrete with an example fact for each, plus who writes it and how long it lives.
A strong answer
Picture an assistant that a sales engineer uses daily for six months.
┌─────────────── context for this request ───────────────┐
│ instructions · tools · this conversation · notes · │
│ a few retrieved passages · a few memories │
└────────▲───────────────────▲──────────────────▲────────┘
│ │ │
run state and notes retrieval corpus memory store
(this task) (the organisation) (this user, months)
| Context | Retrieval corpus | Memory | |
|---|---|---|---|
| Example | The draft proposal open right now | Product pricing sheet, security whitepaper | "Prefers proposals under two pages"; "Account X is mid-renewal" |
| Written by | The harness, each request | Product, legal, other teams | The assistant system, from its sessions |
| Lives for | One request | As long as the source | Weeks to months, with expiry |
| Shared with | Nobody | Many users | This user (or team), by policy |
| Goes wrong by | Too long, too noisy | Outdated or missing source | Wrong, stale, or read in the wrong scope |
Why the distinction matters in design.
- If the assistant wrote its conclusions into the shared corpus, one user's wrong belief would reach every user, and nobody curated it.
- If it kept six months of history in context, the context would stop fitting, cost more every turn and get worse with length.
- If memory had no scope, the renewal status of one customer could appear in another user's session.
What interviewers probe next
"Isn't memory just retrieval over past conversations?" The mechanism can be similar (search and inject), but the differences are in the write side: what is kept, who wrote it, how trusted it is, and who may read it. Treating memory as just another index skips those decisions.
"Where do the user's saved documents go?" In a retrieval corpus scoped to that user. They were written by the user, not distilled by the assistant, so they are retrieved as documents, not memories.
"Can the assistant work without memory?" Yes, and many should. Memory earns its place when users return with related work and repeating context costs them time.
What if?
What if · interview follow-ups
Hold your answer as the constraints change
You are designing an assistant a sales engineer will use daily for six months.
Start here
What if the engineer says 'remember that Account X's renewal is in March'?
Who stated it, and who may read it?
Write it to memory scoped to this engineer (or their account team, if policy allows), with the source session and an expiry after March. It is a stated fact, so it is trusted more than anything inferred.
Carry it forwardStated facts go to scoped memory with source and expiry.
Weak answerAdding it to the shared corpus where every user would see it.
Constraint changes
What if the pricing sheet changes and the assistant quotes an old price from memory?
Which source owns prices?
Prices belong to the corpus the pricing team maintains, read fresh when needed. Memory should not hold copies of facts another system owns; it can hold that the user cares about pricing for Account X.
Carry it forwardDo not copy into memory what a system of record owns.
Weak answerShortening memory expiry and hoping it refreshes in time.
Constraint changes
What if the engineer moves to a new territory?
Which memories are still true?
Account-specific memories may no longer apply or may no longer be theirs to see. Scope memories to accounts as well as the user, and re-check access when the user's role changes.
Carry it forwardMemory scope follows access, not just identity.
Weak answerKeeping every memory because the user is the same person.
Now defend it
In one line, what separates the three?
Context is this request, retrieval is what the organisation curates and shares, and memory is what the assistant learned from its own sessions, scoped, sourced and expiring.
How it's scored
Weak: Uses the words interchangeably, or describes memory as a bigger context window.
Hire: Separates the three with examples and notes that the model itself keeps nothing between requests.
Strong Hire: Compares them by writer, lifetime, audience and failure, places concrete facts in each, explains the design bugs that come from mixing them, and keeps facts owned by other systems out of memory.
Common mistakes
- Saying the model "remembers" across sessions.
- Treating memory as a shared knowledge base.
- Copying facts owned by other systems (prices, policies) into memory where they go stale.
- Ignoring scope until something leaks.