Memory is what the AI holds. Data is the world it works in.
Seven kinds of thing reach an AI, and each has a test. The words come from the study of the mind: semantic memory is what is true, procedural memory is how the work is done, episodic memory is what happened, and the data is the environment.
new words
- Working memory
- The context window itself: what the model holds for this one call.
- Semantic memory
- What is true: facts and rules that someone owns and would correct.
- Procedural memory
- How the work is done: a situation, then the steps.
- Episodic memory
- What happened: an event with a date and a story.
- Environment
- The data the AI works in. It searches there for what a task needs, and never reads it all.
the lesson
| Kind | The field's word | The test |
|---|---|---|
| Identity | system prompt, persona | Change it, and every task changes. |
| Instructions | rules, policy, guardrails | A line you would enforce. |
| Procedures | skills; procedural memory | A situation, then steps. |
| Knowledge | knowledge base; semantic memory | Someone owns it and would correct it. |
| Events | episodic memory | It has a date and a story. |
| Data | the environment; data sources | You search it; you never read it all. |
| Tools | tool definitions, MCP | Arguments in, a result out. |
The test says where a thing goes. "Invoices are paid in 30 days" is knowledge: someone owns it. "Yesterday a client asked about late fees" is an event. A spreadsheet of this year's invoices is data: the AI searches it when a task needs it.
Kept apart, each kind has its own place and its own readers. Mixed in one pile, an event reads like a rule, an old note outvotes the page that replaced it (lesson 2), and a file nobody reviewed sits beside a rule someone owns.
A brain keeps who the AI is, what is true, and how the work is done as pages people own: semantic and procedural memory, loaded in steps (lesson 1). What happened stays where it ends: the chat, a room for 30 days, an operation's folder until it closes. The company's files stay in their own systems, the environment the AI reaches through its own connectors; a page holds the map. Context engineering shows the kinds side by side.
try it
In a new Claude window, type this and press Enter:
Sort these five lines into identity, knowledge, procedure, event, or data, and give the test you used for each: "Reply in plain words." "Invoices are paid in 30 days." "To close a month: export, check, sign." "Yesterday a client asked about late fees." "invoices-2026.xlsx"
you should see
- Identity, knowledge, procedure, event, data, in that order.
- The tests: it changes every task; someone owns it; a situation, then steps; a date and a story; you search it, never read it all.