Supermemory
活跃简介
极速可扩展的 AI 时代记忆引擎,为 AI 应用提供统一的 Memory API,支持大规模知识存储与高效检索。
核心特性
- 对话记忆提取 — 自动从对话中提取事实,处理时间变化和矛盾信息
- 用户画像构建 — 自动维护用户偏好、项目和近期活动的上下文摘要
- 混合搜索 — RAG和记忆搜索合一,知识库文档与个性化上下文一起检索
- 连接器生态 — 支持Google Drive、Gmail、Notion、OneDrive、GitHub自动同步
- 多模态提取 — 处理PDF、图片OCR、视频转录、代码AST感知分块
- MCP集成 — 通过MCP服务器为Claude、Cursor等AI工具提供持久记忆
适用场景
💡 为AI助手提供跨对话的持久记忆,记住用户偏好和项目上下文
💡 构建个人知识大脑,自动整理和检索过往对话中的关键信息
💡 为AI Agent注入实时用户画像,实现个性化响应
💡 连接外部数据源(Gmail、Notion等)构建统一知识库
💡 通过MCP协议为Cursor/Claude Code等编码工具添加项目记忆
分类
快速开始
npm install supermemory
import Supermemory from 'supermemory';
const client = new Supermemory();
// 存储对话记忆
await client.add({
content: 'User prefers functional TypeScript patterns',
containerTag: 'user_123',
});
// 获取用户画像和相关记忆
const { profile, searchResults } = await client.profile({
containerTag: 'user_123',
q: 'What programming style does the user prefer?',
});
console.log(profile.static); // 长期事实
console.log(profile.dynamic); // 近期上下文