mlsanityData to 14 Oct 2026

M^star: Every Task Deserves Its Own Memory Harness

arXiv 2604.11811 ↗First posted 10 Apr 2026cs.PL cs.AI cs.CLcited by 11

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Large language model agents rely on specialized memory systems to accumulate and reuse knowledge during extended interactions. Recent architectures typically adopt a fixed memory design tailored to specific domains, such as semantic retrieval for conversations or skills reused for coding. However, a memory system optimized for one purpose frequently fails to transfer to others. To address this limitation, we introduce M^star, a method that automatically discovers task-optimized memory harnesses through executable program evolution. Specifically, M^star models an agent memory system as a memory program written in Python. This program encapsulates the data Schema, the storage Logic, and the agent workflow Instructions. We optimize these components jointly using a reflective code evolution method; this approach employs a population-based search strategy and analyzes evaluation failures to iteratively refine the candidate programs. We evaluate M^star on four distinct benchmarks spanning conversation, embodied planning, and expert reasoning. Our results demonstrate that M^star improves performance over existing fixed-memory baselines robustly across all evaluated tasks. Furthermore, the evolved memory programs exhibit structurally distinct processing mechanisms for each domain. This finding indicates that specializing the memory mechanism for a given task explores a broad design space and provides a superior solution compared to general-purpose memory paradigms.

Key facts. Cited by 11 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 29 of its 42 references that are in the map. First posted on arXiv 10 Apr 2026.

Builds on

29 of 42 references.

Closest ancestors · 9

Same direction, newest first

  1. 2026Evaluating Memory Structure in LLM Agents11 Feb
  2. 2026Learning to Continually Learn via Meta-learning Agentic Memory Designs8 Feb
  3. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents2 Feb
  4. 2025MemEvolve: Meta-Evolution of Agent Memory Systems21 Dec
  5. 2025Evo-Memory: Benchmarking LLM Agent Test-time Learning with Self-Evolving Memory25 Nov
  6. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory29 Sep
  7. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  8. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  9. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 20

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  5. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  6. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
  7. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  8. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  9. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  10. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
  11. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  12. 2025HealthBench: Evaluating Large Language Models Towards Improved Human Healthcited by 429
8 more
  1. 2024Automated Design of Agentic Systemscited by 407
  2. 2024Agent Workflow Memorycited by 383
  3. 2018TextWorld: A Learning Environment for Text-based Gamescited by 310
  4. 2023Augmenting Language Models with Long-Term Memorycited by 189
  5. 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
  6. 2023EvoPrompting: Language Models for Code-Level Neural Architecture Searchcited by 131
  7. 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 52
  8. 2025PRBench: Large-Scale Expert Rubrics for Evaluating High-Stakes Professional Reasoningcited by 32

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026MemGym: a Long-Horizon Memory Environment for LLM Agents
  2. 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
  3. 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspective
  4. 2026AdMem: Advanced Memory for Task-solving Agents
  5. 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
  6. 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
  7. 2026MemToolAgent: Leveraging Memory for Tool Using Agents Based on Environment and User Feedback
  8. 2026Compiled Memory: Not More Information, but More Precise Instructions for Language Agents