GrayMatter

Single-binary agent memory in Go with a self-building knowledge graph

Image 1 of 1: Knowledge graph of 1,750 facts and 457 entities in colored clusters, none tagged by hand

A Go binary and library that stores facts in bbolt with chromem-go vectors and serves them over MCP. Recall weighs vector, keyword and recency signals, memory decays on a half-life, and contradictions are resolved by tombstone, never by delete.

  • 83%Recall at 96 sessions
  • ~10 MBBinary
  • 64Tokens per query

Trade-offs

  • bbolt for one file and no service to run. Transactions are ACID, but its exclusive file lock means a daemon has to share the store between processes.
  • Contradictions are tombstoned, never deleted. Retrieval stops serving a stale fact beside its correction, while the history stays.

Q&A2

Only tokens saved against full-history injection: eight random facts would score the same. A separate benchmark measures quality, and finds a fact planted 96 sessions ago 83% of the time, where a sliding window finds 0%.

Reviews

Loading reviews

    More in Agent memory

    See all 14 →
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • CompartmentEncrypted, fully offline memory vault for AI agents
    • YourMemoryLocal agent memory that decays on a forgetting curve and consolidates facts
    • MenteDBRust storage engine built for AI agent memory
    • AgentRecallLocal-first agent memory built around a ledger of corrections

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • DeftSelf-hosted workspace shared by people and AI agents
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock

    More in MCP

    See all 53 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • PageSiftSelf-hosted Rust binary that turns URLs and documents into Markdown or JSON
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory
    • PandaWardLocal application security assessment that reports what it couldn't decide