The short version
- A model has no memory of its own. Memory is storage that the system reads from and writes to.
- Short-term memory covers the current task. Long-term memory lasts across sessions.
- Long-term memory has three kinds: facts, past events and learned ways of working.
The idea
Short-term memory is the context window: the current conversation and the working notes for this task. It ends when the session ends.
Long-term memory is stored outside the model, in a database or files, and loaded when relevant. Researchers borrow three categories from the study of human memory:
- Semantic memory: facts. “This customer requires delivery before 10 a.m.”
- Episodic memory: past events. “Last March we quoted this part and lost on lead time.”
- Procedural memory: how to do things. “For export orders, check the license list first.”
A new employee has a notebook for today’s tasks. That is short-term memory. Over time they also learn facts about customers, remember what happened on past deals and pick up the way things are done here. Those are the three kinds of long-term memory.
- Current task: short-term memory
- Facts: semantic
- Past events: episodic
- Ways of working: procedural
Memory needs two operations that are easy to overlook. Something must decide what to write, and something must decide what to read back at the right moment. Both are design choices with their own failure modes.
An example
A service assistant supports field technicians. Semantic memory holds each site’s equipment list and access rules. Episodic memory holds past visits: what failed, what was replaced. Procedural memory holds the steps that worked for a recurring fault. When a technician opens a job, the system loads the site facts and the last three visits. The technician does not need to explain the history again, and the assistant’s first suggestion already reflects what was tried before.
Common mistakes
- Storing every message forever and calling it memory.
- Saving the model’s guesses as if they were facts.
- No way for a user to see or correct what is remembered.
- Treating memory as a feature to switch on. It is a data store that needs an owner.
What to do this week
- For one assistant, list what it would be useful to remember across sessions.
- Sort the list into facts, events and procedures.
- Decide who may correct each kind, and how.
The terms, in plain language
| Term | What it means |
|---|---|
| Short-term memory | What the model can see in the current session |
| Long-term memory | Stored information loaded across sessions |
| Semantic memory | Stored facts |
| Episodic memory | Records of past events |
| Procedural memory | Stored ways of doing a task |
Section 3.3 of the AI Engineering Guide · Last reviewed November 2026




