AI Agent Memory: What Your Agent Should Remember
How AI agent memory works, what new research says it is worth, and why memory you can inspect, edit and forget matters more than memory that just grows.
AI agent memory is what an agent keeps between tasks: your preferences, facts about your work, and lessons from what went right or wrong. Good memory makes the tenth task better than the first. Risky memory grows quietly, mixes in things you never approved, and cannot be checked. The difference is whether you can inspect it.
Two releases on 9 November 2026 show both sides of the topic. Redis published an open-source package that adds Redis Agent Memory to agents built with Vercel's AI SDK. The same day, Raindrop published a study on the role of reasoning in agent memory, measuring how much lessons from past tasks helped support agents.
What is AI agent memory?
AI agent memory is information stored outside the model that an agent reads back on later tasks. The model itself does not change. What changes is the context the agent starts with.
That context usually holds a few kinds of things:
- Preferences. How you like reports formatted, which tone to write in, which time zone you work in.
- Facts. Your product names, your team's definitions, the folder where invoices live.
- Lessons. What worked last time, and what failed and why.
- History. What the agent already did, so it does not repeat or contradict itself.
Without memory, every task starts from a blank page and you repeat yourself. With memory, an agent can pick up where it left off.
How does AI agent memory work?
Most systems split memory into two layers. Redis describes its Agent Memory, part of Redis Iris, as combining "short-term memory for the current session and long-term memory that follows the user across sessions, channels, and agents."
According to Redis, the service works in the background. It summarizes long sessions so context stays compact, extracts durable memories from recorded events, and lets later conversations pull them back with semantic search. Its example is an agent that remembers a user prefers aisle seats without being told again.
The new package offers two ways to use it, per its GitHub README:
- Automatic memory. A wrapper restores the session and injects recalled memories before the model runs, then records the conversation. The model gets no memory tools.
- Memory tools. The model decides when to search, save or update memories.
Two design details are worth copying no matter which tool you use. First, the wrapper labels recalled memory as possibly stale and untrusted before the model reads it. Second, the AI SDK docs for the package say the deletion tools are off by default. Both choices treat memory as a hint to check, not as ground truth the agent may rewrite freely.
Does memory actually make AI agents better?
Raindrop's study gives one of the clearer answers so far, with clear limits.
Raindrop tested four open models on telecom support tickets from τ²-bench, a customer-support benchmark from Sierra Research. Each agent worked through sequences of 24 tickets. After each ticket, a reviewer model looked at what happened and updated a set of lessons the agent would read next time.
The results, averaged across the four models:
| Setup | Share of tickets resolved |
|---|---|
| No memory | 33.5% |
| Lessons from past actions | 59.2% |
| Lessons from actions plus the agent's reasoning | 66.5% |
Raindrop reports that every model did better with memory and that most of the gain came from action memory alone. Adding the agent's reasoning helped more for some models than others, and Raindrop says it cost about 30% more per ticket than action memory in its experiments.
Two caveats from Raindrop itself matter for a business owner. The study used a stronger reviewer model and an automated grader that said clearly whether each ticket passed. Raindrop writes that in production, feedback is less clear, often coming from repeated questions, user frustration or escalations. It also notes that one lesson the agent learned was specific to the benchmark, and that in a real support setting the agent should have asked the customer instead.
So the honest takeaway is: memory can help a lot when the agent gets clear feedback on whether it succeeded. Without that feedback, memory can just as easily store the wrong lesson.
Why should agent memory be inspectable?
Because memory is the part of an agent that keeps acting after you stop watching. A bad instruction in one chat affects one chat. A bad memory affects every task that reads it.
Raindrop's results show memory size leveled off because the reviewer revised, merged and removed lessons, partly due to a storage cap. That is a useful pattern: memory needs pruning, not only growth. Someone, or something, has to decide what stays.
For a small team, the safest version of "someone" is you. Before you rely on an agent that remembers, check that you can answer these questions:
- Can I see every memory? A list you can read, not a hidden vector store.
- Where did each memory come from? A source and a date, so you can judge it.
- Can I edit or forget it? Wrong facts should be easy to fix.
- Can I export it? Your process knowledge should not be locked in one tool.
- What gets saved without my approval? Text copied from a web page is not the same as a rule you gave the agent.
That last point is the one people miss. An agent that reads the open web can pick up instructions planted in a page. If it saves those as memory, a one-time problem becomes a standing one.
What should an AI agent remember, and what should it forget?
A practical rule: remember what you would want a new employee to write down, and forget what you would not want them to keep.
Worth remembering: your formatting and voice rules, product and customer names spelled correctly, definitions your team agrees on, recurring steps of a job, and lessons from tasks where the result was checked.
Worth forgetting or never saving: passwords and personal data, one-off exceptions that should not become rules, guesses that were never confirmed, and anything copied from an outside page that you did not approve.
When in doubt, keep memory short and specific. "Weekly reports go to the Reports folder as PDF" is useful. "The user likes good reports" is noise.
How YardCrew fits
YardCrew is a free desktop app, currently in alpha, that runs a team of persistent AI workers on your Mac or Windows PC. Its site describes the idea in one line: chat threads forget, workers remember. Each worker keeps a role, approved memory, its own files and its task history.
On memory specifically, the YardCrew feature list says approved memory shows its source and date, and that you can edit, forget or export it. Notes from web pages stay candidates until you approve them, which addresses the planted instruction problem above. Writing workers keep your approved voice notes in memory and save each draft as a file. For how memory fits into a crew of named workers, see what an AI agent team is.
Some honest limits. Workers, memory, files and history live in folders on your computer, but prompts, relevant files and tool results go to the AI provider you connect. YardCrew runs through OpenAI's Codex with your ChatGPT plan, so work counts toward that plan's limits. Workers run only while your computer is awake. Memory does not replace checking results: YardCrew lists research sources but does not fact check them, as explained in our AI research agent guide.
If you want to try it, the download page has the Mac and Windows installers, system requirements and verification steps.
Sources
- Give your Vercel AI SDK agents memory with Redis Agent Memory, Redis, 9 November 2026.
- Redis Agent Memory for Vercel's AI SDK (README), Redis on GitHub, November 2026.
- Redis Agent Memory provider docs, AI SDK, November 2026.
- The role of reasoning in agent memory, Raindrop, 9 November 2026.
Frequently asked questions
What is AI agent memory?
AI agent memory is information an agent keeps outside the model and reads back later, such as your preferences, facts about your business, and lessons from past tasks. It lets the next task start from what the agent already learned instead of a blank page.
What is the difference between short-term and long-term agent memory?
Short-term memory is the current session: what was just said and done. Long-term memory is what survives after the session ends, such as preferences and durable facts. Redis describes its Agent Memory as combining both, with long-term memory that follows the user across sessions.
Does memory actually make AI agents better?
In one benchmark test, yes. Raindrop reported on 9 November 2026 that across four models on telecom support tickets, the average share resolved rose from 33.5% with no memory to 59.2% with lessons from past actions. Raindrop notes its test had a clear automated grader, which real work often lacks.
Can I delete what an AI agent remembers?
It depends on the product. Some memory systems let you view, edit and delete memories, and some keep deletion off by default for the agent itself. Before you trust an agent with memory, check that you can see each memory, where it came from, and remove it.
How does YardCrew handle worker memory?
YardCrew says approved memory shows its source and date, and you can edit, forget or export it. Notes from web pages stay candidates until you approve them. Memory lives in folders on your computer, while prompts and relevant files go to the AI provider you connect.