Skip to content
Everything *[NYC] 2026: see what we announced. →

Agent memory definition

Agent memory is the external storage and retrieval layer that lets an AI agent carry information across turns and sessions, because the underlying language model keeps no state of its own between calls. It is usually split into short-term memory scoped to the current session and long-term memory that persists beyond it


A diagram explaining Agent memory in terms of related concepts.

Why do AI agents need memory at all?

What are the types of agent memory?

Is agent memory the same as a bigger context window?

What is the difference between agent memory and RAG?

How does agent memory fit alongside governed content?

Explore Sanity Today

Understanding agent memory is just the beginning. Take the next step and discover how Sanity can enhance your content management and delivery.

Last updated: