Markdown Files Are Everyone's Agent Memory Now. Here's Where They Break.
Markdown Files Are Everyone's Agent Memory Now. Here's Where They Break. Ask a room of people who run coding agents how their agent remembers anything between sessions, and you will hear the same answer in different fonts. A CLAUDE.md. A PLAN.md. A notes file in the repo. Somebody always says some version of: it's just markdown, it works, why would I pay for anything else. They are not wrong. That is exactly why the pattern won. A text file needs no account, no API key, no migration. It sits i
Markdown Files Are Everyone's Agent Memory Now. Here's Where They Break.
Ask a room of people who run coding agents how their agent remembers anything between sessions, and you will hear the same answer in different fonts. A CLAUDE.md. A PLAN.md. A notes file in the repo. Somebody always says some version of: it's just markdown, it works, why would I pay for anything else.
They are not wrong. That is exactly why the pattern won. A text file needs no account, no API key, no migration. It sits in the repo, it shows up in git history, you can read it yourself at 2 a.m. without opening a dashboard. One developer put the whole philosophy in a line: "Plain ol text files as an agent coordination mechanism will get you really far."
And they do get you far. The problem is where they stop.
The setup everyone converges on
Spend time in the threads where people compare notes and the same architecture keeps appearing, assembled independently by people who never talked to each other.
There is a small always-loaded file, kept ruthlessly short. One person's rule: "can the agent get this back, correctly, from the repo right now? If yes, it comes out of the notes. A stale copy is worse than none, because the agent trusts the note over the code." Their CLAUDE.md ended up capped at about 40 lines of pointers, with one small file per decision.
Around that core, people bolt on structure. A PLAN.md holding only the top five current items. A two-line DECISIONS.md. An INBOX.md for things that arrive mid-flight. Per-topic pages with a tiny index on top, because, as one user discovered, "markdown breaks when you need a query, we ended up with a tiny index and per topic pages."
The more serious setups add a janitor. A nightly diff job. A hook that makes the agent write one dated line per finished task. A weekly triage session where a human reads the whole pile and prunes it. The most elaborate version I have seen is a shared Obsidian vault hosted on a Raspberry Pi, with a separate "Memory Curator" agent whose whole job is deciding what is worth saving, merging duplicates, and flagging conflicts, so that ChatGPT, Codex, Claude, Claude Code, and an OpenClaw agent all read from the same vault.
Notice what happened. The free text file quietly grew an index, a schema, a retention policy, and a part-time librarian. Nobody planned that. The file forced it.
Break number one: the file cannot tell you what is stale
This is the complaint that shows up more than any other, in almost the same words, from people running completely different stacks: "the first thing it cannot do is tell you which page is stale."
A markdown file has no idea whether the thing it describes still exists. The decision got reversed in a chat three weeks ago. The bug got fixed, then a revert quietly brought it back, and because the note about the bug never made it into the plan file, the agent had no way to know the old problem was live again. One developer's fix was procedural: cut a line when the thing it describes no longer exists, and make every line carry a date. That works. It also turns memory maintenance into a recurring chore that a person has to remember to do, forever.
The deeper issue is trust direction. An agent reads a confident, well-formatted note and believes it. A stale copy is worse than none, because with none the agent at least goes and looks at the code. With a stale copy it skips the looking. Several people described versions of the same failure: the summary says done when it means mostly done, and the founder trusts their own two-line note over the polished session summary, because the two-line note is the one that was true when they wrote it.
Break number two: agents skim, and the file keeps growing
Long files do not get read. They get skimmed. People who watched their agents work noticed that mixing "what to do next" with "why we decided that" in one document is the enemy, because the agent grabs the top, loses the middle, and treats anything written as in-progress as permanent. One user moved their plan out of the always-loaded file entirely after realising that everything in CLAUDE.md gets loaded every single turn, so every stale line in it is a tax paid on every prompt, in tokens and in confusion. Zombie tasks, instructions for features that shipped months ago, still being dutifully considered.
So the file has to stay short. But short means pruned, and pruning is the part nobody enjoys. "The pruning ritual is the expensive part," one person said, and that sentence explains a lot of abandoned memory systems. The file is free. The gardening is not.
Break number three: things that never reach the file
A memory file only knows what somebody typed into it. Requests that arrive by email or Discord never make it in. Bug reports discussed in chat never make it in. Decisions made in a different tool definitely never make it in, because the file does not travel. It lives in one repo, for one tool, on one machine. The moment your work spans Claude for planning, Codex for building, and a scheduled agent running overnight, you have three memories that have never met each other, and you are the sync layer.
This is also where the DIY vault setups strain. The Raspberry Pi Obsidian build is genuinely impressive, and its owner is clear-eyed about why he built it: full control, no extra subscriptions, his data on his hardware. He is also, by his own account, cutting his AI spend at the same time, dropping a $100 a month plan down to two $20 plans. People like him are not refusing to pay for memory because they are cheap. They are refusing because the last thing they want is one more service to keep alive, and because, in his words, "services with APIs and MCP and all that just get in the way for something like this." Any hosted option has to beat that objection on the merits, not on features.
What actually works, honestly
If you run one agent, in one repo, and you are disciplined, markdown is probably enough. Keep the always-loaded file under roughly 40 lines of pointers. One file per decision, each line dated. Prune on a schedule, not when you feel like it, because you will never feel like it. Test every line with the question: could the agent recover this from the code right now? If yes, delete the line.
If your work spans tools, the file needs help. The patterns that hold up are the ones that add the three things markdown lacks: a way to query instead of skim, a way to know which version is current, and a way for the memory to exist in one place that every tool reads. People build that with a curator agent over a vault, or with a small database and a script, or they use a hosted memory layer. Vilix AI is one of those: your tools connect to one account over MCP, retrieval mixes semantic and keyword search so exact strings like order IDs are matched literally, retrieval is recency-aware, and when two tools save conflicting information the most recent save wins, so you correct something once, in one place, and every connected tool sees the correction. It starts at $10 a month, with Pro at $20 a month, and you can export everything in a portable format whenever you want, which matters if the "no more services holding my data hostage" objection is yours. It is not magic, and it will not prune your thinking for you. It removes the gardening and the sync problem, which are the two parts people actually burn out on.
The honest summary is boring, which is usually a good sign. Markdown files are the right first answer and the wrong final one. They break at query, at staleness, and at the boundary between tools, in that order, for almost everyone who leans on them hard enough. You will know you have hit the ceiling when you catch yourself building an index, a curator, and a pruning ritual around a text file. At that point you have already designed a memory system. The only question left is whether you want to be the one who maintains it.