Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons
Not on the map. Why?
Abstract (arXiv)
Intelligent agents should learn from their mistakes so that experience leads to continuous improvement. Yet today's agents recover from a mistake only temporarily: in-context reflections are easily forgotten across sessions and compete for limited context, while full-parameter fine-tuning is expensive and can interfere with existing capabilities. We introduce Self-Direction, a mechanism for agents to learn from mistakes that combines the benefits of temporary in-context retries and policy updates. When an agent fails a task, it reflects on its own trajectory in order to extract a lesson and immediately distills it into a lightweight low-rank adapter. By keeping the original weights frozen, Self-Direction prevents adapter training from overwriting base-model parameters while training additional parameters equivalent to ~0.02% of the base model's parameter count for each adapter. The agent then saves these adapters in a persistent library of lessons, automatically routing them to solve related problems later. Experiments with agents based on open-weight models from the Qwen family across open-ended research (GAIA), tool-use workflows (Claw-Eval), and terminal tasks (Terminal-Bench 2.1) show that our method improves overall success rates by 8.9 to 17.0 percentage points and performs competitively with frontier systems. We find that Self-Direction reduces repeated mistakes across future encounters of a task, nearly doubling the reliability of an agent's corrections. Learned lessons also transfer: a handful of adapters generalize to dozens of new tasks without additional training. Ultimately, this self-directed repair transforms everyday mistakes into lasting lessons.
Key facts. Cited by 1 paper in the map (data through 26 Nov 2026). Builds on 56 of its 62 references that are in the map. Submitted 22 Oct 2026.
Builds on
56 of 62 references.
References · 56
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
- 2023GAIA: a benchmark for General AI Assistantscited by 1,238
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,181
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
38 more
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 1,047
- 2024Self-Rewarding Language Modelscited by 745
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 709
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 533
- 2024Automated Design of Agentic Systemscited by 507
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
- 2024PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Modelscited by 307
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 199
- 2026Self-Harness: Harnesses That Improve Themselvescited by 158
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 122
- 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalizationcited by 116
- 2025A Self-Improving Coding Agentcited by 109
- 2023Learning From Mistakes Makes LLM Better Reasonercited by 107
- 2023CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalizationcited by 106
- 2024The Surprising Effectiveness of Test-Time Training for Few-Shot Learningcited by 106
- 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 97
- 2023Test-Time Training on Nearest Neighbors for Large Language Modelscited by 96
- 2026Towards a Science of AI Agent Reliabilitycited by 88
- 2026Claw-Eval: Towards Trustworthy Evaluation of Autonomous Agentscited by 76
- 2026Natural-Language Agent Harnessescited by 68
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundrycited by 68
- 2026OSWorld 2.0: Benchmarking Computer Use Agents on Long-Horizon Real-World Taskscited by 67
- 2026MCP-Atlas: A Large-Scale Benchmark for Tool-Use Competency with Real MCP Serverscited by 66
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agentscited by 62
- 2026Code as Agent Harnesscited by 59
- 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agentscited by 36
- 2026WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolutioncited by 30
- 2026TTHE: Test-Time Harness Evolutioncited by 27
- 2026Prime Agent: A Self-Improving RLM Harnesscited by 25
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 24
- 2026Agent Skills Can Be Harmful: An Empirical Study of Skill-Induced Failures in LLM Agentscited by 21
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 19
- 2026Scaling Self-Evolving Agents via Parametric Memorycited by 18
- 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editablecited by 18
- 2026Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnessescited by 15
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.