项目简介
Supermemory 是面向 AI 的记忆与上下文引擎。它从对话中提取事实,构建用户画像,并提供混合搜索(RAG)。既适用于开发者集成 API,也适合终端用户使用应用。
README 预览
\n \n \n \n \n \n\n\n\n State-of-the-art memory and context engine for AI. And yes - you can use it as a company/personal brain.\n\n\n\n Docs ·\n Quickstart ·\n Dashboard ·\n Discord\n\n\n\n \n \n \n\n\n---\n\nSupermemory is the memory and context layer for AI. **#1 on [LongMemEval](https://github.com/xiaowu0162/LongMemEval), [LoCoMo](https://github.com/snap-research/locomo), and [ConvoMem](https://github.com/Salesforce/ConvoMem)** — the three major benchmarks for AI memory. \n\nWe are a research lab building the engine, plugins and tools around it.\n\nYour AI forgets everything between conversations. Supermemory fixes that.\n\nIt 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.\n\n| | |\n|---|---|\n| 🧠 **Memory** | Extracts facts from conversations. Handles temporal changes, contradictions, and automatic forgetting. |\n| 👤 **User Profiles** | Auto-maintained user context — stable facts + recent activity. One call, ~50ms. |\n| 🔍 **Hybrid Search** | RAG + Memory in a single query. Knowledge base docs and personalized context together. |\n| 🔌 **Connectors** | Google Drive · Gmail · Notion · OneDrive · GitHub — auto-sync with real-time webhooks. |\n| 📄 **Multi-modal Extractors** | PDFs, images (OCR), videos (transcription), code (AST-aware chunking). Upload and it works. |\n\nAll of this is in our single memory structure and ontology. \n\n\n\n\n---\n\n## Use Supermemory\n\n\n\n\n\n🧑💻 I use AI tools\n\nBuild your own personal supermemory by using our app. Builds **persistent memory graph across every conversation**.\n\nYour AI remembers your preferences, projects, past discussions — and gets smarter over time.\n\n**[→ Jump to User setup](#give-your-ai-memory)**\n\n\n\n\n🔧 I'm building AI products\n\nAdd memory, RA
常见问题 (1)
故障排除为什么在使用 AI SDK 6 时,withSupermemory 会抛出 AI_UnsupportedModelVersionError?
故障排除
为什么在使用 AI SDK 6 时,withSupermemory 会抛出 AI_UnsupportedModelVersionError?withSupermemory 函数使用 object spread 来包装语言模型,但 AI SDK 6 模型存储了 non-enumerable/prototype 属性,例如 specificationVersion、provider、modelId 和 supportedUrls。Spread 不会复制这些属性,导致产生 undefined 值,从而触发错误。修复方法:将 wrapVercelLanguageModel(packages/tools/src/vercel/index.ts)中的 spread 模式替换为来自 'ai' 的标准 wrapLanguageModel middleware 方法(import { wrapLanguageModel, LanguageModelV3Middleware } from 'ai')。作为临时解决方法,在库更新之前,手动使用 wrapLanguageModel 实现一个 wrapper。受影响的版本:@supermemory/tools@1.4.1, ai@6.0.158, @ai-sdk/provider@3.0.8。