Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsa

Agent memory

Agent memory is the information that an AI agent stores and reuses across steps, sessions, or tasks, beyond what fits in its current context.

Agent memory is what lets an AI agent remember beyond its current context. A language model keeps nothing between calls, so the agent only knows what is in its context at each step. Memory stores facts, preferences, and past results outside the context. The agent loads the parts it needs back into the context when they become relevant.

Memory works at two scales. Short-term memory is the history of the current task, which the harness may trim or summarize when it grows too long. Long-term memory lasts across sessions and is often kept in files, databases, or vector stores that the agent can search. Some agents write their own memory, for example by saving a note when a person corrects them.

Long-term memory needs storage that outlives a single session. Agents that keep memory as files can store them in a persistent sandbox or on a volume attached to their sandboxes. Memory must be handled with care, because a wrong or planted memory can affect every later task. Agents often keep memory per user or per project, so that one memory does not leak into another.