Definition
Agent Memory
Agent memory is information kept from earlier steps or interactions and made available when the workflow needs it. Short-term memory can preserve the current thread’s state. Long-term memory can persist selected facts or preferences across threads. Retrieval, retention and correction policies determine what the agent can use later.
Retrieve a preference at the right scope and time
A user chooses email for delivery alerts. Months later the user switches to SMS. Store the newer choice with its effective time and the account it belongs to. During a later request, retrieve the latest authorized preference for that account. Preserve the change history where required and keep stale preferences out of the active request.
LangGraph short-term and long-term memory
Intelligence at Scale by Shashank Agarwal

Explained in
Chapter 12: The Agent Toolbox
The protocols, tools, and infrastructure that make agents actually useful.
Related terms