AI Glossary Term

What does “Memory (Agent Memory)” mean?

Definition

Stored context an AI agent uses across steps or sessions to improve continuity.

How Memory (Agent Memory) works

Diagram for Memory (Agent Memory), layers from top to bottom: Short-term: the current conversation and task steps; Long-term: saved notes, facts, past results; Retrieval: fetch relevant memory when needed.Short-term: the current conversation andtask stepsLong-term: saved notes, facts, pastresultsRetrieval: fetch relevant memory whenneeded

Example

A personal assistant agent saves that you prefer morning meetings and window seats. Next week it retrieves those notes when scheduling or booking travel, so you do not repeat yourself.

Why it matters

Without memory, an agent starts from scratch each time. Memory also raises privacy questions about what is stored and for how long.

Common questions

Is memory built into the model?

Usually not. It is stored outside the model, such as in a database, and fetched back into the prompt.

Can it be wrong?

Yes. Stored notes can be outdated or mistaken, so good systems let users review and delete them.

Is it the same as a context window?

The context window is the model's short-term working space. Agent memory persists beyond a single session.

Learn more in our free guides

Test yourself

See also