AI engineering glossary · Agents tools MCP

What is long-term memory?

Long-term memory: Information an agent stores outside the context window so it survives between sessions, for example in a vector database or document store, and retrieves when relevant. It supports personalisation and learning from past work.

Level: intermediateTopic: Agents tools MCP

Long-term memory: an example

Weeks later, the agent retrieves the saved note 'user's company fiscal year starts in April' before building a report.

Related terms

More Agents tools MCP terms

Where you learn it

Long-term memory is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.