WikiTrace is a research system that lets an AI agent check its saved instructions against the work they came from. It tackles a problem I described in Saturday’s post: an agent can remember a lesson that makes it worse at its job.[1]
A successful task can teach the wrong lesson
Imagine an agent fixes a website after changing two settings. Only one change was necessary, but its saved instructions say to make both. Next time, the unnecessary change breaks something. The first job succeeded; the agent’s explanation of its success was wrong.
That is the problem WikiTrace addresses. A record saying a task passed does not prove that every step was useful. When an agent compresses that record into advice, it can leave out a condition or recommend something that only worked by accident.[1]
WikiTrace links each lesson to a summary and the full record of the original job. When advice is incomplete or contradictory, the agent can look back before following it. Across the authors’ tests, failures on tasks the no-memory baseline usually solved fell from 6.5 percent with lessons alone to 4.5 percent with the supporting records. Access to evidence helped, though it did not eliminate mistakes.[1]
The original record can also be out of date
Microsoft’s Grounding Agent Memory gives the agent maintaining memory read-only access to the current system. It can inspect a database before saving instructions about it, rather than trust an old account.[4]
On a database test that changes halfway through, ordinary memory raised the pass rate from 39 to 70 percent. Adding those checks brought it to 73 percent. Most of the benefit came from memory itself; the additional gain was small, with overlapping uncertainty ranges.[4]
ReTrace turns the procedure into code
ReTrace uses written procedures and recorded agent runs to generate reusable code. The code chooses the next step without asking a model each time. On simulated telecom tasks, runtime fell from 170 seconds to 1.3 seconds, but initial success fell from 80.6 to 75.8 percent. Repairs using training failures improved the results.[2]
That speed is useful for repeated work. It also makes checking the saved procedure important: an unnecessary step can become something the software repeats automatically.
These studies do not test sycophancy. The connection is what gets carried forward. If an agent accepts your explanation too readily and saves it as fact, later work can repeat the assumption. Chapter 10 of The World That Agrees With You covers how to inspect and correct those records. After changing an agent’s memory, rerun some jobs it previously handled correctly.
Read the studies
These are the authors’ results, not independent replications. WikiTrace, by Yukyeong Lee and colleagues, is under review. ReTrace is by Kaiyuan Hou and colleagues; the Microsoft study is by Susheel Suresh and colleagues.