SuperAPIAI Directory

remem

github.com · AI coding

Local-first memory for Claude Code and Codex: hooks capture sessions and an LLM distills them into SQLite, with auditable full-text and embedding recall.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

remem is a local-first persistent memory system designed for Claude Code and OpenAI Codex CLI, with the goal of eliminating the need for users to repeatedly explain project context to coding agents in new sessions. It automatically captures, distills, searches, and injects engineering memory, covering decisions, bug-fix rationales, project patterns, and personal preferences, and provides access through hooks, MCP, CLI, and a local localhost REST API.

Main capabilities

  • Automatic session capture and background LLM distillation: automatically records during sessions, with a background worker performing extraction, candidate governance, compression, retrieval augmentation, and lifecycle cleanup.
  • Project-level cross-tool recall: Claude Code and Codex share the same local storage, enabling project-scoped memory recall.
  • Searchable memory types: including decisions, bug fixes, architecture notes, preferences, and raw session evidence.
  • Governance and auditing: provides source attribution, staleness labels, suppression, a review queue, and injection auditing.
  • Storage and security: uses SQLite, with SQLCipher encryption enabled by default on new installations.
  • Multi-interface access: MCP, CLI, and authenticated localhost REST all come from the same Rust runtime.

Usage Installation can be done via a standalone installer, using --target claude to configure Claude Code, and --target all to configure all known hosts (including Cursor's v1 renderer support). Codex-related operations follow the CODEX_HOME environment variable, defaulting to ~/.codex. GitHub Releases provides precompiled binaries and checksums for macOS and Linux on x64/arm64. After installation, restart the chosen coding agent and run remem doctor to check the schema, encryption key, database, hooks, MCP registration, worker, and common installation path drift. A healthy installation injects relevant project memory at SessionStart and queues session distillation for persistence at Stop; Codex also uses UserPromptSubmit to capture each prompt and display compact optional memory candidates.

In daily use, remem search is used for retrieval, MCP search provides compact results, get_observations retrievesdetailed information, and raw recall is used only when curated memory lacks exact transcript evidence. raw sessions and raw messages are used to list and read complete host-bound sessions. The project alias feature supports Git worktrees: preview the alias to the main checkout, confirm the path and Git proof, then apply, so that CLI and MCP project searches include the worktree's memory.

Use cases Suitable for long-term, multi-session coding work, especially projects that need to preserve engineering history, decision rationale, and bug-fix context. It supplements rather than replaces the built-in MEMORY.md, CLAUDE.md, and agent instruction files: the latter are suitable for a small number of stable facts, while remem carries engineering history that is too large, dynamic, or evidence-dense.

Limitations and notes

  • Cursor's v1 installer only registers MCP and does not install automatic capture hooks or SessionStart injection.
  • Generated memories are treated as untrusted until they pass source support, secret, instruction pattern, scope, and lifecycle checks; unsafe content is discarded or moved to review.
  • Automatically promoted summary decisions and findings can enter the current context at the original summary confidence level, but require local evidence, the current summary gate, and an exact activation receipt to remain valid.
  • Stale operation states require new evidence to be renewed.
  • Before upgrading to schema v093, a database backup should be kept; older binaries cannot open the upgraded schema.
  • Some features (such as the MCP context_bundle tool and the remem context-plan command) are experimental interfaces.
  • The documentation does not provide complete information on specific charges, pricing, or platform support scope, and none is currently provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools