Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
Summary
Treats deployed filesystem memory (markdown trees + generic file tools) as a design space with management/search/execution roles sharing one store for declarative memory and skills. Across LoCoMo, PersonaMem, REALTALK, and ALFWorld, varies store shape, scale, harness, and model strength. Organization's reliable payoff is search cost (roughly halves retrieval on large material), not answer quality. Organization erodes for all but the strongest management agent; tool set reshapes the store as strongly as swapping the model. No agent converts organization itself into better answers.
- Venue
- arXiv
- Source
- arxiv
- Access
- free
- License
- arXiv perpetual non-exclusive license 1.0
- License family
- Other
- Language
- en
- Purpose
- Systematically study filesystem-based agent memory: whether agents can keep a growing store organized and whether organization pays
- Scale
- LoCoMo 158 Qs; PersonaMem 32k/128k; REALTALK 85 Qs; ALFWorld 140 tasks; gpt-5.4 nano/mini/full builder ladder
- Used for
- Unknown
- Time period
- 2026 (arXiv 2607.26637)
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Jul 29, 2026
- arXiv categories
- cs.CL, cs.AI
- Author comment
- 59 pages, 12 figures, 18 tables
- Citations
- 2
- References
- 0
Abstract (from 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.
Tags
Topics
LLM agents, memory systems
Research notes
- Primary: arxiv abs. UIUC/UCSD/UC Merced/Adobe/TAMU. Discord posted PDF link.
Similar entries
- Paper Zero-Mem: Zero-Token Memory Operations for LLM Agents
- Paper Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- Paper Metis: Memory Foundation Model
- Code Agent Memory Repo (Cognition) — open spec for persistent agent memory
- Paper Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning
- Paper PhantomEnvironments: Training LLM Agents in Fictional Worlds