Skip to content

Agent Memory

A mechanism that allows the agent to store and use information between calls: what was in the previous dialogue, which actions have already been performed, and which facts about the user are known.

Types of Memory

Type What it stores Example
Short-term Current context Message history
Long-term Facts and outcomes of past sessions User profile, notes
Working Intermediate steps of a task Plan, results of calls

Implementation

Long-term memory is often built on a vector database: records are converted into embeddings and retrieved by meaning.

See Also

← All terms