Trajectory-Informed Memory Generation for Self-Improving Agent Systems
On the map: LLM agents and tool use → Agent memory systems
also in 1 more
Abstract (arXiv)
LLM-powered agents face a persistent challenge: learning from their execution experiences to improve future performance. While agents can successfully complete many tasks, they often repeat inefficient patterns, fail to recover from similar errors, and miss opportunities to apply successful strategies from past executions. We present a novel framework for automatically extracting actionable learnings from agent execution trajectories and utilizing them to improve future performance through contextual memory retrieval. Our approach comprises four components: (1) a Trajectory Intelligence Extractor that performs semantic analysis of agent reasoning patterns, (2) a Decision Attribution Analyzer that identifies which decisions and reasoning steps led to failures, recoveries, or inefficiencies, (3) a Contextual Learning Generator that produces three types of guidance -- strategy tips from successful patterns, recovery tips from failure handling, and optimization tips from inefficient but successful executions, and (4) an Adaptive Memory Retrieval System that injects relevant learnings into agent prompts based on multi-dimensional similarity. Unlike existing memory systems that store generic conversational facts, our framework understands execution patterns, extracts structured learnings with provenance, and retrieves guidance tailored to specific task contexts. Evaluation on the AppWorld benchmark demonstrates consistent improvements, with up to 14.3 percentage point gains in scenario goal completion on held-out tasks and particularly strong benefits on complex tasks (28.5~pp scenario goal improvement, a 149% relative increase).
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 9 of its 21 references that are in the map. First posted on arXiv 11 Mar 2026.
Builds on
9 of 21 references.
Closest ancestors · 6
Same direction, newest first
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct
- 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior21 May
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agents10 Feb
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
Other references · 3
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 23
- 2025Episodic memory in AI agents poses risks that should be studied and mitigatedcited by 11
Built on by
Citing papers per year: 2026: 17.
17 papers.
Sort:
By area:
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 29
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolutioncited by 18
- 2026Procedural Knowledge at Scale Improves Reasoningcited by 7
- 2026Co-Evolving Skill Generation and Policy Optimizationcited by 7
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
- 2026View-oriented Conversation Compiler for Agent Trace Analysiscited by 2
- 2026RAG over Thinking Traces Can Improve Reasoning Taskscited by 2
- 2026ConMem: Structured Memory-Guided Adaptation in Training-Free Multi-Agent Systemscited by 2
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agentscited by 2
- 2026GeoForge: Non-Parametric Self-Evolving Agents for Earth-Observation Reasoningcited by 1
- 2026SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstractioncited by 1
- 2026Mechanistic Attention Guidance for Agent Memory Refinementcited by 0
5 more
- 2026Rehearse: Stepping Back from the Confidence Cliff in Self-Improving Autoresearchcited by 0
- 2026CONTRAMEM: Learning Self-Evolving Procedural Memory from Contrasting Multi-Model Trajectoriescited by 0
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Coursecited by 0
- 2026DENSE: Distilling Agent Trajectories into Evidence-Grounded Shortcut Trees for Self-Refinementcited by 0
- 2026DAEDALUS: Bootstrapping Agent Memory from Self-Generated Taskscited by 0
- 2026DAEDALUS: Bootstrapping Agent Memory from Self-Generated Tasks6 Oct 2026
- 2026DENSE: Distilling Agent Trajectories into Evidence-Grounded Shortcut Trees for Self-Refinement18 Sep 2026
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Course8 Sep 2026
- 2026SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstraction31 Aug 2026
- 2026CONTRAMEM: Learning Self-Evolving Procedural Memory from Contrasting Multi-Model Trajectories23 Aug 2026
- 2026GeoForge: Non-Parametric Self-Evolving Agents for Earth-Observation Reasoning11 Aug 2026
- 2026Rehearse: Stepping Back from the Confidence Cliff in Self-Improving Autoresearch30 Jul 2026
- 2026Mechanistic Attention Guidance for Agent Memory Refinement20 Jul 2026
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agents7 Jul 2026
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agents23 Jun 2026
- 2026Co-Evolving Skill Generation and Policy Optimization7 Jun 2026
- 2026ConMem: Structured Memory-Guided Adaptation in Training-Free Multi-Agent Systems7 Jun 2026
5 more
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun 2026
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolution18 May 2026
- 2026RAG over Thinking Traces Can Improve Reasoning Tasks5 May 2026
- 2026Procedural Knowledge at Scale Improves Reasoning1 Apr 2026
- 2026View-oriented Conversation Compiler for Agent Trace Analysis31 Mar 2026
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 29
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolutioncited by 18
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
- 2026ConMem: Structured Memory-Guided Adaptation in Training-Free Multi-Agent Systemscited by 2
- 2026SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstractioncited by 1
- 2026CONTRAMEM: Learning Self-Evolving Procedural Memory from Contrasting Multi-Model Trajectoriescited by 0
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Coursecited by 0
- 2026DAEDALUS: Bootstrapping Agent Memory from Self-Generated Taskscited by 0
- 2026DAEDALUS: Bootstrapping Agent Memory from Self-Generated Tasks6 Oct 2026
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Course8 Sep 2026
- 2026SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstraction31 Aug 2026
- 2026CONTRAMEM: Learning Self-Evolving Procedural Memory from Contrasting Multi-Model Trajectories23 Aug 2026
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agents7 Jul 2026
- 2026ConMem: Structured Memory-Guided Adaptation in Training-Free Multi-Agent Systems7 Jun 2026
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun 2026
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolution18 May 2026
- 2026RAG over Thinking Traces Can Improve Reasoning Taskscited by 2
- 2026RAG over Thinking Traces Can Improve Reasoning Tasks5 May 2026
- 2026Co-Evolving Skill Generation and Policy Optimizationcited by 7
- 2026View-oriented Conversation Compiler for Agent Trace Analysiscited by 2
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agentscited by 2
- 2026Mechanistic Attention Guidance for Agent Memory Refinementcited by 0
- 2026DENSE: Distilling Agent Trajectories into Evidence-Grounded Shortcut Trees for Self-Refinementcited by 0
- 2026DENSE: Distilling Agent Trajectories into Evidence-Grounded Shortcut Trees for Self-Refinement18 Sep 2026
- 2026Mechanistic Attention Guidance for Agent Memory Refinement20 Jul 2026
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agents23 Jun 2026
- 2026Co-Evolving Skill Generation and Policy Optimization7 Jun 2026
- 2026View-oriented Conversation Compiler for Agent Trace Analysis31 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026ActiveMem: Dynamic Latent Memory Trees for Long-Horizon Agents
- 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications
- 2025From Experience to Strategy: Empowering LLM Agents with Trainable Graph Memory
- 2026Multi-Agent Transactive Memory
- 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspective
- 2026ActMem: Bridging the Gap Between Memory Retrieval and Reasoning in LLM Agents
- 2026Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents