More Agent Memory Is Not Better Agent Memory
A common move when an agent keeps repeating mistakes is to give it a memory. Log what went wrong, turn the lessons into guidelines, and put them in the prompt on the next run. A thread on r/artificial this week made the claim that IBM tested this and found about 29 well-chosen guidelines beat a full set of 199. We looked for the study behind it. The figures 29 and 199 do not appear in the sources we could read, but the study itself is public, and what it found is more specific than the headline number.
What IBM tested
In August, IBM Research published How Much Memory Does Your Agent Actually Need? on the Hugging Face blog. It builds on ALTK-Evolve, a system that distills behavioral guidelines from an agent’s past runs and injects them at inference time. No model weights change. GIGAZINE wrote up the results a day later.
The setup was AppWorld, a benchmark of multi-step tasks across nine simulated apps such as calendars and messaging. The team mined guidelines from the training split only, then ran eight models, from a 30B dense model to frontier proprietary systems, on 585 tasks. Each model ran three ways: no memory, every guideline on every step, and a curated mode that supplies a small high-confidence core plus a few guidelines retrieved for the task at hand.
Three kinds of model, three results
The post reports task completion on the 168 “normal” tasks for five of the eight models. The numbers below are baseline followed by best memory configuration.
| Model | No memory | Best memory | Best mode |
|---|---|---|---|
| gpt-oss-120b | 39.9% | 56.0% | Curated retrieval |
| DeepSeek-V3.2 | 79.8% | 89.3% | Full set |
| Claude Opus 4.6 | 90.5% | 94.6% | Full set |
| GPT-5.5 | 92.3% | 95.2% | Full set |
| GLM-5 | 87.5% | 87.5% | No gain |
The authors sort these into three patterns. A weaker model, gpt-oss-120b, gained 16.1 points and did best with the small curated set. Strong models with room to improve did best when given everything. A model near its ceiling, GLM-5, showed no measurable gain from either approach. The post also reports stricter scenario-level scores, where a scenario counts only if every variant passes, and those gains were often larger than the per-task gains. The authors read that as a sign guidelines help with consistency.
The cost side
Cost moved a lot more than accuracy did in some cases. For gpt-oss-120b, tokens per task rose from about 110K to about 166K with the full set, a 51 percent increase, and to about 116K with curated retrieval, a 5 percent increase. The cheaper mode also scored higher. For DeepSeek-V3.2 the full set raised tokens per task from about 148K to about 263K, a 78 percent increase, and the model took about the same number of steps either way, so the extra spend came from reading a larger prompt each time, not from longer runs.
The authors point to prompt caching of the static guideline prefix as the main way to bring that cost down when the full set pays off.
What we take from it
Parts of this section are our interpretation, and the IBM post does not discuss defense or space work.
First, treat memory as a dose to calibrate per model, not a feature to switch on. If you swap the model behind an agent, the memory configuration that worked before may now be wasteful or even unhelpful. That makes memory one more setting to re-test after a model change, alongside the prompt and the tool definitions.
Second, measure the baseline before adding memory. GLM-5’s result is the cautionary case: a team that added a guideline store without a before-and-after run would have paid for the extra context and learned nothing. The authors say they have not established why that model saw no gain.
Third, for work in controlled environments, a guideline store is a data asset with its own review needs. Anything mined from past runs may carry details of the systems and data those runs touched. A curated, small set is easier to review, easier to scrub, and easier to explain to a program office than hundreds of machine-written rules. The study measures accuracy and token cost, not review burden, so that argument is ours.
Limits
The authors are direct about the limits. Everything here comes from one benchmark, and broader benchmarks and deployments are still in progress. Retrieval used cosine similarity, which they say does not perfectly predict which guidelines help a given task. The idea that context window size explains the differences is untested. Self-distilled memory also needs a minimum level of capability, so very weak models are not covered. Their next step is selecting memories by whether tasks succeeded or failed, not by text similarity.
A starting point
Pick one agent task you can score automatically and run it three ways: no memory, all guidelines, and a short core plus retrieval. Record completion and tokens per task for each. Repeat after any model change. If the full set wins, price it with caching before you commit. If the curated set wins or nothing moves, you have saved yourself a larger prompt on every call.