logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·30.10.26
← Back to news

Agents don't need memory, they need documentation

Original article
liao.gg|302 points|175 comments|by kmeh|Oct 3, 2026

Agents don't need memory, they need documentation

Core Thesis: The current industry obsession with "AI memory" is a misguided attempt to solve a context problem with a retrieval tool. Agents don't need to remember the past; they need a structured way to document the present.

The Illusion of "Memory"

Most modern "memory" features are simply a thin wrapper around a vector database. The process is predictable and flawed:

  1. The system generates ≈1,000\approx 1,000≈1,000 fragmented snippets from your history.
  2. These are shoved into a vector store.
  3. Every time you prompt the agent, it retrieves the top 5 "most similar" pieces.
  4. If the agent remains confused (which happens often), it triggers a manual search.

This isn't memory; it's a RAG (Retrieval-Augmented Generation) lottery. You are essentially gambling that the right snippet will float to the top of the search results to explain why a feature exists or what was previously agreed upon.


The RAG Architecture Trap

Every memory plugin follows the same basic blueprint:

Some developers try to "fix" this by adding complexity:

  • Multi-tier systems: Categorizing "short-term" vs "long-term" memory.
  • Background Daemons: Automated processes that merge or deduplicate snippets.
  • Literal Search: Allowing the agent to grep through old transcripts.

These are just token-burning features distractions that fail to address the underlying architectural flaw.

The Failure of Recall

The fundamental problem is that these tools rely on similarity search (embedding space). When you rely on recall, you lose the "connective tissue" of a project:

  • The "Why": Motivations and design decisions.
  • The "How": Environmental constraints and lessons learned.
  • The "Now": The current state of a rapidly evolving codebase.
FeatureRAG-Based MemoryDocumentation-Based Memory
MechanismSimilarity Search (Embeddings)Structured Reading/Writing
ContentFragmented conversation snippetsSpecs, Indexes, and Instructions
AccuracyDecays as codebase changesUpdated in real-time by the agent
TransparencyBlack box (Vector DB)Human-readable Markdown
Logic"What did we say 3 months ago?""What is the current requirement?"

"Agents forget; therefore, we must help them remember better." This is the wrong assumption. Humans don't re-watch a meeting recording from three years ago to understand a current technical constraint; they read the documentation.


The Documentation Paradigm

We already know agents need context—hence the rise of AGENTS.md files. However, a single file isn't enough. An agent needs a structured workspace (a "brain") where it can autonomously maintain:

  • Instructions: How the code review process should function.
  • Specs: Detailed records of user requirements.
  • Research: Notes on foreign APIs or libraries.
  • Indexes: Maps of the codebase for faster navigation.

The Shift in the Agentic Loop

We are moving from a linear process of forgetting to a cyclical process of refinement.

Old Workflow: Prompt→Build→Forget\text{Prompt} \rightarrow \text{Build} \rightarrow \text{Forget}Prompt→Build→Forget

New Workflow: Prompt→Consult Brain→Build→Update Brain\text{Prompt} \rightarrow \text{Consult Brain} \rightarrow \text{Build} \rightarrow \text{Update Brain}Prompt→Consult Brain→Build→Update Brain


Real-World Application: Operator Memory

After struggling with AI session persistence, I moved away from RAG and toward a folder-based system (initially an internal/ directory). This evolved into a tool called Operator Memory.

Instead of background "dreamers" or "curators," Operator Memory gives the agent a Markdown-based brain. The agent's operational checklist looks like this:

  • Consult: Read relevant specs and indexes before starting.
  • Execute: Perform the coding task.
  • Refine: Update stale documents.
  • Expand: Create new documentation for new patterns.

Because everything is stored in plain Markdown, the "memory" is something you can actually git commit, review, and share with your human teammates.

Try it out: https://github.com/aerovato/operator-memory