Memory
Also called Agent memory
In agent applications, memory is retained information that can be reused later. It can include conversation state within a session or information saved across sessions, depending on the application.
[LangChain]In practice · hypothetical example
A tutoring app saves a learner’s preferred explanation style and loads that preference when a later lesson starts.
[LangChain]A little deeper
Frameworks distinguish short-term conversation state from longer-term stored information. Retaining data and selecting what enters the next model input are separate responsibilities. [LangChain]
A common mix-up
Memory means the model sees all previous conversations.
The application decides what to store and what to recall. [LangChain]
Similar terms, different emphasis
Compare Context Window & Memory →An app saves a preference between sessions. Must every later prompt contain it?
Sources & editorial notes
Evidence: supported. Primary-source support for this scoped entry; publication approved by the project owner.
- Memory overview ↗ (opens in new tab)LangChain · Publication date unknown
Relevant section: Short-term memory; Long-term memory
Last editorial review: 2026-09-13 by project-owner.
First observed in this corpus: Unknown.
Revision history
Revision 2 · Created 2026-09-13 · Updated 2026-09-13
Project owner approved the current content for publication. Existing evidence scope and limitations remain applicable.