mnemo

•
5
•

Provide self-hosted long-term memory and context recall across sessions for AI agents using local embeddings and ClickHouse.

mnemo is a self-hosted long-term memory engine for AI coding assistants and agents, including Claude Code, Codex, and generic Model Context Protocol clients. Built with a high-performance Rust core and backed by ClickHouse, it captures conversation turns, distills decisions and facts, and tracks evolving information without overwriting past history. Fast in-memory ranking and local CPU embeddings allow relevant context, decisions, and rationale to be injected into future turns in milliseconds without requiring extra generative LLM round-trips for retrieval.

Key Features

01Self-hosted privacy-first architecture using a single Rust binary, ClickHouse, and local CPU embeddings
02Context tracking that remembers the 'why' and 'how' behind project decisions alongside original source episodes
03Conflict judge mechanism that closes superseded memories instead of erasing contextual history
04Sub-50ms hybrid semantic and keyword retrieval in RAM without generative LLM inference calls
05Turnkey integration via HTTP/stdio MCP endpoints and dedicated hooks for Claude Code and Codex
065 GitHub stars

Use Cases

01Carrying architectural decisions, tech stack choices, and coding guidelines across multiple AI coding agent sessions
02Tracking evolving requirements and business logic changes without manual context prompting
03Providing centralized, scoped memory accessible by multiple agent interfaces and developer workflows simultaneously