ai-memory

Persistent memory for MCP clients in one Rust binary over SQLite

Image 1 of 1: ai-memory site with the install command and the deployment options it covers

A Rust binary serves memories from SQLite with FTS5 over MCP, HTTP and a CLI, ranks them at recall and promotes important ones to permanent storage. Postgres with Apache AGE covers multi-writer and graph-heavy deployments.

  • 97.0%R@5 (keyword tier)
  • 232 q/sKeyword tier speed
  • < 50 msmemory_recall p95 goal

Trade-offs

  • SQLite by default for one node and zero ops. One writer at a time caps throughput near 1,000 to 2,000 writes/s; beyond that the Postgres backend takes over.
  • A small default MCP tool surface. The rest of the tools stay reachable through --profile or runtime expansion.

Q&A2

Nothing beyond FTS5: 97.0% R@5 on the 500 LongMemEval-S questions, with no LLM, no embeddings and no cloud API calls.

Reviews

Loading reviews

    More in MCP

    See all 53 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • DeftSelf-hosted workspace shared by people and AI agents
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock
    • PageSiftSelf-hosted Rust binary that turns URLs and documents into Markdown or JSON
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory

    More in Agent memory

    See all 14 →
    • 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
    • OpenLoreShared Markdown knowledge server that agents read with cat, grep and find
    • SibylSelf-hosted knowledge graph shared by every coding agent through a CLI

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS