What this is about
BrainNet is our memory system for AI agents. Underneath, it is very simple. It is a folder of notes. Each note is a small text file with a date. Notes point at other notes with links.
That is all you need to start. This article explains why those two habits, dates and links, are enough to turn a folder into something an agent can search well. Other parts of the BrainNet series measure how well it works. This one is for people who have never heard of it.
Why it matters
An AI agent starts each session with an empty head. It does not remember yesterday. If your project has any history, from a fault you fixed last month to a choice you made last week, the agent only benefits if that history is written down and easy to find.
Writing it down is the easy half. Finding it is the hard half. A pile of two thousand notes is no better than no notes, if the agent has to guess which one to open.
Links and dates are how a pile becomes a map.
How it works
Step 1: one note, one thing
Each note records one thing that happened. For example: "Fixed the audio click by raising the buffer to 512 samples." It has a date in its name or header. It is never rewritten later. If the situation changes, you write a new note and link back to the old one.
Why never rewrite? Because dates let you tell what was true when. An old note that says "we use method A" is still correct as history, even if a newer note says "we moved to method B."
Step 2: add links
At the bottom of a note, a short "Related" section lists other notes it connects to. In our Brain notes this is a plain list of links in double square brackets, naming each note by path. A link is a promise from the author: "if you care about this note, you probably care about that one too."
Step 3: read the folder as a network
Now imagine each note as a dot, and each link as a line between two dots. That is a graph. In our system we call a note a neuron and a link a synapse, borrowing the words from the brain. A neuron is a place where information sits. A synapse is a path between two places.
We built BrainNet to read our whole vault this way. Our post "A Note Is a Neuron" describes how it merges notes, papers, code and docs into one network. As of that post, the merged network held 1,640,443 neurons.
Step 4: ask a question, light a neuron
When you ask a question, the system first finds notes whose words or meaning match it. Those lit-up notes are the starting points. The network then looks at their neighbours, the notes they link to, and lets some of the light spread outward. A note that never used your exact words can still be found if it sits one link away from a note that did.
How that spread works and how far it should go are the topic of a later article in this series, "How a search finds the right note."
A small worked example
This example is invented, to show the idea.
Say you write a note today: "Fixed the audio click by raising the buffer to 512 samples." In its Related section you link the note about the audio module.
Next week, someone asks, "Why does the sound pop?" The word "pop" is not in your note. Plain word search misses it. But meaning search finds it, because a click and a pop are close in meaning. And from your note, one link away, sits the audio module note, which the question never mentioned. The agent may find that one too.
That second step is the promise of the network. Whether it helps in practice is something we measured, and the honest answer is "sometimes, and not where we first hoped." The later parts of the series give the numbers, including the ones that did not go our way.
What this is not
It is not a database you query with special commands. It is not a chatbot's memory that you cannot read. The notes are plain text files. You can open them with any editor, search them with any tool and copy them to another machine. The network is built from them, not the other way round.
It is also not magic. A link only helps if someone wrote it. Where a note has no links at all, our build wires it to its nearest similar notes, so nothing is left alone. But a human link, written with intent, beats a guessed one.
One home for each fact
One more habit makes the network work: each fact lives in one place. The vault holds what happened, with dates. How the code works today lives in the project's own documents next to the code. Notes link to those documents and do not copy them.
Why does this matter for a network? If one fact lives in three notes, three neurons answer a question and two of them may be out of date. With one home, the links do the joining and every answer points to the same place.
Glossary
- Vault: the folder of notes.
- Note: one small text file recording one thing, with a date.
- Link: a pointer from one note to another. We write it as a name in double square brackets.
- Graph: dots joined by lines. A way to draw things and their connections.
- Neuron: our word for one note, or one chunk of a code file, in the network.
- Synapse: our word for one link between two neurons.
- Embedding: a list of numbers that stands for the meaning of a piece of text, so a program can compare meanings.
Try it
- Read the series. Our blog holds the BrainNet series. Start with "A Note Is a Neuron," then "How Agents Use the Network." They show the idea on our real vault.
- Do the habit by hand. Make a folder called
notes. Write three short notes in Markdown, one per thing you did this week, each named with today's date. At the bottom of each, add a "Related" list that links to the others where they connect. You now have a three-neuron network. - Next step. Our article "Starting your own linked note vault, step by step" turns that exercise into a routine.

Kommentare
Noch keine Kommentare.
Anmelden um zu kommentieren.