Supermemory

Active
GitHub TypeScript MIT

Description

An extremely fast and scalable memory engine for the AI era. Provides a unified Memory API for AI applications with large-scale knowledge storage and efficient retrieval.

Key Features

  • Conversational Memory Extraction — Automatically extracts facts from conversations handling temporal changes and contradictions
  • User Profile Building — Auto-maintains user preferences, projects, and recent activity context summaries
  • Hybrid Search — RAG and memory search unified, retrieving knowledge docs and personalized context together
  • Connector Ecosystem — Auto-sync with Google Drive, Gmail, Notion, OneDrive, and GitHub
  • Multi-Modal Extractors — Handles PDFs, image OCR, video transcription, and code AST-aware chunking
  • MCP Integration — Provides persistent memory to AI tools like Claude and Cursor via MCP server

Use Cases

💡 Providing cross-conversation persistent memory for AI assistants to remember user preferences and project context
💡 Building a personal knowledge brain that auto-organizes and retrieves key information from past conversations
💡 Injecting real-time user profiles into AI agents for personalized responses
💡 Connecting external data sources (Gmail, Notion, etc.) to build a unified knowledge base
💡 Adding project memory to coding tools like Cursor/Claude Code via MCP protocol

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (28.9k stars)
  • Permissive open-source license (MIT)
  • Established track record (2 years in production)

Quick Start

npm install supermemory

import Supermemory from 'supermemory';
const client = new Supermemory();

// Store conversation memory
await client.add({
  content: 'User prefers functional TypeScript patterns',
  containerTag: 'user_123',
});

// Get user profile and relevant memories
const { profile, searchResults } = await client.profile({
  containerTag: 'user_123',
  q: 'What programming style does the user prefer?',
});

console.log(profile.static);  // Long-term facts
console.log(profile.dynamic); // Recent context

Related Projects

MaxKB

22.5k · Python
Active A+

MaxKB is an open-source knowledge base Q&A and agent building platform powered by LLMs, with vector retrieval, workflow orchestration, and multi-model support out of the box.

knowledge-baseragchatbot +3
  • · RAG Pipeline — Document upload and online crawling with automatic splitting and vectorization to reduce hallucinations
  • · Agentic Workflow — Powerful workflow engine, function library and MCP tool-use for complex business scenarios
  • · Zero-code Integration — Seamlessly integrate into third-party business systems for smart Q&A capabilities

MemAgent

1.1k · Python
Stale B

A MemAgent framework that can extrapolate to 3.5M context tokens, along with a training framework for RL training of any agent workflow.

memoryagentrag +2
  • · Ultra-Long Context Processing: Extrapolate from 8K training context to 3.5M tokens with performance loss under 5%
  • · Reinforcement Learning Driven: Trained with RLVR (Reinforcement Learning from Verifiable Rewards), extends DAPO algorithm for end-to-end multi-turn conversation optimization
  • · Linear Time Complexity: Breaks through computational bottlenecks in long-text processing with linear resource scaling

MemOS

10.7k · TypeScript
Active A+

MemOS is a Memory Operating System for LLMs and AI agents that unifies store, retrieve, and manage for long-term memory, with built-in KB, multi-modal, and tool memory support.

agent-memorymemory-managementlong-term-memory +3
  • · Unified memory API for add, retrieve, edit, and delete — graph-structured, inspectable, not a black box
  • · Multi-modal memory supporting text, images, tool traces, and personas in one system
  • · Multi-Cube Knowledge Base management for isolated, shareable, composable memory across agents