Can LLM Agents Organize Their Own Memory?

Zichuan Fu, Junjia Qi, Wenlin Zhang, Yimin Deng, Shirong Wang +3 more
11/9/2026
cs.AI

Official code: Qi202/SoMem (2 stars, Python, MIT, last commit 2026-11-10).

Abstract

In most LLM agents, weights are fixed after deployment, so new information must be retained in external memory. Existing approaches often rely on predefined records and fixed organizational rules, which cannot readily accommodate evolving tasks and interactions.

Show full abstract

This raises the question: can LLM agents organize their own memory using ordinary documents? We introduce self-organized memory (SoMem), a framework that stores memory in linked documents. The agent decides what to summarize, how to group related information, and when to revise existing topics, and every summary it produces stays linked to the original interactions as evidence. The runtime validates updates and automatically derives temporal, relational, and recent-memory views from the organized content. At query time, the agent chooses what to search and read, following document links and inspecting original evidence as needed. On LoCoMo, BEAM-100K, and LongMemEval-S, SoMem outperforms the strongest baseline by 2.66, 3.10, and 2.00 percentage points, respectively. The constructed memory can be reused across models, and additional reasoning effort can further improve answer quality. These findings demonstrate the feasibility of agents organizing and using their own persistent memory through ordinary documents. Code is available at: https://github.com/Qi202/SoMem.

View on arXivView PDF

Code Implementations(1)

Qi202/SoMemOfficial100%
MIT

SoMem: Can LLM Agents Organize Their Own Memory?

20PythonOct 13, 20263 weeks agoMIT

Similar Papers

Cite this paper

@article{fu2026agents,
  title  = {Can LLM Agents Organize Their Own Memory?},
  author = {Zichuan Fu and Junjia Qi and Wenlin Zhang and Yimin Deng and Shirong Wang and Jinyang Li and Xian Wu and Xiangyu Zhao},
  year   = {2026},
  eprint = {2611.11929},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.11929v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.11929.svg)](https://codeofpaper.com/paper/2611.11929)

Discussion