Documentation Is the Memory Your Business Agents Need
Every agent product is adding "memory" this year: past chats, saved facts, snippets that float up when they look similar to your prompt. For a coding assistant that is a convenience. For an agent that pays invoices, answers customers, or writes incident reports, it is a liability. Similar is not the same as correct, and "what we said three weeks ago" is not the same as "how we do it now."
One of the most-discussed posts on Hacker News this weekend made the point bluntly, and it applies even more to business automation than to code.
The argument: recall is not understanding
In Agents Don't Need Memory. They Need Documentation. (October 3, 2026), Kevin Liao describes how most memory plugins work: mine session transcripts, cut them into snippets, store them in a vector database, and inject the top few by similarity on every prompt. His list of what goes wrong is short and familiar:
- Snippets are ranked by similarity, not by whether they are correct or current.
- Snippets are stored without context: the why, the constraints, the lessons.
- The past is treated as truth, even after the process changed.
- Agents can't search for what they don't know they're missing.
- The store is unauditable: nobody can say which memories are stale or wrong.
His alternative is plain: a structured set of written documents (instructions, specs, decisions, research, indexes) that the agent reads before working and updates after. In his words, the loop changes from prompt → build → forget to prompt → consult → build → update. And the human analogy lands: "No one rewatches a team meeting from 3 years ago to remember constraints around a feature." People write things down.
Similar is not true
A vector store tells you what is close to the question. A process document tells you what the business has decided. Your agents should act on the second.
Why this matters more for ops than for code
A coding agent with a wrong memory produces a wrong commit, which tests and review can catch. An ops agent with a wrong memory refunds the wrong customer, applies last quarter's discount policy, or tells a supplier the old payment terms. There is often no test suite between the agent and the consequence.
Business processes also change on a schedule code doesn't: pricing moves, approval thresholds change, a vendor is offboarded, a new regulation lands. A memory system that remembers last month confidently is exactly the wrong tool when last month is the problem.
The pattern is already showing up in practice. On X, one builder described an agent that writes outage write-ups and kept inventing details, such as a warning email that never happened and the wrong day. The fix wasn't more memory; it was a facts file the agent reads before writing. Another keeps an AGENTS.md plus a progress file the agent must update after every step: no vector store, no embeddings, just markdown it reads before it touches anything.
What to write down (and what not to)
The fair worry is that "write everything down" becomes a sprawling wiki nobody trusts. Ali Süleyman Topuz's Medium piece (October 4, 2026), building on Volodymyr Vreshch's setup, gives a sharp admission rule: write down only what the model got wrong, or could not have known. The model already knows what an invoice is. It does not know that your team never issues credit notes without the account manager's sign-off, or that "Gateway" is the name of a customer, not a system.
For a business agent, that delta usually falls into four buckets:
Policies and thresholds
Refund limits, discount rules, approval amounts, data-handling rules. Short, versioned, with an owner and a last-reviewed date.
Runbooks for repeat work
Month-end close steps, onboarding a customer, triaging a support ticket. Written as the steps a careful new hire would follow, including where to stop and ask.
Decision log
What was decided, when, by whom, and why. This is the context a snippet throws away, and the thing an agent most needs when a case doesn't fit the runbook.
Facts the agent can't infer
Internal names, key accounts, systems of record, who owns what. The things that make the agent sound like it works here.
Topuz also quotes Vreshch's test for whether something counts as memory at all: "If you cannot grep it, diff it, and delete a line from it, it is not your memory. It is somebody's cache of you." For a business, that is also an audit requirement. You want to know exactly what your agent was told when it made a decision.
The honest objections
The Hacker News discussion didn't simply agree, and the pushback is worth designing for:
- Docs go stale too. Several commenters said their markdown decision docs became a problem once they drifted from reality. Staleness doesn't disappear when you switch from embeddings to files; it just becomes visible.
- Knowing what to read is still hard. One commenter pointed out that an agent consulting a document library still has to decide which documents are relevant, the same "can't search for what you don't know" problem.
- Writing it down isn't enforcing it. Another noted that instructions are routinely ignored, and that deterministic checks (lint rules whose error messages explain the fix) work better than prose alone.
- Token cost grows. Reading, updating, and refreshing documents on every task gets expensive as the library grows.
None of these argue for going back to opaque recall. They argue for treating documentation like any other production system: small, owned, indexed, reviewed, and backed by hard checks where the stakes are high. One commenter's split is a useful default: ephemeral notes the agent can scribble freely, and permanent knowledge that must be stable and only changes through review.
How to set it up in your next automation
- Start with one process. Pick a workflow you already automate or want to, such as invoice exceptions, support triage, or lead qualification. Don't try to document the company.
- Write the delta, not the textbook. Capture the rules, thresholds, names, and past decisions the model can't know. Skip anything a smart generalist would already assume.
- Keep one index. A short table of contents that says which document covers what, so the agent (and a new hire) can find the right page without guessing.
- Make "consult, then act, then update" part of the job. The agent reads the relevant pages before acting and proposes updates after, when something was missing or wrong.
- Route updates through review. Agent-proposed changes to policies or runbooks go to the process owner, the same way a code change goes through a pull request. Notes can be free; knowledge needs a reviewer.
- Back the critical rules with checks. If a refund over a limit must never go out without approval, enforce it in the tool or workflow, not only in the document.
- Date and own every page. An owner and a last-reviewed date turn "is this still true?" from a guess into a routine.
The payoff goes beyond better agents. A business that writes down how it works onboards people faster, survives staff changes, and can explain its decisions to auditors and customers. Agents just make the cost of not doing it impossible to ignore.
Want help turning one of your processes into documentation your agents (and your team) can actually run on? Get in touch.
Sources
- Agents Don't Need Memory. They Need Documentation. — Kevin Liao (October 3, 2026)
- Agents don't need memory, they need documentation | Hacker News discussion
- Your Agent's Memory Shouldn't Be a Vector Database. It Should Be a Markdown File. — Ali Süleyman Topuz, Medium (October 4, 2026)
- Outage write-ups and a facts file — @0xsacreddev on X
- AGENTS.md plus a progress file — @localjulius on X
