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

Agent Memory diagram from Intelligence at Scale
Diagram from chapter 12, The Agent Toolbox

Explained in

Chapter 12: The Agent Toolbox

The protocols, tools, and infrastructure that make agents actually useful.

Related terms

This is one term. The chapter is the argument.

Intelligence at Scale: 22 chapters, 65,000 words, 80-plus diagrams. Kindle, paperback and hardcover on Amazon.

Buy on Amazon.com
← All terms