MemScope: Evolving Agent Memory Architectures through Localized Code Repair
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Agent memory architectures define how LLM agents store and reuse experience across tasks, but they are typically fixed after deployment, limiting their adaptability across task types. Recent self-evolving approaches instead adapt these memory architectures using execution feedback, typically represented as evaluation scores or compressed summaries. However, such coarse-grained feedback is insufficient for precise failure localization in current agent systems, where long-horizon task execution involves multiple interacting components. Without a precise failure location, existing approaches lack a clear code-level target for modification, leaving the update scope weakly constrained and often leading to large-scale rewrites of an otherwise capable memory architecture. We propose MemScope, a framework for evidence-grounded, localized evolution of an existing memory architecture. Its tool-using Patch Agent jointly inspects raw execution traces, runtime memory state, and current architecture code to identify repair targets and apply bounded, in-place edits under provider-identity and memory-compatibility constraints. On GAIA, the trace-and-memory inspection variant achieves 86.67% accuracy, compared with 70.00% for trace-only and 63.33% for summary-only feedback. Under xBench tasks, the evolved memory architecture improves over its original version from 49 to 55 correct answers with DeepSeek V3.2 and from 50 to 53 with Kimi K2.7 Code. On disjoint ALFWorld unseen tasks, success rises from 50.75% to 71.64%. Across archived architecture-snapshot transitions, the median code-change ratio is 4.4%. These results support fine-grained execution evidence as a basis for localized, in-place memory-architecture evolution.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 43 of its 58 references that are in the map. Submitted 15 Oct 2026.
Builds on
43 of 58 references.
Closest ancestors · 4
Same direction, newest first
- 2026Self-Harness: Harnesses That Improve Themselves8 Jun
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
- 2025AutoAgent: A Fully-Automated and Zero-Code Framework for LLM Agents9 Feb
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 39
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,560
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,368
- 2023GAIA: a benchmark for General AI Assistantscited by 1,237
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 683
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
- 2024Agent Workflow Memorycited by 482
27 more
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
- 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 356
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 213
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 202
- 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 170
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 156
- 2025Evo-Memory: Benchmarking LLM Agent Test-time Learning with Self-Evolving Memorycited by 154
- 2025OWL: Optimized Workforce Learning for General Multi-Agent Assistance in Real-World Task Automationcited by 141
- 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behaviorcited by 126
- 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 122
- 2025Memp: Exploring Agent Procedural Memorycited by 119
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 117
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Modelcited by 115
- 2025MemEvolve: Meta-Evolution of Agent Memory Systemscited by 115
- 2025HaluMem: Evaluating Hallucinations in Memory Systems of Agentscited by 67
- 2025Contextual Experience Replay for Self-Improvement of Language Agentscited by 55
- 2025OAgents: An Empirical Study of Building Effective Agentscited by 34
- 2024Long Term Memory: The Foundation of AI Self-Evolutioncited by 33
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 30
- 2026Learning to Continually Learn via Meta-learning Agentic Memory Designscited by 29
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Executioncited by 28
- 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspectivecited by 23
- 2026Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agentscited by 20
- 2026Scaling Self-Evolving Agents via Parametric Memorycited by 18
- 2026SkillHone: A Harness for Continual Agent Skill Evolution Through Persistent Decision Historycited by 11
- 2026AutoAgent: Evolving Cognition and Elastic Memory Orchestration for Adaptive Agentscited by 6
- 2026FORGE: Self-Evolving Agent Memory With No Weight Updates via Population Broadcastcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair
- 2026MemPro: Agentic Memory Systems as Evolvable Programs
- 2026Memory as Infrastructure: Reliability Engineering for Persistent Agent Memory in Months-Long LLM-Assisted Development
- 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair
- 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agents
- 2026MemGuard: Persisting Verifier Signals for LLM-Agent Memory Governance
- 2026Are We Ready For An Agent-Native Memory System?
- 2026MemTrace: State-Consistent Memory for Long-Horizon Coding Agents