← 全部工具

majiayu000/remem

AI Agent
热度 75 更新于 AI 与 Agent

Local-first persistent memory for Claude Code & Codex CLI - Rust CLI, hooks, MCP server, SQLite/SQLCipher, auditable recall for long-running coding work.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

remem: Local-first memory for Claude Code and OpenAI Codex

Stop re-explaining your project every new coding-agent session.

Language: English | 简体中文

remem automatically captures, distills, searches, and injects engineering memory across Claude Code and OpenAI Codex CLI sessions. Decisions, bug-fix rationale, project patterns, and preferences stay available through hooks, MCP, CLI, and a localhost REST API.

A new Claude Code session recalls the earlier root cause, commit, and open TODO with memory citations and no re-explaining.

What remem gives you

  • Automatic session capture and background LLM distillation.
  • Project-scoped recall across Claude Code and Codex using one local store.
  • Searchable decisions, bug fixes, architecture notes, preferences, and raw

session evidence.

  • Source attribution, staleness labels, suppression, review queues, and

injection audits.

  • SQLite with SQLCipher encryption by default for fresh installs.
  • MCP, CLI, and authenticated localhost REST access from one Rust runtime.

remem prioritizes memory quality. Automatic capture is the primary path; manual savememory calls supplement it when a decision needs to be recorded immediately.

Install in five minutes

Homebrew

brew install majiayu000/tap/remem
"$(brew --prefix remem)/bin/remem" install --target codex

Use --target claude for Claude Code. --target all configures every known host, including Cursor where its v1 renderer is supported.

Standalone installer

curl -fsSL https://raw.githubusercontent.com/majiayu000/remem/main/install.sh | env REMEM_NO_CONFIG=1 sh
~/.local/bin/remem install --target codex