supermemory
Memory serverOfficial supermemory project
Created by supermemory
Published in supermemoryai/supermemory. Publisher page
31,593 GitHub stars
What it is
Memory and context engine + app that is extremely fast, scalable, and can be run fully locally. The Memory API for the AI era.
AutoGineer overview, from the brain’s own files
Supermemory is a memory and context layer designed to give AI agents persistent knowledge across conversations. It functions as a memory graph that automatically extracts facts, tracks temporal updates, resolves contradictions, and manages user profiles. The system supports hybrid search, combining RAG-based document retrieval with personalized memory recall. It includes connectors for external data sources like Google Drive, Notion, and GitHub, and provides multi-modal extraction for files including PDFs, images, and code. Supermemory can be deployed as a hosted service or run locally as a self-contained server.
How it works
Memory model: Hybrid
AutoGineer overview, from the brain’s own files
Supermemory operates by extracting facts and preferences from user interactions and storing them in a structured memory graph. It maintains user profiles by combining stable facts with recent activity. When queried, the system performs a hybrid search that retrieves both relevant document chunks and personalized memory context. It supports automatic synchronization with external services and processes various file types into searchable data. The system is accessible via an API or through plugins and MCP servers for various AI assistants.
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 11 |
| packages | source-code | 311 |
| skills | agent-instructions | 8 |
| apps | folder | 598 |
The agent writes
- .github/workflows/ evidence: AGENTS.md
Requirements
Runtimes: Node.js >=20, Bun
Databases: PostgreSQL
API keys (by name): OPENAI_API_KEY
Works with: Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Amp, Cline, JetBrains Junie, Devin (ex-Windsurf)
Set it up
This brain runs code automatically: 2 scripts. Review README.md before opening the folder in Claude Code. No step below turns a hook on for you.
README.md:curl -fsSL https://supermemory.ai/install | bashREADME.md:curl -fsSL https://supermemory.ai/install | bash
Add supermemory to .mcp.json:
{ "mcpServers": { "supermemory": { "type": "http", "url": "https://mcp.supermemory.ai/mcp" } } }Or add it with the Claude Code CLI:
claude mcp add --transport http supermemory https://mcp.supermemory.ai/mcpYour data is sent to mcp.supermemory.ai.
Created by supermemory. Published in supermemoryai/supermemory. Licence: MIT License.
Usage
AutoGineer overview, from the brain’s own files
- Integrate persistent memory into AI coding agents like Cursor or Claude Code.
- Build AI applications that require user-specific context and long-term memory.
- Sync external knowledge bases from tools like Notion or GitHub into an agent's context.
- Run a private, local-first memory server for offline AI workflows.
- “What programming style does the user prefer?”
- The system returns the user's stored preference, such as 'prefers functional patterns', retrieved from their profile.
- “How do I deploy?”
- The system performs a hybrid search, returning both relevant deployment documentation and the user's specific deployment preferences.
Documentation by supermemory
<p align="center"> <picture> <source srcset="apps/web/public/logo-fullmark.svg" media="(prefers-color-scheme: dark)"> <source srcset="apps/web/public/logo-light-fullmark.svg" media="(prefers-color-scheme: light)"> <img src="apps/web/public/logo-fullmark.svg" alt="Supermemory" width="400" /> </picture> </p>
<p align="center"> <strong>State-of-the-art memory and context engine for AI.</strong> </p>
<p align="center"> <a href="https://supermemory.ai/docs">Docs</a> · <a href="https://supermemory.ai/docs/quickstart">Quickstart</a> · <a href="https://supermemory.ai/docs/self-hosting/overview">Self-host</a> · <a href="https://console.supermemory.ai">Dashboard</a> · <a href="https://supermemory.link/discord">Discord</a> </p>
<p align="center"> <a href="https://www.npmjs.com/package/supermemory"><img src="https://img.shields.io/npm/v/supermemory?style=flat-square&color=blue" alt="npm" /></a> <a href="https://pypi.org/project/supermemory/"><img src="https://img.shields.io/pypi/v/supermemory?style=flat-square&color=blue" alt="pypi" /></a> <a href="https://supermemory.ai/docs"><img src="https://img.shields.io/badge/docs-supermemory.ai-blue?style=flat-square" alt="docs" /></a> </p>
<p align="center"> <strong>English</strong> · <a href="README.zh-CN.md">简体中文</a> </p>
<p align="center"> <strong>#1 on every major AI memory benchmark — <a href="https://github.com/xiaowu0162/LongMemEval">LongMemEval</a>, <a href="https://github.com/snap-research/locomo">LoCoMo</a>, and <a href="https://github.com/Salesforce/ConvoMem">ConvoMem</a>.</strong><br/> <strong>95% Recall@15 with a 99.4% context reduction · ~50ms user profiles.</strong><br/> <a href="https://supermemory.ai/research">Read the research →</a> </p>
Supermemory is the memory and context layer for AI. #1 on LongMemEval, LoCoMo, and ConvoMem — the three major benchmarks for AI memory.
We are a research lab building the engine, plugins and tools around it.
Your AI forgets everything between conversations. Supermemory fixes that.
It automatically learns from conversations, extracts facts, builds user profiles, handles knowledge updates and contradictions, forgets expired information, and delivers the right context at the right time. Full RAG, connectors, file processing — the entire context stack, one system.
| 🧠 Memory | Extracts facts from conversations. Handles temporal changes, contradictions, and automatic forgetting. |
| 👤 User Profiles | Auto-maintained user context — stable facts + recent activity. One call, ~50ms. |
| 🔍 Hybrid Search | RAG + Memory in a single query. Knowledge base docs and personalized context together. |
| 🔌 Connectors | Google Drive · Gmail · Notion · OneDrive · GitHub — auto-sync with real-time webhooks. |
| 📄 Multi-modal Extractors | PDFs, images (OCR), videos (transcription), code (AST-aware chunking). Upload and it works. |
All of this is in our single memory structure and ontology.
<img width="1414" height="937" alt="image" src="https://github.com/user-attachments/assets/8863b6d9-c043-4c75-b200-4f1759e7edaf" />
Use Supermemory
<table> <tr> <td width="50%" valign="top">
<h3>🧑💻 I use AI tools</h3>
Give Claude Code, Muse Code, Cursor, Codex and OpenCode persistent memory across every conversation with a plugin or the MCP server.
Your AI remembers your preferences, projects, past discussions — and gets smarter over time.
→ Jump to User setup
</td> <td width="50%" valign="top">
<h3>🔧 I'm building AI products</h3>
Add memory, RAG, user profiles, and connectors to your agents and apps with a single API.
No vector DB config. No embedding pipelines. No chunking strategies.
→ Jump to developer quickstart
</td> </tr> <tr> <td colspan="2" valign="top">
<h3>🖥️ I want to run it myself</h3>
State-of-the-art memory, on your machine. One binary. Zero config. Bring any model — or run fully offline with Ollama.
curl -fsSL https://supermemory.ai/install | bash→ Jump to Supermemory local
</td> </tr> </table>
Give your AI memory
Plugins and the MCP server give any compatible AI assistant persistent memory. One install, and your AI remembers you.
Supermemory Plugins
Supermemory comes built with plugins for Claude Code, Muse Code, Cursor, Codex, OpenCode, OpenClaw, and Hermes.
<img width="844" height="484" alt="image" src="https://github.com/user-attachments/assets/ecb879a2-8652-495d-9228-f305a97ba603" />
These plugins are implementations of the supermemory API, and they are open source!
You can find them here:
Claude Code plugin: https://github.com/supermemoryai/claude-supermemory
Muse Code plugin: https://github.com/supermemoryai/muse-supermemory
Cursor plugin: https://github.com/supermemoryai/cursor-supermemory
Codex plugin: https://github.com/supermemoryai/codex-supermemory
OpenClaw plugin: https://github.com/supermemoryai/openclaw-supermemory
OpenCode plugin: https://github.com/supermemoryai/opencode-supermemory
Hermes agent (Supermemory memory provider): https://github.com/NousResearch/hermes-agent
MCP
Server URL:
https://mcp.supermemory.ai/mcp{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}Read more about our MCP here - https://supermemory.ai/docs/supermemory-mcp/mcp
What your AI gets
| Tool | What it does |
|---|---|
memory | Save or forget information. Your AI calls this automatically when you share something worth remembering. |
recall | Search memories by query. Returns relevant memories + your user profile summary. |
context | Injects your full profile (preferences, recent activity) into the conversation at start. In Cursor and Claude Code, just type /context. |
How it works
Once installed, Supermemory runs in the background:
You talk to your AI normally. Share preferences, mention projects, discuss problems.
Supermemory extracts and stores the important stuff. Facts, preferences, project context — not noise.
Next conversation, your AI already knows you. It recalls what you're working on, how you like things, what you discussed before.
Memory is scoped with projects (container tags) so you can separate work and personal context, or organize by client, repo, or anything else.
Supported clients
Claude Desktop · Cursor · Windsurf · VS Code · Claude Code · OpenCode · OpenClaw · Hermes
The MCP server is open source — view the source.
Manual configuration
Add this to your MCP client config:
{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}Build with Supermemory (API)
If you're building AI agents or apps, Supermemory gives you the entire context stack through one API — memory, RAG, user profiles, connectors, and file processing.
Install
npm install supermemory # or: pip install supermemoryQuickstart
import Supermemory from "supermemory";
const client = new Supermemory();
// Store a conversation
await client.add({
content: "User loves TypeScript and prefers functional patterns",
containerTag: "user_123",
});
// Get user profile + relevant memories in one call
const { profile, searchResults } = await client.profile({
containerTag: "user_123",
q: "What programming style does the user prefer?",
});
// profile.static → ["Loves TypeScript", "Prefers functional patterns"]
// profile.dynamic → ["Working on API integration"]
// searchResults → Relevant memories ranked by similarityfrom supermemory import Supermemory
client = Supermemory()
client.add(
content="User loves TypeScript and prefers functional patterns",
container_tag="user_123"
)
result = client.profile(container_tag="user_123", q="programming style")
print(result.profile.static) # Long-term facts
print(result.profile.dynamic) # Recent contextSupermemory automatically extracts memories, builds user profiles, and returns relevant context. No embedding pipelines, no vector DB config, no chunking strategies.
Framework integrations
Drop-in wrappers for every major AI framework:
// Vercel AI SDK
import { withSupermemory } from "@supermemory/tools/ai-sdk";
const model = withSupermemory(openai("gpt-4o"), { containerTag: "user_123", customId: "conv-1" });
// Mastra
import { withSupermemory } from "@supermemory/tools/mastra";
const agent = new Agent(withSupermemory(config, "user-123", { mode: "full" }));Vercel AI SDK · LangChain · LangGraph · OpenAI Agents SDK · Mastra · Agno · Claude Memory Tool · n8n
Search modes
// Hybrid (default) — RAG + Memory in one query
const results = await client.search({
q: "how do I deploy?",
containerTag: "user_123",
searchMode: "hybrid",
});
// Returns deployment docs (RAG) + user's deploy preferences (Memory)
// Memories only
const results = await client.search({
q: "user preferences",
containerTag: "user_123",
searchMode: "memories",
});User profiles
Traditional memory relies on search — you need to know what to ask for. Supermemory automatically maintains a profile for every user:
const { profile } = await client.profile({ containerTag: "user_123" });
// profile.static → ["Senior engineer at Acme", "Prefers dark mode", "Uses Vim"]
// profile.dynamic → ["Working on auth migration", "Debugging rate limits"]One call. ~50ms. Inject into your system prompt and your agent instantly knows who it's talking to.
Connectors
Auto-sync external data into your knowledge base:
Google Drive · Gmail · Notion · OneDrive · GitHub · Web Crawler
Real-time webhooks. Documents automatically processed, chunked, and searchable.
API at a glance
| Method | Purpose |
|---|---|
client.add() | Store content — text, conversations, URLs, HTML |
client.profile() | User profile + optional search in one call |
client.search() | Hybrid search across memories and documents (searchMode) |
client.search.documents() | Document search with metadata filters (legacy v3 response shape) |
client.documents.uploadFile() | Upload PDFs, images, videos, code |
client.documents.list() | List and filter documents |
client.settings.update() | Configure memory extraction and chunking |
Full API reference → supermemory.ai/docs
Supermemory local — run it yourself
State-of-the-art memory, on your machine. One binary. Zero config.
curl -fsSL https://supermemory.ai/install | bash
# or
npx supermemory localsupermemory-serverFirst boot sets up the embedded Supermemory graph engine, local embeddings, and your credentials, then prints an API key. The full Memory API — documents, memories, user profiles, hybrid search — runs against http://localhost:6767.
const client = new Supermemory({
apiKey: "sm_...",
baseURL: "http://localhost:6767", // that's the only change
});Bring any model — OpenAI, Anthropic, Gemini, Groq, or any OpenAI-compatible endpoint. An interactive wizard walks you through it on first boot.
Embeddings — local
Xenova/bge-base-en-v1.5by default (no API key); optionally OpenAI, Gemini, or Ollama. Same provider stack as cloud.Offline text memories if you want — point it at Ollama (
gpt-oss:20bworks great), disable telemetry withSUPERMEMORY_DISABLE_TELEMETRY=1, and use local text or file inputs after the first embedding-model download. URL ingestion uses a hosted reader service.Your data, one directory — everything lives in
~/.supermemory, easy to back up or move.Same API as the platform — prototype locally, ship on the hosted platform by changing
baseURL.
Run with Docker
Prebuilt images support Linux amd64 and arm64. You don’t need to build or clone the server source.
For a new installation, run these commands in an empty directory and set your own LLM provider key:
release_url=https://github.com/supermemoryai/supermemory/releases
curl -fL "$release_url/download/server-v0.0.9/compose.yaml" -o compose.yaml
export OPENAI_API_KEY=your_openai_api_key_here
export SUPERMEMORY_VERSION=0.0.9
docker compose up -d --wait --wait-timeout 180The API listens on http://localhost:6767. Data and credentials persist in the supermemory_supermemory-data volume. Get your local API key with docker compose exec supermemory cat /data/api-key; requests require it even on localhost.
Read the Docker setup and upgrade instructions for persistent provider configuration, backups and upgrades. Keep the existing volume and keys when upgrading; don’t run docker compose down -v.
Read the self-hosting docs — quickstart, configuration, embeddings, and local vs. Enterprise.
Benchmarks
Supermemory is state of the art across all major AI memory benchmarks:
| Benchmark | What it measures | Result |
|---|---|---|
| LongMemEval | Long-term memory across sessions with knowledge updates | #1 |
| LoCoMo | Fact recall across extended conversations (single-hop, multi-hop, temporal, adversarial) | #1 |
| ConvoMem | Personalization and preference learning | #1 |
On LongMemEval, supermemory reaches 95% Recall@15 while adding only ~720 tokens of context — a 99.4% context reduction (99.6% at @10, 99.8% at @5). Recall by category: Knowledge Updates 99%, Assistant recall 100%, User recall 97%, Multi-session 93%, Temporal Reasoning 91%, Preference 90%.
We also built the Supermemory Filesystem (SMFS), which uses 3.0× fewer tokens on Claude (24M vs 72M) and 1.75× fewer on Codex across the 110-question xAFS benchmark. See the full write-ups on our research page.
We also built MemoryBench — an open-source framework for standardized, reproducible benchmarks of memory providers. Compare Supermemory, Mem0, Zep, and others head-to-head:
bun run src/index.ts run -p supermemory -b longmemeval -j gpt-4o -r my-runBenchmarking your own memory solution
We provide an Agent skill for companies to benchmark their own context and memory solutions against supermemory.
npx skills add supermemoryai/memorybenchSimply run this and do /benchmark-context - Supermemory will automatically do the work for you!
How memory works under the hood
Your app / AI tool
↓
Supermemory
│
├── Memory Engine Extracts facts, tracks updates, resolves contradictions,
│ auto-forgets expired info
├── User Profiles Static facts + dynamic context built from engine, always fresh
├── Hybrid Search RAG + Memory in one query
├── Connectors Real-time sync from Google Drive, Gmail, Notion, GitHub...
└── File Processing PDFs, images, videos, code → searchable chunksMemory is not RAG. RAG retrieves document chunks — stateless, same results for everyone. Memory extracts and tracks facts about users over time. It understands that "I just moved to SF" supersedes "I live in NYC." Supermemory runs both together by default, so you get knowledge base retrieval and personalized context in every query. Read more about this here - https://supermemory.ai/docs/concepts/memory-vs-rag
Automatic forgetting. Supermemory knows when memories become irrelevant. Temporary facts ("I have an exam tomorrow") expire after the date passes. Contradictions are resolved automatically. Noise never becomes permanent memory.
Links
<p align="center"> <strong>Give your AI a memory. It's about time..</strong> </p>
README.zh-CN.md
<p align="center"> <picture> <source srcset="apps/web/public/logo-fullmark.svg" media="(prefers-color-scheme: dark)"> <source srcset="apps/web/public/logo-light-fullmark.svg" media="(prefers-color-scheme: light)"> <img src="apps/web/public/logo-fullmark.svg" alt="Supermemory" width="400" /> </picture> </p>
<p align="center"> <strong>面向 AI 的记忆与上下文引擎,业界领先。</strong> </p>
<p align="center"> <a href="https://supermemory.ai/docs">文档</a> · <a href="https://supermemory.ai/docs/quickstart">快速开始</a> · <a href="https://console.supermemory.ai">控制台</a> · <a href="https://supermemory.link/discord">Discord</a> </p>
<p align="center"> <a href="https://www.npmjs.com/package/supermemory"><img src="https://img.shields.io/npm/v/supermemory?style=flat-square&color=blue" alt="npm" /></a> <a href="https://pypi.org/project/supermemory/"><img src="https://img.shields.io/pypi/v/supermemory?style=flat-square&color=blue" alt="pypi" /></a> <a href="https://supermemory.ai/docs"><img src="https://img.shields.io/badge/docs-supermemory.ai-blue?style=flat-square" alt="docs" /></a> </p>
<p align="center"> <a href="README.md">English</a> · <strong>简体中文</strong> </p>
Supermemory 是为 AI 设计的记忆与上下文层。在 LongMemEval、LoCoMo 和 ConvoMem 这三大 AI 记忆基准上均位列第一。
我们是一个研究团队,围绕这个引擎打造插件和工具生态。
你的 AI 在对话之间会把一切忘干净,Supermemory 就是来解决这个问题的。
它会自动从对话中学习,提取事实、构建用户画像、处理知识更新与冲突、淘汰过期信息,并在合适的时机交付合适的上下文。完整 RAG、连接器、文件处理——整个上下文栈,一套系统全部搞定。
| 🧠 记忆 | 从对话中提取事实,处理时间变化、冲突,以及自动遗忘。 |
| 👤 用户画像 | 自动维护的用户上下文——稳定事实 + 近期动态。一次调用,约 50ms。 |
| 🔍 混合检索 | 一次查询同时跑 RAG 和记忆。知识库文档与个性化上下文一起返回。 |
| 🔌 连接器 | Google Drive · Gmail · Notion · OneDrive · GitHub——实时 webhook 自动同步。 |
| 📄 多模态抽取 | PDF、图片(OCR)、视频(转写)、代码(按 AST 切分)。上传即用。 |
这一切都收敛在我们统一的记忆结构和本体里。
<img width="1414" height="937" alt="image" src="https://github.com/user-attachments/assets/8863b6d9-c043-4c75-b200-4f1759e7edaf" />
怎么用 Supermemory
<table> <tr> <td width="50%" valign="top">
<h3>🧑💻 我只是 AI 工具的用户</h3>
通过插件或 MCP 服务器,让 Claude Code、Cursor、Codex 和 OpenCode 在每次对话之间保持持久记忆。
你的 AI 会记住你的偏好、项目、历史讨论——而且越用越聪明。
→ 跳到用户安装指南
</td> <td width="50%" valign="top">
<h3>🔧 我在做 AI 产品</h3>
通过一套 API,就能给你的 agent 和应用加上记忆、RAG、用户画像和连接器。
无需配置向量数据库,无需搭 embedding 流水线,无需操心切分策略。
→ 跳到开发者快速开始
</td> </tr> </table>
给你的 AI 装上记忆
插件和 MCP 服务器可以为任何兼容的 AI 助手提供持久记忆。装一次,AI 从此记住你。
Supermemory 插件
Supermemory 已经为 Claude Code、Cursor、Codex、OpenCode、OpenClaw、Hermes 提供了开箱即用的插件。
<img width="844" height="484" alt="image" src="https://github.com/user-attachments/assets/ecb879a2-8652-495d-9228-f305a97ba603" />
这些插件本质上是 supermemory API 的实现,全部开源:
Claude Code 插件:https://github.com/supermemoryai/claude-supermemory
Cursor 插件:https://github.com/supermemoryai/cursor-supermemory
OpenClaw 插件:https://github.com/supermemoryai/openclaw-supermemory
OpenCode 插件:https://github.com/supermemoryai/opencode-supermemory
Hermes agent(Supermemory 作为记忆 provider):https://github.com/NousResearch/hermes-agent
MCP
服务地址:
https://mcp.supermemory.ai/mcp{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}更多 MCP 细节见:https://supermemory.ai/docs/supermemory-mcp/mcp
AI 接入后能用到什么
| 工具 | 作用 |
|---|---|
memory | 保存或删除信息。每当你说出值得记住的内容,AI 会自动调用。 |
recall | 按查询条件检索记忆。返回相关记忆 + 用户画像摘要。 |
context | 在对话开始时把你完整的画像(偏好、近期活动)注入会话。Cursor 和 Claude Code 里输入 /context 即可。 |
工作机制
装好之后,Supermemory 在后台运行:
正常和你的 AI 对话。 聊聊偏好、提提项目、讨论一下问题。
Supermemory 自动提取并存下关键信息。 事实、偏好、项目上下文——杂音不留。
下一次对话,AI 已经认识你了。 它知道你在做什么、你喜欢怎么处理、你之前聊过什么。
记忆按 project(容器标签) 隔离,便于把工作和生活分开,也可以按客户、仓库或任何其它维度组织。
已支持的客户端
Claude Desktop · Cursor · Windsurf · VS Code · Claude Code · OpenCode · OpenClaw · Hermes
MCP 服务器开源——查看源码。
手动配置
把下面这段加到你的 MCP 客户端配置里:
{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}用 Supermemory API 构建
如果你在做 AI agent 或应用,Supermemory 用一套 API 给你完整的上下文栈——记忆、RAG、用户画像、连接器、文件处理,全包。
安装
npm install supermemory # 或者:pip install supermemory快速开始
import Supermemory from "supermemory";
const client = new Supermemory();
// 存一段对话
await client.add({
content: "User loves TypeScript and prefers functional patterns",
containerTag: "user_123",
});
// 一次调用拿到用户画像 + 相关记忆
const { profile, searchResults } = await client.profile({
containerTag: "user_123",
q: "What programming style does the user prefer?",
});
// profile.static → ["Loves TypeScript", "Prefers functional patterns"]
// profile.dynamic → ["Working on API integration"]
// searchResults → 按相似度排序的相关记忆from supermemory import Supermemory
client = Supermemory()
client.add(
content="User loves TypeScript and prefers functional patterns",
container_tag="user_123"
)
result = client.profile(container_tag="user_123", q="programming style")
print(result.profile.static) # 长期事实
print(result.profile.dynamic) # 近期上下文Supermemory 会自动抽取记忆、构建用户画像、返回相关上下文。不用搭 embedding 流水线,不用配向量库,不用操心切分。
框架集成
主流 AI 框架都有开箱即用的封装:
// Vercel AI SDK
import { withSupermemory } from "@supermemory/tools/ai-sdk";
const model = withSupermemory(openai("gpt-4o"), { containerTag: "user_123", customId: "conv-1" });
// Mastra
import { withSupermemory } from "@supermemory/tools/mastra";
const agent = new Agent(withSupermemory(config, "user-123", { mode: "full" }));Vercel AI SDK · LangChain · LangGraph · OpenAI Agents SDK · Mastra · Agno · Claude Memory Tool · n8n
检索模式
// 混合检索(默认)——一次查询同时跑 RAG 和记忆
const results = await client.search({
q: "how do I deploy?",
containerTag: "user_123",
searchMode: "hybrid",
});
// 返回部署文档(RAG)+ 该用户的部署偏好(记忆)
// 只查记忆
const results = await client.search({
q: "user preferences",
containerTag: "user_123",
searchMode: "memories",
});用户画像
传统记忆方案依赖检索——你得先知道要问什么。Supermemory 会自动为每个用户维护一份画像:
const { profile } = await client.profile({ containerTag: "user_123" });
// profile.static → ["Senior engineer at Acme", "Prefers dark mode", "Uses Vim"]
// profile.dynamic → ["Working on auth migration", "Debugging rate limits"]一次调用,约 50ms。把它塞到 system prompt 里,你的 agent 立刻就知道自己在和谁聊。
连接器
把外部数据自动同步进知识库:
Google Drive · Gmail · Notion · OneDrive · GitHub · 网页爬取
实时 webhook。文档自动处理、切分、入索引。
API 一览
| 方法 | 作用 |
|---|---|
client.add() | 存储内容——文本、对话、URL、HTML |
client.profile() | 一次调用返回用户画像 + 可选检索 |
client.search() | 跨记忆和文档的混合检索(searchMode) |
client.search.documents() | 带元数据过滤的文档检索(旧版 v3 响应格式) |
client.documents.uploadFile() | 上传 PDF、图片、视频、代码 |
client.documents.list() | 列出和筛选文档 |
client.settings.update() | 配置记忆抽取与切分策略 |
完整 API 文档 → supermemory.ai/docs
基准测试
在各大 AI 记忆基准上,Supermemory 都处于业界顶尖水平:
| 基准 | 衡量内容 | 结果 |
|---|---|---|
| LongMemEval | 跨会话的长期记忆能力,包含知识更新 | 81.6%——第 1 |
| LoCoMo | 超长对话中的事实回忆(单跳、多跳、时序、对抗) | 第 1 |
| ConvoMem | 个性化与偏好学习 | 第 1 |
我们还做了 MemoryBench——一个开源框架,用于对记忆服务做标准化、可复现的基准评测。Supermemory、Mem0、Zep 等可以直接放在一起对比:
bun run src/index.ts run -p supermemory -b longmemeval -j gpt-4o -r my-run给自己的记忆方案跑基准
我们提供了一个 Agent skill,方便公司把自己的上下文/记忆方案拿来和 supermemory 对比。
npx skills add supermemoryai/memorybench跑完上面这条命令,再执行 /benchmark-context,Supermemory 会自动帮你跑完整个流程。
记忆是怎么跑起来的
你的应用 / AI 工具
↓
Supermemory
│
├── 记忆引擎 提取事实、跟踪更新、解决冲突、
│ 自动遗忘过期信息
├── 用户画像 基于引擎构建的静态事实 + 动态上下文,始终保持最新
├── 混合检索 一次查询同时跑 RAG 和记忆
├── 连接器 从 Google Drive、Gmail、Notion、GitHub 等实时同步
└── 文件处理 PDF、图片、视频、代码 → 可检索的分块记忆不等于 RAG。 RAG 是检索文档片段——无状态,对所有人返回相同结果。记忆是长期跟踪和提取关于用户的事实。它知道「我刚搬到 SF」会覆盖「我住在 NYC」。Supermemory 默认把两者一起跑,所以每次查询都能同时拿到知识库检索结果和个性化上下文。更多细节见:https://supermemory.ai/docs/concepts/memory-vs-rag
自动遗忘。 Supermemory 知道哪些记忆已经无关紧要。临时事实(「我明天有考试」)会在日期过后失效,冲突会自动消解,杂音不会沉淀成永久记忆。
链接
<p align="center"> <strong>是时候给你的 AI 一份记忆了。</strong> </p>
512 files · 500 not served here
- .github/workflows/ci-python.yml (not served here)
- .github/workflows/ci.yml (not served here)
- .github/workflows/claude-auto-fix-ci.yml (not served here)
- .github/workflows/claude.yml (not served here)
- .github/workflows/publish-agent-framework-python.yml (not served here)
- .github/workflows/publish-cartesia-sdk-python.yml (not served here)
- .github/workflows/publish-livekit-sdk-python.yml (not served here)
- .github/workflows/publish-memory-graph.yml (not served here)
- .github/workflows/publish-openai-sdk-python.yml (not served here)
- .github/workflows/publish-pipecat-sdk-python.yml (not served here)
- .github/workflows/publish-tools.yml (not served here)
- .gitignore (not served here)
- AGENTS.md
- ATTRIBUTION.md
- AUTOGINEER-RUNS.md
- CLAUDE.md
- CONTRIBUTING.md
- LICENSE
- README.md
- README.zh-CN.md
- apps/docs/.cursor/rules/docs.mdc (not served here)
- apps/docs/.gitignore (not served here)
- apps/docs/README.md (not served here)
- apps/docs/agents-and-mcp.mdx (not served here)
- apps/docs/api-reference/connections.mdx (not served here)
- apps/docs/api-reference/container-tags.mdx (not served here)
- apps/docs/api-reference/documents.mdx (not served here)
- apps/docs/api-reference/ingest.mdx (not served here)
- apps/docs/api-reference/memories.mdx (not served here)
- apps/docs/api-reference/overview.mdx (not served here)
- apps/docs/api-reference/profiles.mdx (not served here)
- apps/docs/api-reference/search.mdx (not served here)
- apps/docs/api-reference/settings.mdx (not served here)
- apps/docs/authentication.mdx (not served here)
- apps/docs/concepts/container-tags.mdx (not served here)
- apps/docs/concepts/content-types.mdx (not served here)
- apps/docs/concepts/customization.mdx (not served here)
- apps/docs/concepts/filtering.mdx (not served here)
- apps/docs/concepts/graph-memory.mdx (not served here)
- apps/docs/concepts/how-it-works.mdx (not served here)
- apps/docs/concepts/memory-vs-rag.mdx (not served here)
- apps/docs/concepts/multi-tenancy-examples.mdx (not served here)
- apps/docs/concepts/multi-tenancy.mdx (not served here)
- apps/docs/concepts/rules.mdx (not served here)
- apps/docs/concepts/super-rag.mdx (not served here)
- apps/docs/concepts/user-profiles.mdx (not served here)
- apps/docs/connectors/github.mdx (not served here)
- apps/docs/connectors/gmail.mdx (not served here)
- apps/docs/connectors/google-drive.mdx (not served here)
- apps/docs/connectors/granola.mdx (not served here)
- apps/docs/connectors/managing-resources.mdx (not served here)
- apps/docs/connectors/notion.mdx (not served here)
- apps/docs/connectors/onedrive.mdx (not served here)
- apps/docs/connectors/overview.mdx (not served here)
- apps/docs/connectors/s3.mdx (not served here)
- apps/docs/connectors/troubleshooting.mdx (not served here)
- apps/docs/connectors/web-crawler.mdx (not served here)
- apps/docs/docs.json (not served here)
- apps/docs/favicon-dark-mode.png (not served here)
- apps/docs/favicon-light-mode.png (not served here)
- apps/docs/favicon.png (not served here)
- apps/docs/icons/hugeicons/activity-01.svg (not served here)
- apps/docs/icons/hugeicons/agreement-01.svg (not served here)
- apps/docs/icons/hugeicons/ai-brain-01.svg (not served here)
- apps/docs/icons/hugeicons/arrow-data-transfer-horizontal.svg (not served here)
- apps/docs/icons/hugeicons/arrow-up-right-01.svg (not served here)
- apps/docs/icons/hugeicons/award-01.svg (not served here)
- apps/docs/icons/hugeicons/balance-scale.svg (not served here)
- apps/docs/icons/hugeicons/book-02.svg (not served here)
- apps/docs/icons/hugeicons/book-open-01.svg (not served here)
- apps/docs/icons/hugeicons/brain-01.svg (not served here)
- apps/docs/icons/hugeicons/bug-01.svg (not served here)
- apps/docs/icons/hugeicons/building-03.svg (not served here)
- apps/docs/icons/hugeicons/chart-line-data-01.svg (not served here)
- apps/docs/icons/hugeicons/chat-bot.svg (not served here)
- apps/docs/icons/hugeicons/check-list.svg (not served here)
- apps/docs/icons/hugeicons/clipboard.svg (not served here)
- apps/docs/icons/hugeicons/clock-01.svg (not served here)
- apps/docs/icons/hugeicons/cloud.svg (not served here)
- apps/docs/icons/hugeicons/command-line.svg (not served here)
- apps/docs/icons/hugeicons/compass-01.svg (not served here)
- apps/docs/icons/hugeicons/computer.svg (not served here)
- apps/docs/icons/hugeicons/copy-01.svg (not served here)
- apps/docs/icons/hugeicons/cpu.svg (not served here)
- apps/docs/icons/hugeicons/credit-card.svg (not served here)
- apps/docs/icons/hugeicons/cube.svg (not served here)
- apps/docs/icons/hugeicons/cursor-01.svg (not served here)
- apps/docs/icons/hugeicons/dashboard-speed-01.svg (not served here)
- apps/docs/icons/hugeicons/database-01.svg (not served here)
- apps/docs/icons/hugeicons/delivery-truck-01.svg (not served here)
- apps/docs/icons/hugeicons/download-01.svg (not served here)
- apps/docs/icons/hugeicons/eraser-01.svg (not served here)
- apps/docs/icons/hugeicons/file-01.svg (not served here)
- apps/docs/icons/hugeicons/file-02.svg (not served here)
- apps/docs/icons/hugeicons/file-search.svg (not served here)
- apps/docs/icons/hugeicons/files-01.svg (not served here)
- apps/docs/icons/hugeicons/files-02.svg (not served here)
- apps/docs/icons/hugeicons/filter.svg (not served here)
- apps/docs/icons/hugeicons/flash.svg (not served here)
- apps/docs/icons/hugeicons/folder-01.svg (not served here)
- apps/docs/icons/hugeicons/github.svg (not served here)
- apps/docs/icons/hugeicons/globe-02.svg (not served here)
- apps/docs/icons/hugeicons/hard-drive.svg (not served here)
- apps/docs/icons/hugeicons/headphones.svg (not served here)
- apps/docs/icons/hugeicons/help-circle.svg (not served here)
- apps/docs/icons/hugeicons/hierarchy-square-01.svg (not served here)
- apps/docs/icons/hugeicons/id.svg (not served here)
- apps/docs/icons/hugeicons/idea-01.svg (not served here)
- apps/docs/icons/hugeicons/invoice-01.svg (not served here)
- apps/docs/icons/hugeicons/java-script.svg (not served here)
- apps/docs/icons/hugeicons/justice-scale-01.svg (not served here)
- apps/docs/icons/hugeicons/key-01.svg (not served here)
- apps/docs/icons/hugeicons/layers-01.svg (not served here)
- apps/docs/icons/hugeicons/left-to-right-list-bullet.svg (not served here)
- apps/docs/icons/hugeicons/link-01.svg (not served here)
- apps/docs/icons/hugeicons/location-01.svg (not served here)
- apps/docs/icons/hugeicons/lock.svg (not served here)
- apps/docs/icons/hugeicons/login-01.svg (not served here)
- apps/docs/icons/hugeicons/logout-01.svg (not served here)
- apps/docs/icons/hugeicons/mail-01.svg (not served here)
- apps/docs/icons/hugeicons/message-01.svg (not served here)
- apps/docs/icons/hugeicons/message-02.svg (not served here)
- apps/docs/icons/hugeicons/note-01.svg (not served here)
- apps/docs/icons/hugeicons/package.svg (not served here)
- apps/docs/icons/hugeicons/play-circle.svg (not served here)
- apps/docs/icons/hugeicons/play.svg (not served here)
- apps/docs/icons/hugeicons/plug-01.svg (not served here)
- apps/docs/icons/hugeicons/plug-socket.svg (not served here)
- apps/docs/icons/hugeicons/plus-sign.svg (not served here)
- apps/docs/icons/hugeicons/puzzle.svg (not served here)
- apps/docs/icons/hugeicons/python.svg (not served here)
- apps/docs/icons/hugeicons/refresh.svg (not served here)
- apps/docs/icons/hugeicons/robotic.svg (not served here)
- apps/docs/icons/hugeicons/rotate-clockwise.svg (not served here)
- apps/docs/icons/hugeicons/route-01.svg (not served here)
- apps/docs/icons/hugeicons/route-02.svg (not served here)
- apps/docs/icons/hugeicons/search-01.svg (not served here)
- apps/docs/icons/hugeicons/server-stack-01.svg (not served here)
- apps/docs/icons/hugeicons/settings-01.svg (not served here)
- apps/docs/icons/hugeicons/settings-02.svg (not served here)
- apps/docs/icons/hugeicons/share-08.svg (not served here)
- apps/docs/icons/hugeicons/shield-01.svg (not served here)
- apps/docs/icons/hugeicons/sliders-horizontal.svg (not served here)
- apps/docs/icons/hugeicons/source-code.svg (not served here)
- apps/docs/icons/hugeicons/sparkles.svg (not served here)
- apps/docs/icons/hugeicons/square.svg (not served here)
- apps/docs/icons/hugeicons/tag-01.svg (not served here)
- apps/docs/icons/hugeicons/test-tube-01.svg (not served here)
- apps/docs/icons/hugeicons/tick-02.svg (not served here)
- apps/docs/icons/hugeicons/triangle.svg (not served here)
- apps/docs/icons/hugeicons/upload-01.svg (not served here)
- apps/docs/icons/hugeicons/user-circle.svg (not served here)
- apps/docs/icons/hugeicons/user-multiple.svg (not served here)
- apps/docs/icons/hugeicons/user.svg (not served here)
- apps/docs/icons/hugeicons/workflow-square-01.svg (not served here)
- apps/docs/icons/hugeicons/wrench-01.svg (not served here)
- apps/docs/images/Screenshot 2025-06-19 at 3.50.20 PM.png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.18 PM (2).png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.18 PM (3).png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.18 PM.png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.22 PM (2).png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.22 PM (3).png (not served here)
- apps/docs/images/Screenshot 2025-07-05 at 7.16.22 PM.png (not served here)
- apps/docs/images/add-gmail-node-zapier.png (not served here)
- apps/docs/images/anthropic-1.svg (not served here)
- apps/docs/images/art/bg-branch.jpg (not served here)
- apps/docs/images/art/bg-grass.jpg (not served here)
- apps/docs/images/art/bg-islands.jpg (not served here)
- apps/docs/images/art/bg-lakeshore.jpg (not served here)
- apps/docs/images/art/bg-meadow.jpg (not served here)
- apps/docs/images/art/bg-stream.jpg (not served here)
- apps/docs/images/art/mark-white.svg (not served here)
- apps/docs/images/art/maya.jpg (not served here)
- apps/docs/images/bearer-auth-add-n8n.png (not served here)
- apps/docs/images/building-blocks/brain-head.png (not served here)
- apps/docs/images/building-blocks/connectors.svg (not served here)
- apps/docs/images/building-blocks/document-retrieval.svg (not served here)
- apps/docs/images/building-blocks/extractor.svg (not served here)
- apps/docs/images/building-blocks/file-systems.svg (not served here)
- apps/docs/images/building-blocks/hermes.svg (not served here)
- apps/docs/images/building-blocks/memory-router.svg (not served here)
- apps/docs/images/building-blocks/qualitative-analysis.svg (not served here)
- apps/docs/images/building-blocks/user-profiles.svg (not served here)
- apps/docs/images/cartesia.svg (not served here)
- apps/docs/images/claude-code-icon.svg (not served here)
- apps/docs/images/claude-code-supermemory.png (not served here)
- apps/docs/images/codex.svg (not served here)
- apps/docs/images/connectors-flow.png (not served here)
- apps/docs/images/core-http-req.png (not served here)
- apps/docs/images/create-api.png (not served here)
- apps/docs/images/cursor-logo.svg (not served here)
- apps/docs/images/dev-platform-api-keys.png (not served here)
- apps/docs/images/dev-platform-copy-key.png (not served here)
- apps/docs/images/dev-platform-create-key.png (not served here)
- apps/docs/images/dev-platform-login.png (not served here)
- apps/docs/images/doc-to-memory-process.png (not served here)
- apps/docs/images/eve-memory-poster.png (not served here)
- apps/docs/images/eve.svg (not served here)
- apps/docs/images/github-icon.svg (not served here)
- apps/docs/images/gmail-content.png (not served here)
- apps/docs/images/gmail-trigger.png (not served here)
- apps/docs/images/google-drive-icon.svg (not served here)
- apps/docs/images/granola.svg (not served here)
- apps/docs/images/graph-view.png (not served here)
- apps/docs/images/grok-logo.png (not served here)
- apps/docs/images/hermes.svg (not served here)
- apps/docs/images/hero-dark.svg (not served here)
- apps/docs/images/hero-light.svg (not served here)
- apps/docs/images/how-it-works-overview.webp (not served here)
- apps/docs/images/infinite-context.png (not served here)
- apps/docs/images/intro-developer-platform.jpg (not served here)
- apps/docs/images/intro-developer-platform.png (not served here)
- apps/docs/images/intro-plugins-full.jpg (not served here)
- apps/docs/images/intro-plugins.jpg (not served here)
- apps/docs/images/intro-self-hosting.png (not served here)
- apps/docs/images/langgraph.svg (not served here)
- apps/docs/images/livekit-dark.svg (not served here)
- apps/docs/images/livekit.svg (not served here)
- apps/docs/images/make-zap.png (not served here)
- apps/docs/images/map-content-to-gmail.png (not served here)
- apps/docs/images/mastra-icon.svg (not served here)
- apps/docs/images/memories-inferred.png (not served here)
- apps/docs/images/memory-graph.png (not served here)
- apps/docs/images/microsoft-icon.svg (not served here)
- apps/docs/images/muse-code-icon.svg (not served here)
- apps/docs/images/notion-icon.svg (not served here)
- apps/docs/images/og-background.jpg (not served here)
- apps/docs/images/openai.svg (not served here)
- apps/docs/images/openclaw-logo.jpg (not served here)
- apps/docs/images/opencode-logo-dark.svg (not served here)
- apps/docs/images/opencode-logo.png (not served here)
- apps/docs/images/opencode-logo.svg (not served here)
- apps/docs/images/opts/Connectors.png (not served here)
- apps/docs/images/opts/Memory_API.png (not served here)
- apps/docs/images/opts/Model_Enhancer.png (not served here)
- apps/docs/images/opts/Supermemory_MCP.png (not served here)
- apps/docs/images/overview-image.png (not served here)
- apps/docs/images/pipecat.svg (not served here)
- apps/docs/images/pipeline.png (not served here)
- apps/docs/images/process.png (not served here)
- apps/docs/images/processing.png (not served here)
- apps/docs/images/query-rewriting.png (not served here)
- apps/docs/images/quickstart-icon.svg (not served here)
- apps/docs/images/readme-memory-graph.png (not served here)
- apps/docs/images/rerank.png (not served here)
- apps/docs/images/sm-header.png (not served here)
- apps/docs/images/static-dynamic-profile.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/faq-custom-instructions-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/faq-custom-instructions-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/faq-memory-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/faq-memory-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-1-settings-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-1-settings-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-10-authorize.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-11-connected-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-11-connected-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-2-plugins-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-2-plugins-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-3-plugins-bottom-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-3-plugins-bottom-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-4-developer-mode-on-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-4-developer-mode-on-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-4-developer-mode-page-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-4-developer-mode-page-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-6-plugin-directory-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-6-plugin-directory-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-7-details-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-7-details-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-8-confirm-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-8-confirm-light.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-9-organization.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-9-sign-in-dark.png (not served here)
- apps/docs/images/supermemory-mcp/chatgpt-web/step-9-sign-in-light.png (not served here)
- apps/docs/images/supermemory-mcp/claude-desktop/step-1.jpg (not served here)
- apps/docs/images/supermemory-mcp/claude-desktop/step-2.png (not served here)
- apps/docs/images/supermemory-mcp/claude-desktop/step-3.png (not served here)
- apps/docs/images/supermemory-mcp/claude-desktop/step-4.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/guided-save-dark.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/guided-save-draft.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/memory-graph-dark.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/memory-graph.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/select-space-dark.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/select-space.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/upload-file-dark.png (not served here)
- apps/docs/images/supermemory-mcp/widgets/upload-file.png (not served here)
- apps/docs/images/supermemory.svg (not served here)
- apps/docs/images/team/invite-member.png (not served here)
- apps/docs/images/team/team-settings.png (not served here)
- apps/docs/images/transparent-proxy.png (not served here)
- apps/docs/images/user-profiles-vs-search.png (not served here)
- apps/docs/images/viaSocket-supermemory-auth.png (not served here)
- apps/docs/images/viaSocket-supermemory-connect.png (not served here)
- apps/docs/images/viaSocket-supermemory-trigger.png (not served here)
- apps/docs/images/viasocket-icon-ico.ico (not served here)
- apps/docs/images/viasocket-supermemory-action.png (not served here)
- apps/docs/images/viasocket-supermemory-configured-trigger.png (not served here)
- apps/docs/images/viasocket-supermemory-connection.png (not served here)
- apps/docs/images/viasocket-supermemory-go-live.png (not served here)
- apps/docs/images/what-is-supermemory-engine.jpg (not served here)
- apps/docs/images/zapier-output.png (not served here)
- apps/docs/index.mdx (not served here)
- apps/docs/ingestion/add-memories.mdx (not served here)
- apps/docs/ingestion/batch-ingest-historical-data.mdx (not served here)
- apps/docs/ingestion/document-operations.mdx (not served here)
- apps/docs/install.md (not served here)
- apps/docs/integrations/agent-framework.mdx (not served here)
- apps/docs/integrations/agno.mdx (not served here)
- apps/docs/integrations/ai-sdk.mdx (not served here)
- apps/docs/integrations/cartesia.mdx (not served here)
- apps/docs/integrations/claude-code.mdx (not served here)
- apps/docs/integrations/claude-memory.mdx (not served here)
- apps/docs/integrations/codex.mdx (not served here)
- apps/docs/integrations/convex.mdx (not served here)
- apps/docs/integrations/crewai.mdx (not served here)
- apps/docs/integrations/cursor.mdx (not served here)
- apps/docs/integrations/eve.mdx (not served here)
- apps/docs/integrations/grok-bot.mdx (not served here)
- apps/docs/integrations/hermes.mdx (not served here)
- apps/docs/integrations/langchain.mdx (not served here)
- apps/docs/integrations/langgraph.mdx (not served here)
- apps/docs/integrations/livekit.mdx (not served here)
- apps/docs/integrations/mastra.mdx (not served here)
- apps/docs/integrations/memory-graph.mdx (not served here)
- apps/docs/integrations/muse-code.mdx (not served here)
- apps/docs/integrations/n8n.mdx (not served here)
- apps/docs/integrations/openai-agents-sdk.mdx (not served here)
- apps/docs/integrations/openai.mdx (not served here)
- apps/docs/integrations/openclaw.mdx (not served here)
- apps/docs/integrations/opencode.mdx (not served here)
- apps/docs/integrations/pipecat.mdx (not served here)
- apps/docs/integrations/supermemory-sdk.mdx (not served here)
- apps/docs/integrations/viasocket.mdx (not served here)
- apps/docs/integrations/voltagent.mdx (not served here)
- apps/docs/integrations/zapier.mdx (not served here)
- apps/docs/invite-team-members.mdx (not served here)
- apps/docs/logo/dark.svg (not served here)
- apps/docs/logo/light.svg (not served here)
- apps/docs/logo/wordmark-dark.svg (not served here)
- apps/docs/logo/wordmark-light.svg (not served here)
- apps/docs/memorybench/extend-benchmark.mdx (not served here)
- apps/docs/memorybench/extend-provider.mdx (not served here)
- apps/docs/memorybench/memscore.mdx (not served here)
- apps/docs/memorybench/overview.mdx (not served here)
- apps/docs/migration/api-v5-document-reads.mdx (not served here)
- apps/docs/migration/api-v5-document-updates.mdx (not served here)
- apps/docs/migration/api-v5-document-writes.mdx (not served here)
- apps/docs/migration/api-v5-filters.mdx (not served here)
- apps/docs/migration/api-v5-memory-forgetting.mdx (not served here)
- apps/docs/migration/api-v5-organization.mdx (not served here)
- apps/docs/migration/api-v5-profiles.mdx (not served here)
- apps/docs/migration/api-v5-recall.mdx (not served here)
- apps/docs/migration/api-v5-rollout.mdx (not served here)
- apps/docs/migration/api-v5-settings.mdx (not served here)
- apps/docs/migration/api-v5.mdx (not served here)
- apps/docs/migration/from-mem0.mdx (not served here)
- apps/docs/migration/from-zep.mdx (not served here)
- apps/docs/migration/mem0-migration-script.py (not served here)
- apps/docs/migration/tools-v2-upgrade.mdx (not served here)
- apps/docs/migration/tools-v3-upgrade.mdx (not served here)
- apps/docs/overview/analytics.mdx (not served here)
- apps/docs/overview/billing.mdx (not served here)
- apps/docs/overview/comparison.mdx (not served here)
- apps/docs/overview/security.mdx (not served here)
- apps/docs/overview/use-cases.mdx (not served here)
- apps/docs/overview/what-is-supermemory.mdx (not served here)
- apps/docs/package.json (not served here)
- apps/docs/quickstart.mdx (not served here)
- apps/docs/recall/memory-operations.mdx (not served here)
- apps/docs/recall/memory-review.mdx (not served here)
- apps/docs/recall/search.mdx (not served here)
- apps/docs/recall/user-profiles.mdx (not served here)
- apps/docs/scripts/dev.sh (not served here)
- apps/docs/self-hosting/configuration.mdx (not served here)
- apps/docs/self-hosting/docker.mdx (not served here)
- apps/docs/self-hosting/embeddings.mdx (not served here)
- apps/docs/self-hosting/local-vs-enterprise.mdx (not served here)
- apps/docs/self-hosting/overview.mdx (not served here)
- apps/docs/self-hosting/providers.mdx (not served here)
- apps/docs/self-hosting/quickstart.mdx (not served here)
- apps/docs/smfs/bash-tool-python.mdx (not served here)
- apps/docs/smfs/bash-tool.mdx (not served here)
- apps/docs/smfs/examples.mdx (not served here)
- apps/docs/smfs/install.mdx (not served here)
- apps/docs/smfs/mount.mdx (not served here)
- apps/docs/smfs/overview.mdx (not served here)
- apps/docs/smfs/providers/cloudflare.mdx (not served here)
- apps/docs/smfs/providers/daytona.mdx (not served here)
- apps/docs/smfs/providers/e2b.mdx (not served here)
- apps/docs/smfs/providers/vercel.mdx (not served here)
- apps/docs/snippets/agent-prompt-panel.jsx (not served here)
- apps/docs/snippets/agent-prompt.jsx (not served here)
- apps/docs/snippets/api-v5-agent-prompt.mdx (not served here)
- apps/docs/snippets/api-v5-completion.mdx (not served here)
- apps/docs/snippets/api-v5-content-management.mdx (not served here)
- apps/docs/snippets/api-v5-document-ingestion.mdx (not served here)
- apps/docs/snippets/api-v5-document-updates.mdx (not served here)
- apps/docs/snippets/api-v5-filters.mdx (not served here)
- apps/docs/snippets/api-v5-memory-forgetting.mdx (not served here)
- apps/docs/snippets/api-v5-namespaces.mdx (not served here)
- apps/docs/snippets/api-v5-organization.mdx (not served here)
- apps/docs/snippets/api-v5-overview.mdx (not served here)
- apps/docs/snippets/api-v5-profiles.mdx (not served here)
- apps/docs/snippets/api-v5-rollout.mdx (not served here)
- apps/docs/snippets/api-v5-sdks.mdx (not served here)
- apps/docs/snippets/api-v5-search.mdx (not served here)
- apps/docs/snippets/getting-api-key.mdx (not served here)
- apps/docs/snippets/hero-samples.jsx (not served here)
- apps/docs/snippets/journey.mdx (not served here)
- apps/docs/snippets/migrate-cli.mdx (not served here)
- apps/docs/snippets/slack-message.mdx (not served here)
- apps/docs/style.css (not served here)
- apps/docs/supermemory-mcp/chatgpt-web.mdx (not served here)
- apps/docs/supermemory-mcp/claude-desktop.mdx (not served here)
- apps/docs/supermemory-mcp/mcp.mdx (not served here)
- apps/docs/supermemory-mcp/setup.mdx (not served here)
- apps/docs/test.py (not served here)
- apps/docs/test.ts (not served here)
- apps/docs/theme-switch.js (not served here)
- apps/docs/user-profiles/buckets.mdx (not served here)
- apps/docs/using-supermemory.mdx (not served here)
- apps/docs/v5/api-reference/connectors.mdx (not served here)
- apps/docs/v5/api-reference/content-management.mdx (not served here)
- apps/docs/v5/api-reference/ingest.mdx (not served here)
- apps/docs/v5/api-reference/namespaces.mdx (not served here)
- apps/docs/v5/api-reference/organization.mdx (not served here)
- apps/docs/v5/api-reference/overview.mdx (not served here)
- apps/docs/v5/api-reference/profiles.mdx (not served here)
- apps/docs/v5/api-reference/search.mdx (not served here)
- apps/docs/videos/eve-memory.mp4 (not served here)
- apps/mcp/.dev.vars.example (not served here)
- apps/mcp/.gitignore (not served here)
- apps/mcp/README.md (not served here)
- apps/mcp/e2e/auth.test.ts (not served here)
- apps/mcp/e2e/capture-oauth-token.ts (not served here)
- apps/mcp/e2e/discovery.test.ts (not served here)
- apps/mcp/e2e/graph.test.ts (not served here)
- apps/mcp/e2e/helpers.ts (not served here)
- apps/mcp/e2e/list-memories.test.ts (not served here)
- apps/mcp/e2e/memory.test.ts (not served here)
- apps/mcp/e2e/oauth.test.ts (not served here)
- apps/mcp/e2e/space-scope.test.ts (not served here)
- apps/mcp/e2e/widgets.test.ts (not served here)
- apps/mcp/package.json (not served here)
- apps/mcp/pnpm-workspace.yaml (not served here)
- apps/mcp/scripts/build-widget.ts (not served here)
- apps/mcp/src/server/analytics.ts (not served here)
- apps/mcp/src/server/app-metadata.ts (not served here)
- apps/mcp/src/server/auth/index.test.ts (not served here)
- apps/mcp/src/server/auth/index.ts (not served here)
- apps/mcp/src/server/auth/rbac.test.ts (not served here)
- apps/mcp/src/server/auth/rbac.ts (not served here)
- apps/mcp/src/server/client/index.ts (not served here)
- apps/mcp/src/server/format.ts (not served here)
- apps/mcp/src/server/html.d.ts (not served here)
- apps/mcp/src/server/index.ts (not served here)
- apps/mcp/src/server/legacy-protocol-state.ts (not served here)
- apps/mcp/src/server/namespace.ts (not served here)
- apps/mcp/src/server/prompts/context.ts (not served here)
- apps/mcp/src/server/resources/namespaces.ts (not served here)
- apps/mcp/src/server/resources/profile.ts (not served here)
- apps/mcp/src/server/resources/widget.ts (not served here)
- apps/mcp/src/server/server.ts (not served here)
- apps/mcp/src/server/space-presentation.ts (not served here)
- apps/mcp/src/server/space-state.ts (not served here)
- apps/mcp/src/server/space.ts (not served here)
- apps/mcp/src/server/tools/add-memory.ts (not served here)
- apps/mcp/src/server/tools/annotations.ts (not served here)
- apps/mcp/src/server/tools/compat.test.ts (not served here)
- apps/mcp/src/server/tools/compat.ts (not served here)
- apps/mcp/src/server/tools/fetch-graph-data.ts (not served here)
- apps/mcp/src/server/tools/forget-memory.ts (not served here)
- apps/mcp/src/server/tools/get-document.ts (not served here)
- apps/mcp/src/server/tools/get-profile.ts (not served here)
- apps/mcp/src/server/tools/guided-save.ts (not served here)
- apps/mcp/src/server/tools/index.ts (not served here)
- apps/mcp/src/server/tools/list-documents.ts (not served here)
- apps/mcp/src/server/tools/list-memories.ts (not served here)
- apps/mcp/src/server/tools/list-namespaces.ts (not served here)
- apps/mcp/src/server/tools/memory-graph.ts (not served here)
- apps/mcp/src/server/tools/output-schemas.ts (not served here)
- apps/mcp/src/server/tools/prepare-file-upload.ts (not served here)
- apps/mcp/src/server/tools/save-memory.ts (not served here)
- apps/mcp/src/server/tools/search-memory.ts (not served here)
- apps/mcp/src/server/tools/select-space.ts (not served here)
- apps/mcp/src/server/tools/set-active-tag.ts (not served here)
- apps/mcp/src/server/tools/types.ts (not served here)
- apps/mcp/src/server/tools/upload-file.ts (not served here)
- apps/mcp/src/server/tools/who-am-i.ts (not served here)
- apps/mcp/src/server/types.ts (not served here)
- apps/mcp/src/server/widget-manifest.d.ts (not served here)
- apps/mcp/src/server/widget-resource-metadata.ts (not served here)
- apps/mcp/src/shared/types.ts (not served here)
- apps/mcp/src/widget/App.tsx (not served here)
- apps/mcp/src/widget/ErrorBoundary.tsx (not served here)
- apps/mcp/src/widget/McpAppProvider.tsx (not served here)
- apps/mcp/src/widget/components/PermissionBadge.tsx (not served here)
- apps/mcp/src/widget/components/SpaceCard.tsx (not served here)
- apps/mcp/src/widget/components/SpaceChip.tsx (not served here)
- apps/mcp/src/widget/components/SpaceField.tsx (not served here)
- apps/mcp/src/widget/components/Spinner.tsx (not served here)
- apps/mcp/src/widget/design/globals.css (not served here)
- apps/mcp/src/widget/design/lib/cn.ts (not served here)
- apps/mcp/src/widget/design/tokens.css (not served here)
- apps/mcp/src/widget/design/ui/ActionGroup.tsx (not served here)
- apps/mcp/src/widget/design/ui/Badge.tsx (not served here)
- apps/mcp/src/widget/design/ui/Button.tsx (not served here)
- apps/mcp/src/widget/design/ui/Card.tsx (not served here)
- apps/mcp/src/widget/design/ui/Chip.tsx (not served here)
- packages/agent-framework-python/LICENSE
- packages/openai-sdk-python/LICENSE
- packages/tools/LICENSE
- skills/supermemory/LICENSE
Advantages
- Provides a unified API for memory, RAG, user profiles, and connectors. evidence: README.md
- Supports local execution via a single binary with zero configuration. evidence: README.md
Limitations
- Requires specific setup for each supported AI agent plugin. evidence: AGENTS.md
- Processing is asynchronous, requiring status checks before accessing updated memories. evidence: AGENTS.md
Security
Risk level: Medium risk
This brain runs
Agent instructions that run or fetch something (42)
AGENTS.md:`npx supermemory setup --prompt` prints the integration prompt for the current project.AGENTS.md:Plain `npx supermemory setup` launches a separate coding agent, so use `--prompt` when you are already an agent.AGENTS.md:`npx supermemory help --json` lists every CLI command in a machine-readable form.AGENTS.md:npx skills add https://github.com/supermemoryai/skills --skill supermemoryAGENTS.md:Set `SUPERMEMORY_API_KEY` (create a key in the [console](https://console.supermemory.ai)), then install SDK version 5 or later:AGENTS.md:**Write:** `POST https://api.supermemory.ai/ns/{namespace}/document`· uses the networkAGENTS.md:**Search:** `POST https://api.supermemory.ai/ns/{namespace}/search`· uses the networkAGENTS.md:**Profile:** `POST https://api.supermemory.ai/ns/{namespace}/profile`· uses the networkAGENTS.md:**SDK calls:** `client.add({ containerTag })`, `client.search.execute`, `client.memories.add`, `client.memories.updateMemory`, `client.profile({ q })`AGENTS.md:Code on v3/v4 moves with `npx supermemory@latest migrate --prompt`, which prints the migration prompt for you to follow ([migration guide](https://supermemory.ai/docs/migration/api-v5)).AGENTS.md:npx supermemory plugin --allAGENTS.md:npx supermemory plugin --only claudeAGENTS.md:Plain `npx supermemory plugin` asks which agents to install for.AGENTS.md:`--dry-run` shows what would run without installing anything.AGENTS.md:run `npx supermemory plugin login` later.AGENTS.md:To install a single plugin by hand, or for an agent the CLI doesn't cover (Hermes, OpenClaw, any MCP client):AGENTS.md:| Agent | Install | Guide | | --- | --- | --- | | Claude Code | `/plugin marketplace add supermemoryai/claude-supermemory`, then `/plugin install supermemory` | [docs](https://supermemory.ai/docs/integrations/claude-code) | | Cursor | `/add-plugin cursor-supermemory`, or Supermemory in …[+830 chars]AGENTS.md:`npx supermemory local` runs a local server, at `http://localhost:6767` by default.AGENTS.md:Use `dev:local`, not `bun run dev`: `dev` runs through portless, which binds port 443 and trusts a local CA.AGENTS.md:`dev:local` also needs Python and `uv` (the sdk playground runs `uv run server.py`) and network access (the docs run Mintlify).AGENTS.md:Use `bunx turbo run build` rather than `bun run build`: the root `postbuild` step uploads Sentry sourcemaps.AGENTS.md:The tools steps run when `packages/tools` changes and the sdk-playground steps when `apps/sdk-playground` changes (the tools build runs for either);AGENTS.md:memory-graph and Biome run on every pull request.AGENTS.md:`bun run format-lint` rewrites files across the whole repo with Biome, so prefer the changed-files check above.AGENTS.md:Run the CI checks above for the areas you touched, plus `bun run check-types`.AGENTS.md:CONTRIBUTING.md suggests `bun run format-lint` and `bun run build`;AGENTS.md:use the changed-files Biome check and `bunx turbo run build` above instead.CLAUDE.md:`bun run dev` - Start all applications in development modeCLAUDE.md:`bun run build` - Build all applicationsCLAUDE.md:`bun run check-types` - Run TypeScript checks across all appsCLAUDE.md:`bun run format-lint` - Format and lint code using BiomeCLAUDE.md:`bun run dev` - Start Next.js development serverCLAUDE.md:`bun run build` - Build Next.js applicationCLAUDE.md:`bun run lint` - Run Next.js lintingCLAUDE.md:Run `bun run format-lint` to format and lint all codeCLAUDE.md:Type checking with `bun run check-types`skills/supermemory/SKILL.md:**Get API Key**: Sign up at [console.supermemory.ai](https://console.supermemory.ai)· uses the networkskills/supermemory/SKILL.md:**Install SDK**: Supermemory works with the following SDKs natively:skills/supermemory/SKILL.md:**TypeScript/JavaScript**: `npm install supermemory` ([npm](https://www.npmjs.com/package/supermemory))skills/supermemory/SKILL.md:**Python**: `pip install supermemory` ([PyPI](https://pypi.org/project/supermemory/))skills/supermemory/SKILL.md:**TypeScript agent tools/middleware**: `npm install @supermemory/tools`skills/supermemory/SKILL.md:**Python OpenAI tools/middleware**: `pip install supermemory-openai-sdk`
MCP servers (2)
README.md(supermemory):https://mcp.supermemory.ai/mcp· uses the networkREADME.md(supermemory):https://mcp.supermemory.ai/mcp· uses the network
Install scripts (2)
README.md:curl -fsSL https://supermemory.ai/install | bash· uses the networkREADME.md:curl -fsSL https://supermemory.ai/install | bash· uses the network
- Medium risk: runs-instruction-instruction-own-service (AGENTS.md:69)
- Medium risk: runs-instruction-instruction-own-service (AGENTS.md:70)
- Medium risk: runs-instruction-instruction-own-service (AGENTS.md:71)
- Medium risk: runs-install-script-remote-exec (README.md:97)
- Medium risk: runs-install-script-remote-exec (README.md:319)
- Medium risk: runs-instruction-instruction-network (skills/supermemory/SKILL.md:123)
- Low risk: network-instructions (AGENTS.md:36)
- Low risk: network-instructions (skills/supermemory/SKILL.md:126)
Attribution and licence
- Created by
- supermemory
- Publisher
- supermemory (Official supermemory project)
- Source
- supermemoryai/supermemory · commit 8af3b91
- Licence
- MIT License (files served here)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by supermemory.
Install from source
500 of its files are not served here, so there is no ZIP. supermemoryai/supermemory at 8af3b91