mlsanityData to 7 Oct 2026

MemCodex: Self-Programming Hierarchical Memory for Language Agents

arXiv 2609.39765 ↗First posted 30 Sep 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Agent memory faces heterogeneous access needs: a single-hop question may require one piece of evidence, whereas a multi-hop question must combine evidence from multiple sources. Predefined memory workflows cannot adapt to these varying needs. Recent adaptive methods search or learn over memory components and their compositions, but the design space itself remains predefined. We introduce MemCodex, a self-evolving hierarchical memory system that organizes experience into executable memory programs for summaries, relational knowledge, reusable skills, and latent memory. Open-ended program evolution searches the open design space of layer programs by rewriting how each layer is constructed, indexed, retrieved, and routed, thereby adapting both within-layer implementations and cross-layer composition. At query time, reads traverse the hierarchy from coarse to fine and stop once sufficient evidence is found, descending to the original history when needed. We further develop MemArena, a unified runtime that places heterogeneous data and memory systems behind a common interface. MemCodex improves average task success by 10.1% relative to the strongest adaptive-memory baseline, while using 3.4x fewer context tokens and achieving 2.1x faster inference.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 78 of its 84 references that are in the map. First posted on arXiv 30 Sep 2026.

Builds on

78 of 84 references.

References · 78

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2024GPT-4o System Cardcited by 4,467
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  6. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  7. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  8. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  9. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  10. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  11. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
  12. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
38 more
  1. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  2. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
  3. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
  4. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  5. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  6. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
  7. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  8. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
  9. 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
  10. 2024Automated Design of Agentic Systemscited by 360
  11. 2024Agent Workflow Memorycited by 342
  12. 2024Titans: Learning to Memorize at Test Timecited by 303
  13. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
  14. 2025Memory in the Age of AI Agentscited by 285
  15. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
  16. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 253
  17. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  18. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 236
  19. 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 163
  20. 2025Memory OS of AI Agentcited by 140
  21. 2025MemOS: A Memory OS for AI Systemcited by 129
  22. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 129
  23. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
  24. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 119
  25. 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 89
  26. 2024A Survey on Self-Evolution of Large Language Modelscited by 86
  27. 2025MemEvolve: Meta-Evolution of Agent Memory Systemscited by 81
  28. 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learnerscited by 65
  29. 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insightscited by 51
  30. 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
  31. 2026Hyperagentscited by 40
  32. 2024OSCAR: Operating System Control via State-Aware Reasoning and Re-Planningcited by 37
  33. 2025From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agentscited by 27
  34. 2025TReMu: Towards Neuro-Symbolic Temporal Reasoning for LLM-Agents with Memory in Multi-Session Dialoguescited by 25
  35. 2025System-1.5 Reasoning: Traversal in Language and Latent Spaces with Dynamic Shortcutscited by 23
  36. 2026GAM: Hierarchical Graph-based Agentic Memory for LLM Agentscited by 19
  37. 2026Learning to Continually Learn via Meta-learning Agentic Memory Designscited by 16
  38. 2026The Red Queen G"odel Machine: Co-Evolving Agents and Their Evaluatorscited by 16

50 most cited of 78 All 78 (JSON)

Built on by

Not cited yet.