Back to directory

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

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.

More in Agent memory

See all 450
  • A long technical guide to AI agent memory: why stateless LLMs need it, the different memory architectures from vector stores to knowledge graphs, and how Cognee implements one as an open-source memory layer.

  • A local, file-based long-term memory layer for a personal AI that never summarizes conversations, keeping every line with a timestamp and searching by time first and words second, rather than retrieving only similar-seeming chunks.

  • NEOTH

    deepwiki.com

    A local-first personal AI daemon in Rust with five memory tiers, consent-gated tools, a WASM plugin sandbox, multi-provider model routing and signed audit logs, aimed at people who want both a daily assistant and a serious coding helper.