Skip to content
BENIBIX Learn

Agent Memory

AI🤖 AI AgentsAgent Abilities

Also known as Long-Term Memory (AI), AI Memory, Persistent Memory

How an agent keeps facts from one task for the next one.

Think of it like

Think of it like a notebook. You write down what you learned, so you still know it the next day.

Example

Lucy's assistant saves a note that she likes short answers with sources. Next week, in a new chat, it reads the note and writes that way.

Why it matters

It lets an agent learn your project and your habits. Then it does not have to ask again each time.

Definition

Agent memory is how an agent keeps facts beyond one task. Short-term memory is the context window. It holds the chat so far, and it is gone when the task ends. Long-term memory is kept outside the model, in files or a database, and read back in later. The agent or its harness picks what is worth saving and when to load it.
The context window empties after each task. Long-term memory keeps notes for the next one.

Common mistake

Saving everything. A memory full of old or wrong notes misleads the agent more than an empty one.

Key takeaways

  1. 1
    Short-term is the context. Gone after the task.
  2. 2
    Long-term is stored. Files or a database.
  3. 3
    Choose what to keep. Not everything.

Compare