mlsanityData to 14 Oct 2026

Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution

arXiv 2608.06811 ↗First posted 7 Aug 2026cs.SE cs.AIcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Resolving a real software issue with a large language model (LLM) agent is a long repair episode, often tens to hundreds of steps spanning exploration, hypothesis, implementation, and verification. Success depends on both the base model's local reasoning and the agent's ability to maintain an evolving plan and remember observations across phases. Existing repository-level agents typically strengthen planning or memory in isolation, leaving long trajectories vulnerable to stale evidence, repeated failed edits, and verification inferred from the agent's own claims instead of execution evidence. We present PMCoder, an issue-resolution agent that couples a hierarchical phase planner with episodic memory. The coupling is bidirectional: the current plan phase conditions memory retrieval, while memory-derived trajectory statistics inform stuck detection and replanning. When available, issue-reproduction verdicts ground verification progress in execution evidence rather than self-reported completion. On SWE-bench Verified, PMCoder resolves an average of 25 more cases (+5.0pp) than a harness-matched baseline, with gains persisting even where the reproduction gate never fires. Further Verified-500 evaluations show the same positive direction across Claude Haiku 4.5, DeepSeek-V4-Flash, and an OpenHands port, with at least 14 additional resolved cases (+2.8pp). Separately, evaluation on TerminalWorld's official sample suggests that the plan-memory substrate transfers beyond issue reports. Ablation and trajectory analyses show where the gains come from: coupling planning and memory outperforms either component alone and reduces repeated failed actions, empty-patch exits, and context-window exhaustion.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 45 references that are in the map. First posted on arXiv 7 Aug 2026.

Builds on

36 of 45 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agents25 Feb
  2. 2025Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebases11 Dec
  3. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  4. 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep
  5. 2024SpecRover: Code Intent Extraction via LLMs5 Aug
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  7. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 28

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  7. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  8. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  9. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  10. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  11. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  12. 2023Cognitive Architectures for Language Agentscited by 429
16 more
  1. 2022The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Modelscited by 328
  2. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 284
  3. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  4. 2022Defining and Characterizing Reward Hackingcited by 203
  5. 2023AdaPlanner: Adaptive Planning from Feedback with Language Modelscited by 196
  6. 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 178
  7. 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 177
  8. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
  9. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 111
  10. 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Modelcited by 106
  11. 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
  12. 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 65
  13. 2025EXPEREPAIR: Dual-Memory Enhanced LLM-based Repository-Level Program Repaircited by 35
  14. 2017Identifying Patch Correctness in Test-Based Program Repaircited by 17
  15. 2026TerminalWorld: Benchmarking Agents on Real-World Terminal Taskscited by 10
  16. 2026Agentic Uncertainty Reveals Agentic Overconfidencecited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
  2. 2025MemoCoder: Automated Function Synthesis using LLM-Supported Agents
  3. 2026When Tools Fail: Benchmarking Dynamic Replanning and Anomaly Recovery in LLM Agents
  4. 2026The Epistemics of Agent Memory: Measuring, and Governing, the Consolidation Decision in Long-Horizon LLM Agents
  5. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents
  6. 2026MemGuard: Persisting Verifier Signals for LLM-Agent Memory Governance
  7. 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layer
  8. 2026Beyond Task Completion: Revealing Corrupt Success in LLM Agents through Procedure-Aware Evaluation