02
NEXUS
Local-first memory for coding agents. It remembers the project, maps what an edit is about to break, and will not record a test pass it did not watch happen.
- Role
- Solo: product, build, tests, docs, release
- Stack
- Python · SQLite · MCP
- Year
- Nov 2026 → ongoing
- Status
- Open source, MIT
Context
Every coding session starts from zero. The agent re-reads the same files, re-derives the same constraints, and re-opens a decision the team settled six months ago, because nothing carried from one session to the next.
Two smaller failures sit underneath that one. The agent edits a file without knowing which four modules import it. And it reports that the tests pass without having run them.
I wanted all three fixed without sending anything to a model provider. A codebase is the asset; shipping it off the machine to buy a memory feature is a bad trade, and for a lot of teams it is not a trade they are allowed to make.
Approach
- 01
Project facts are stored as Markdown with a confidence grade and a source reference, so any claim can be traced back to the line that justifies it. Retrieval runs two ways: keyword search, and traversal of a parsed code graph held in SQLite.
- 02
Before an edit, a plan call returns the blast radius: dependents found through parsed imports, plain-text references, the tests that cover the file, and optionally a language server for the cases a parser misses.
- 03
After an edit, the verify gate runs the diff, a secret scan, the linter, the type checker, a vulnerability check, an API-break check and the test suite. It records only what it observed, because there is no code path that writes a pass it did not watch.
- 04
The whole product is one loop — recall, plan, edit, verify, remember. It ships three ways from the same core: an MCP server exposing five tools, a CLI, and an agent skill that installs into Claude Code, Cursor, Codex and around sixty other agent directories.
- 05
Nothing leaves the machine and no model is ever called, so the cost of running it does not scale with the size of the repository.
Results
- automated tests
- 302
- MCP tools exposed
- 5
- model calls, ever
- 0
Stack
- Python
- SQLite
- MCP
- CLI
- SQL
- Pytest
Architecture sketch: NEXUS
OPTI-RECOURSE
DATA INTELLIGENCE ENGINE