Large language model agents can improve by storing lessons from past tasks, but these lessons are often wrong or misapplied, causing the agent to fail tasks it used to solve alone.
This paper introduces WikiTrace, a system that links each lesson to a summary of its original task and the full record of what happened. When an agent faces a new task, it can check the linked evidence to fill in missing details or correct the lesson before acting.
WikiTrace was tested on five benchmarks and improved performance by 10.7 points on average compared to an agent without memory, while cutting the rate of such failures from 6.5% to 4.5%. This shows that keeping evidence alongside lessons helps agents reuse experience more reliably.
