Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Deployed LLM agents increasingly keep their long-term memory as a filesystem: a directory tree of markdown files that the agent itself reads, writes, and reorganizes through generic file tools. Yet research has largely passed over this medium: prior systems design bespoke memory representations and study retrieval over them, leaving the default's two working assumptions untested: that an agent can keep a growing store organized as memories accumulate, conflict, and go stale, and that this organization pays. We present the first systematic exploration of filesystem-based memory for LLM agents. We formalize the setting as three roles around one memory filesystem: a management agent integrates and organizes incoming content, a search agent answers queries with cited sources, and an execution agent supplies task trajectories that are distilled into skills, unifying declarative memory and skills in a single store. Across long-conversation benchmarks and embodied tasks, we vary memory shape (agent-organized hierarchy, verbatim dump, chunk retrieval), stream scale, tool harness (sandboxed shell, memory-tool-style functions, varied search tooling), and the strengths of the management and search agents, tracking answer quality, cost, and store health as memory grows. What organization reliably buys is search economy: organized stores roughly halve retrieval cost where material is large. Today's agents, however, fall short of the default's promise: in our growth study, organization erodes for all but the strongest management agent, and no agent we measure converts organization itself into better answers. And the model is not the only lever over a store's shape: changing the tool set alone reshapes the store as strongly as swapping the model. The study turns the filesystem default from an assumption into a design space for agent memory.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 16 of its 24 references that are in the map. First posted on arXiv 29 Jul 2026.
Builds on
16 of 24 references.
Closest ancestors · 7
Same direction, newest first
- 2026Useful Memories Become Faulty When Continuously Updated by LLMs13 May
- 2025A Simple Yet Strong Baseline for Long-Term Conversational Memory of LLM Agents21 Nov
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 9
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2023Cognitive Architectures for Language Agentscited by 422
- 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 163
- 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 101
- 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 77
- 2025REALTALK: A 21-Day Real-World Dataset for Long-Term Conversationcited by 31
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 1
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learningcited by 0
- 2026Follow the Entities: A Corpus Map for Agentic Searchcited by 0
- 2026Follow the Entities: A Corpus Map for Agentic Search29 Sep 2026
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning28 Sep 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads
- 2026Exploring Cross-Scenario Generality of Agentic Memory Systems: Diagnostics and a Strong Baseline
- 2026Are We Ready For An Agent-Native Memory System?
- 2026Evaluating Memory Structure in LLM Agents
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context
- 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexing
- 2026Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
- 2026Diagnosing Retrieval vs. Utilization Bottlenecks in LLM Agent Memory