Long-term Memory

Context ≠ Memory

The context window is like a whiteboard: fill it up and it erases, end the conversation and it clears. Long-term memory is like a notebook: what you write down is still there next time you open it. AI products need both systems.

Whiteboard vs. Notebook

Whiteboard (Context Window)

A temporary workspace during a conversation. Once full, nothing more fits; once the conversation ends, it's wiped clean.
Conversation ended — whiteboard cleared

Notebook (Long-term Memory)

Persistent storage that survives across sessions. What you write this time is still here next time you open it. Pageable and searchable.
Page 1
Why two separate systems are needed
Context Window
Always available
Extremely fast read/write
Limited capacity
Erased when session ends
Long-term Memory
Persists across sessions
Large capacity (scalable)
Requires write decision logic
Retrieval requires extra steps
Analogy: The context window is like a meeting whiteboard — everyone scribbles on it while discussing; when the meeting ends, it gets erased. Long-term memory is like meeting minutes: someone distills the key conclusions, writes them into a document, and pulls it out to reference at the next meeting.
Context is AI's scratch pad — close the session and it's gone; memory is AI's notebook — it's still there next time you open it. A good AI product needs both systems working together: context handles what's happening right now, memory handles what needs to be remembered long-term.