Your notes never leave the machine.
Local, offline search over a folder of Markdown notes, for Claude Code, OpenCode, or any MCP client. An agent asks “how do I verify a fix actually worked?” in the middle of a task and gets back the two or three note sections that answer it, with their source—a few hundred tokens instead of reading every note. In the NullPointer loop it is the security knowledge base Agent-Smith reads from and writes back to.
Meaning search finds the paraphrase. Keyword search finds the exact token. The reranker orders what is left.
What it is
No API keys, no cloud, no telemetry. The only network access is a one-time model download during the first build; every search after that runs offline.
A few hundred lines of Python, two local models of about 152 MB together, and one SQLite file. Nothing to operate.
Edit one note and rebuild: only that note is re-embedded. A watch mode rebuilds on every save, and new notes ingested over HTTP are searchable without a restart.
Ship a question set and the eval reports how often the right section is ranked first and in the top three, so you tune retrieval for your own notes instead of guessing.
The vault
The notes are a plain folder of Markdown with three layers. A journal/ entry per run holds the raw log of what was tried and what happened. refs/ holds a deep-dive per topic. METHODOLOGY.md is the ordered playbook. One rule keeps it honest: a technique earns its place in the methodology only after it worked on a real task. Tag notes in frontmatter and tags become a search filter.
In the loop
Source can serve one vault over a tiny localhost HTTP service, so each engagement or environment gets its own memory. Agent-Smith binds one by name when a scan starts.
Smith consults the bound Source for methodology when it picks a skill, and can query it at any point in a scan. Recall searches Source alongside prior engagement stores. Snippets are treated as data to verify, never as instructions.
What Smith confirms is posted back as structured notes. Source writes them into the vault, rebuilds the index incrementally, and reloads it in place, so the next engagement starts with what this one learned.
The HTTP service binds to 127.0.0.1 on purpose. It has no authentication; keep it off the network.
Quickstart
Requires Python 3.11+ and about 200 MB of disk. It ships as a skeleton: point it at your own notes.
Open source under AGPL v3.0. It only finds what is written down, so write it down.