rtk-ai/icm

Permanent memory for AI agents. Single binary, zero dependencies, MCP native.

What it solves

AI coding agents and developer tools frequently forget project details, decisions, and user preferences between sessions or when switching environments, forcing users to constantly re-explain context. ICM prevents this by providing a unified long-term memory layer that is shared across up to 18 different editors and coding assistants.

How it works

ICM operates as a single Rust binary backed by a local SQLite file on your machine, eliminating the need for external cloud services. It recalls relevant context by fusing BM25 keyword matching, semantic vector search via sqlite-vec, and date filters using reciprocal rank fusion. Storing and recalling memories generally requires no LLM calls, though automatic fact extraction from tool outputs can leverage your existing command-line LLM tools or run entirely locally.

Who it’s for

This project is built for developers who use AI coding assistants and CLI agents like Claude Code, Codex, Gemini CLI, Cursor, and Aider, and want a persistent, cross-tool memory that retains project decisions, conventions, and error fixes without repetitive prompting.

Highlights

  • Shares a single SQLite memory file across up to 18 different agents and editors.
  • Operates locally with no mandatory LLM calls required to store or recall memories.
  • Combines keyword search, semantic vector search, and date windows for rapid context retrieval.
  • Automatically injects a wake-up pack of critical memories and relevant prompt context via hooks.
  • Exposes 32 MCP tools, an HTTP API, and a terminal dashboard for full memory management.

Related

  • Project
  • Project
  • Project
  • Project
  • Project