Case & CodeA FIELD GUIDE TO AI
Start learning
Beginner

Memory

Also: persistent memory

In plain words

A feature that saves facts between conversations so you do not have to repeat them. It is a saved note, not the model learning.

The fuller definition

In an AI application, memory is a mechanism for retaining and later supplying information across interactions. It may use files, summaries, databases, or product-specific features.

One illustrative context budget
Instructions
2,000
Sources and history
8,000
Output reserve
4,000
Unused
2,000

A hypothetical 16,000-token budget. Real limits and token accounting depend on the model. Saving a file outside this budget does not mean it is present in the current context, and a passage inside it is not guaranteed equal attention.

A concrete example

A project saves approved drafting preferences and retrieves them for a later task.

The distinction that matters

Saved memory is not identical to model training, and information stored somewhere may not be loaded for a particular answer.

Related terms

Where it is taught

Give AI a brief it can actually follow

Source and further reading

Anthropic · Context engineering

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC