NexusMem
A local memory tool for coding agents that indexes shell command history with exit codes, git commit history down to the diff, and project docs into a local SQLite database, then serves back a ranked, token-budgeted slice on demand.
NexusMem records what actually happened on a developer's machine -- shell commands and their exit codes, git history down to the patch of each changed file, project docs, and optionally assistant transcripts -- into a local SQLite database, and serves back a ranked, token-budgeted slice of it on request. Everything stays on disk, with no account, cloud service, or telemetry involved.
The project's premise is that git tells an agent what shipped, but not what was attempted and failed along the way; shell history captures the commands that did not work and in what order, information that otherwise disappears once terminal scrollback rolls over. Each stored item carries a provenance tag distinguishing a directly observed event, such as a commit, from a written claim, such as a doc section, that could go stale.
Running npx nexusmem init and npx nexusmem sync inside a git repository builds the index; assistant transcripts are off by default and only indexed when explicitly enabled, since they are the likeliest place a pasted credential could be sitting. It requires Node 22 or newer and git.