Memento banner
ddong8 ddong8

Memento

AI community

Description

A shared brain for your AI coding tools — collects conversations, plans and memory from Claude Code / Cursor / Codex / Obsidian / Antigravity, self-hosted, cross-device, MCP-ready

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Memento

**给你的 AI 工具建个共享大脑**

跨设备、跨工具自动采集 AI 编程对话与记忆,自建后端汇总,Web + MCP 统一查看、搜索、召回。

[![License: AGPL v3](https://img.shields.io/badge/license-AGPL--3.0-blue.svg)](LICENSE) [![Python ≥3.10](https://img.shields.io/badge/python-≥3.10-blue.svg)](#技术栈) [![Next.js 16](https://img.shields.io/badge/next.js-16-black.svg)](#技术栈) [![PyPI - memento-brain](https://img.shields.io/pypi/v/memento-brain?label=memento-brain)](https://pypi.org/project/memento-brain/) [![PyPI - memento-brain-collector](https://img.shields.io/pypi/v/memento-brain-collector?label=collector)](https://pypi.org/project/memento-brain-collector/) [![PyPI - memento-brain-memory](https://img.shields.io/pypi/v/memento-brain-memory?label=mcp-memory)](https://pypi.org/project/memento-brain-memory/)

[快速开始](#-快速开始) · [架构](#️-架构) · [支持的工具](#-支持的-ai-工具) · [自部署](#-自托管部署) · [MCP 接入](#-mcp-记忆服务)

🌐 **Languages**: [中文](README.md) · [English](README.en.md)


✨ 它能做什么

  • 🧠 跨设备同步对话 — Mac / Linux / Windows 上的 Claude Code / Codex / Cursor / Antigravity 等工具,聊过的内容统一汇总
  • 🔍 混合检索 — BGE-M3 向量 + jieba 分词的全文索引,中英文都能搜
  • 🕸️ 知识图谱 — LLM 自动从对话抽实体(项目 / 工具 / 技术 / 人物 / 概念)、关系、观察;超过 7 天的老观察自动压缩成 summary
  • 🔗 MCP 接入 — 8 个 tool(找:memory_search / memory_recall / memory_context;钻:memory_open / memory_conversation / memory_graph;写:memory_store;总览:daily_summary)外加 4 个 resources;任何 AI IDE 都能直接查、读、改你的记忆
  • 📅 AI 日报 — Celery 每天 23:30 跑两阶段:先为每篇文档生成摘要,再聚合成跨工具每日 digest
  • 🔒 入队前脱敏 — Collector 本地就过 14 类密钥正则(OpenAI / Anthropic / GitHub / Slack / Telegram / AWS / Bearer / 私钥 / URL 内嵌凭证 …),磁盘上 SQLite 队列也安全
  • 🌐 公开分享 — 项目时间线 / 日报一键生成 share 链接,带 GeoIP 访客统计、有效期、随时撤销
  • 🛡️ 完全自托管 — Docker Compose 一键起,Postgres + Redis + MinIO 全在你机器上,数据不出门
  • 🔐 多租户隔离 — 多用户独立空间,owner / admin / viewer 三级角色 + 细粒度授权 + 审计日志
  • 守护进程级 — 设备上跑成 launchd / systemd / Task Scheduler,断网离线队列、自愈重试

🏗️ 架构

graph TB
    subgraph DEV["📱 用户设备 Mac/Linux/Windows"]
        direction LR