This is Part 7 of 7 in the Productivity Enhancement Series
- Part 1 — Foundation: The Productivity Stack · The Enemy of Productivity
- Part 2 — The Physical Layer: The Machine and the Room
- Part 3 — The Workflow Engine: The Workflow Engine · The Self-Improving Workflow
- Part 4 — The Knowledge System: PARA · Progressive Summarisation · The Operating System
- Part 5 — The Tactical Toolkit: The Tactical Toolkit
- Part 6 — JIT Project Management: Just-in-Time Project Management
- Part 7 — AI as a Worker (3 sub-articles):
- Part 7.0: The Agentic AI Framework (the pipeline)
- Part 7.1: From Chat to Continuous Worker (the four levels of the harness)
- Part 7.2 (this article): Persistent Memory (markdown files as the agent’s long-term state)
Table of Contents
- Why an autonomous agent needs memory
- The answer is plain text
- Why Obsidian, specifically
- How the memory is structured
- The loop closes: your vault is the agent’s vault
- The whole stack on one page
- Series Takeaways
- Your Persistent Memory Task List
- Sources & references
Why an autonomous agent needs memory
Part 7.1 described a Level 4 agent that runs continuously. But there’s a problem that level forces you to confront: a model's context window is short-term memory, and it gets wiped. An agent that forgets everything between runs can’t be a real worker, the way a colleague with no memory of yesterday couldn’t hold a job. To run autonomously across days, an agent needs persistent state: a long-term memory that survives every session. This final article is how you give it one, and it turns out to be the same thing you’ve been building all series.
The answer is plain text
The memory system doesn’t need a database or a vector store to start. ==The most robust agent memory is a folder of Markdown or plain-text files.== The agent reads them at the start of a run to remember, and writes to them at the end to record what it learned. Disk, not RAM. The same move as the self-improving workflow, scaled from “remember my formatting preference” to “remember everything about my world.”
Plain text wins for unglamorous reasons that matter over years:
- The LLM reads and writes it natively. Markdown is just structured text, which is exactly what these models are best at producing and parsing. No translation layer.
- You can read it too. The agent’s memory is a folder you can open, audit, and edit by hand. Nothing is locked in an opaque format.
- It’s durable and portable. Plain text outlives every app. A memory you can still open in ten years is a memory worth building.
Why Obsidian, specifically
A pile of text files is memory; it’s just not organised memory. This is why many people building agent memory reach for Obsidian:1 it’s a Markdown editor whose defining feature is bidirectional linking. Every note can link to others with [[wiki-links]], and every note shows what links back to it.
That matters for an agent for a precise reason: ==bidirectional links turn a flat folder of facts into a graph the model can traverse.== When the agent reads a note about a project, the links carry it to the related people, decisions, and history without you having to anticipate and stuff all of it into one file. The structure that makes Obsidian good for your maps is the same structure that makes it good for an agent’s memory: clean formatting it can write, and links it can follow to assemble context on demand.
How the memory is structured
A simple, durable pattern (the one behind this very blog’s drafting memory):
- One fact per file. Each memory is a small file holding a single thing: a preference, a project’s state, a decision and why it was made. Small files are easy for the agent to write precisely and update without disturbing everything else.
- A light index file at the top level, one line per memory, that the agent loads every run to know what it knows. The index is the table of contents; the files are the content.
- Links between related memories, so reading one pulls in its neighbours.
- A type on each memory (a fact about you, a piece of feedback, a project’s status, a reference), so the agent knows how to treat it.
The discipline mirrors map-refinement exactly: before writing a new memory, check whether one already covers it and sharpen that instead of duplicating. A memory base, like a note vault, dies of duplication and staleness if you only ever add. The agent prunes and merges, the same way you maintain a map.
The loop closes: your vault is the agent’s vault
Here’s the resonance the whole series was building toward. Look at what an agent’s memory needs: organised by relevance, linked, summarised, retrievable, maintained. Now look at the Knowledge System you built in Part 4: organised by actionability, linked and summarised into maps, retrievable by RAG, maintained by refinement. They are the same system.
This is why the stack is a loop and not a ladder. Your knowledge system is your second mind; it’s also the memory of the agent that works for you. The Markdown vault where you keep your maps is the Markdown vault the agent reads to know your world and writes to record what it did. You and your agent end up sharing one brain, made of plain text, that you can both read. That is the deepest version of the Operating System idea: not a brain that stores, and not even a tool that acts, but a shared memory that you and your workers think with.
The whole stack on one page
Seven parts, one machine. From the ground up:
- The Physical Layer (2.0) gives you a machine and a room that don’t fight you.
- The Tactical Toolkit (5.0) gives you literacy and AI-as-interface, the highest hourly return in the stack.
- The Workflow Engine (3.0, 3.1) catches every commitment and sharpens itself with every correction.
- The Knowledge System (4.0, 4.1, 4.2) organises what you know and turns it into tools that act.
- JIT Project Management (6.0) pulls projects and learning forward only on real demand.
- AI as a Worker (7.0, 7.1, 7.2) hands proven processes to agents that run on their own, remembering your world in the same vault you do.
The fundamentals never changed. AI just raised the ceiling on every layer, and a shared plain-text memory is the hinge that lets your second mind and your agents become one system.
Series Takeaways
- A model’s context window is short-term memory that gets wiped; an autonomous agent needs persistent state to be a real worker.
- The most robust agent memory is a folder of Markdown / plain-text files: the model reads and writes it natively, you can audit it, and it outlives every app.
- Obsidian suits it because bidirectional links turn a flat folder into a graph the model can traverse to assemble context.
- Structure it like a map: one fact per file, a light index, links between memories, and refinement over duplication.
- The loop closes: ==your Knowledge System and your agent’s memory are the same plain-text vault.== You and your workers share one brain you can both read.
- The whole stack: a machine that doesn’t fight you, literacy, a self-sharpening workflow, knowledge that acts, projects pulled on demand, and agents that remember. Fundamentals unchanged; AI raised every ceiling.
Your Persistent Memory Task List
To finish the series
- Start a memory folder for your main AI assistant: a few Markdown files of standing facts about you and your work, plus a one-line index.
- Use your existing Obsidian vault as the substrate rather than a separate store, so your knowledge and the agent’s memory are one.
- After your next agent run, have it write back one thing it learned, and check that the next run remembers it.
- Practise refinement: when a fact changes, update the existing memory instead of adding a contradicting one.
- Look back over the whole stack and name your weakest layer. Productivity is built bottom-up; fix the lowest broken layer first.
Sources & references
Footnotes
-
Obsidian is a local-first Markdown knowledge tool whose core feature is bidirectional
[[wiki-links]]and a backlink graph. Because its files are plain Markdown, the same vault serves equally as a human knowledge base and as readable/writable long-term memory for an LLM-based agent, which is why it is a common substrate for persistent agent memory. The “one fact per file plus a light index, maintained by refinement” pattern described here mirrors the memory system used to draft this series, and parallels the map-refinement discipline from Part 4. ↩