Trustworthy AI Agent Memory

Open tools to document and evaluate how artificial intelligence (AI) agents remember, protect, and forget personal information.

Archive center with a pile of document boxes piled together

Context

Personal AI agents now reach millions of people, and they remember: preferences, plans, and details shared in conversation. This memory makes agents useful, but it also makes them risky. Stored information can surface in the wrong context, resist correction or deletion, or be manipulated to steer the agent's later behaviour.

Two gaps make these risks hard to assess. First, documentation is scattered: what a memory system stores, who can access it, and whether data can truly be deleted are spread across privacy policies, technical documents, and promotional pages. Second, memory systems are tested mainly on accuracy and efficiency, rarely on privacy, user control, or security.

About the project

Mila and Mozilla developed two open-access tools to make agent memory systems transparent and measurable.

The Agent Memory System Card (AMS Card) is a documentation standard that gathers the key facts about a memory system in one place: what it remembers, how information enters and leaves it, what users can view, edit, and delete, where data is stored, and what evidence supports its claimed performance. Like a spec sheet for a car, it helps people compare systems before relying on them.

Holistic Evaluation of Agent Memory Systems (HEAMS) is an open-source testing framework that evaluates memory systems on five criteria (performance, efficiency, privacy, user control, and security) to reveal each system's strengths, weaknesses, and trade-offs.

Objectives

The project aims to encourage agent memory systems that are reliable and respectful of personal data. Its objectives are to:

  • give the people who build, deploy, and evaluate memory systems a shared way to document how they work;
  • measure memory systems against their responsibilities to users, not only on accuracy and efficiency;
  • help people and organizations make informed decisions about the AI products they use.

So far, the work has focused on personal memory, kept for a single user. Next, the team wants to explore shared memory for teams and organizations: who decides what the agent remembers, who can see what, and how each person keeps control over their own information.

Get involved

HEAMS framework

Open-source code and documentation (MIT licence). Run HEAMS on your memory system or add a new benchmark. You can view the code here.

Try HEAMS

 

AMS Card template

Blank template (CC BY 4.0), a one-minute explainer video, and two completed examples (MilaMem and MozMem).

Get the template

Tell us what the AMS Card is missing and share your feedback with us.

Resources

HEAMS: Holistic Evaluation of Agent Memory Systems
Paper presenting HEAMS and comparing memory systems on performance, efficiency, privacy, user control, and security.
Agent Memory System Card (AMS Card)
Paper presenting the AMS Card documentation standard.
Your AI agent remembers. Can you trust it?
Article by Jordan Bannister, Jacob Lavoie and Gaétan Marceau Caron

Meet the team

Mila members
Portrait of Jordan Bannister
Senior Applied Research Scientist, Applied Machine Learning Research
Portrait of Mehar Bhatia
PhD - McGill University
Portrait of Arsène Fansi Tchango
Machine Learning Manager, Applied Machine Learning Research
Portrait of Chirag Goel
Applied Research Scientist, AI Solutions and Technology
Portrait of Jacob Lavoie
Applied Research Scientist, Applied Machine Learning Research
Portrait of Gaétan Marceau Caron
Senior Director, Applied Machine Learning Research
Portrait of Amir Naghshzan
Developer, Applied Machine Learning Research, AI Application Development
Portrait of Marzia Nouri
Master's Research - McGill University
Core Academic Member
Portrait of Siva Reddy
Assistant Professor, McGill University
Canada CIFAR AI Chair
Portrait of Maryam Molamohammadi
Senior scientist, responsible AI research, Applied Projects
Collaborators
Matt Harris (Mozilla)

Frequently asked questions

What is an agent memory system?

It is the part of an AI agent that stores information from past interactions, such as your preferences, plans, and the details you mention, and reuses it later.

Who are these tools for?

Anyone who builds, deploys, evaluates, or governs AI agents with memory. The AMS Card also helps people make informed decisions about the AI products they use.

How do the two tools fit together?

The AMS Card documents how a memory system works. HEAMS measures how well it meets its responsibilities. Together, they make a system's claims easier to check.

Can I test my own memory system with HEAMS?

Yes. You can plug in your own memory system or add a new benchmark. See the HEAMS documentation.

Are the tools free to use?

Yes. HEAMS is open source under the MIT licence, and the AMS Card template is released under CC BY 4.0.

Partners

This project was developed at Mila and funded by Mozilla.

Have questions about the project? Send us a message