DevBrain
Persistent developer memory for you and your AI agents. Your coding agent writes down what it fixes and decides as it works, and reads it back before the next task — so it already knows what broke before, what was decided, and why. DevBrain notices when something worth keeping happened, stores it, and ranks it back; it needs no AI service of its own.
The hosted demo is retired. It ran an older build against a database that
is no longer reachable, so it answered some requests and not others — which is
worse than not being there, because what it showed was not what this repo does.
Install the plugin below instead: one command, on your own machine, no cloud
account.
DevBrain still deploys to Cloud Run — the Dockerfile and the HTTP transport are
here and tested. There just is not a public instance to point at.
The dashboard, running locally — /devbrain:dashboard, or node plugin/dist/mcp.js --serve.
How it works
The agent writes; DevBrain stores. The coding agent that did the work already holds the whole story in its context — the error, the dead ends, why the fix works. It states that better than any second model reading a transcript afterwards, so it writes every entry, through the save_entry MCP tool or devbrain note. What agents lacked was a trigger they could not forget, so DevBrain supplies the triggers, mechanically and without a model:
- Session start — the project's memory is put into the agent's context.
- When you describe a problem — your own words are searched against memory before the agent starts work. Most debugging begins with a sentence, not a stack trace, and that sentence is the best description of the problem anyone writes all session.
- When a command fails — the error is matched against what is stored and a hit is handed over unasked, in the moment the agent would otherwise press on. Installed for every tool, not just shells: a production error is usually found by reading it — a log query, a database probe — and those are often not shell commands at all.
- After each turn — DevBrain reads the transcript locally. If the turn resolved an error or made a stated decision and nothing was saved, it asks the agent once, showing it the error text and the files involved. The agent writes the entry; routine turns cost nothing.
- Past work — commits and sessions from before DevBrain was installed are handed over with
devbrain backfill, in batches the agent reads and saves from.
Writing was never the hard half. Three of those five triggers exist to make memory get read, because an agent absorbed in a bug does not stop to search — and a memory nothing reads back is a diary.
The memory compounds. An entry retrieved across multiple projects gets flagged as a cross-project pattern and surfaces in every future context load. Confidence rises only on independent evidence — the same knowledge recurring in a second project, or a person confirming it — never just because DevBrain read it back.
The dashboard
--serve puts the whole store in a browser at http://localhost:8080:
- Entries — a list beside a detail pane, so reading one entry never loses your place in the list. Each row carries its type, category, age, how it was captured, and how often it was shown against how often it actually caught a failure.
- Four counts across the top — active, caught a failure, never surfaced, retracted. Side by side on purpose: "62 entries" is only good news next to "10 have ever caught anything".
- Graph — the same entries drawn, time left to right, a lane per type. A bug and the fix that closed it are linked, so "where did this get fixed" is a place on the picture. Recorded links are solid; inferred ones (same session, same error, nearest in meaning) are dashed, because they are a guess.
- Recall tester — paste a failure, see exactly what an agent would be handed. It is the only way to check the half that matters, and it says plainly when the answer is nothing.
