diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 156d52054..b4d0fd8ce 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,7 +11,7 @@ { "name": "mem0", "source": "./integrations/mem0-plugin", - "description": "Mem0 memory layer for AI applications. Add persistent memory, personalization, and semantic search to Claude workflows.", + "description": "Mem0, the memory layer for AI agents. Add persistent memory, personalization, and semantic search to Claude workflows.", "version": "0.2.14" } ] diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 5f726ccc9..6bd7450b1 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -11,7 +11,7 @@ { "name": "mem0", "source": "./integrations/mem0-plugin", - "description": "Mem0 memory layer for AI applications. Add persistent memory, personalization, and semantic search.", + "description": "Mem0, the memory layer for AI agents. Add persistent memory, personalization, and semantic search.", "version": "0.2.14" } ] diff --git a/LLM.md b/LLM.md index d8b07b34e..2c8be9294 100644 --- a/LLM.md +++ b/LLM.md @@ -1,4 +1,4 @@ -# Mem0 - The Memory Layer for Personalized AI +# Mem0 - The Memory Layer for AI Agents ## Overview diff --git a/README.md b/README.md index 9a81e74ef..96c34ac56 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,17 @@
-
-
-
-
+
+
@@ -15,62 +20,29 @@ Join Discord Β· Demo + Β· + Research
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- π Benchmarking Mem0's token-efficient memory algorithm β -
- -## New Memory Algorithm (April 2026) - -| Benchmark | Old | New | Tokens | Latency p50 | -| --- | --- | --- | --- | --- | -| **LoCoMo** | 71.4 | **92.5** | 7.0K | 0.88s | -| **LongMemEval** | 67.8 | **94.4** | 6.8K | 1.09s | -| **BEAM (1M)** | β | **64.1** | 6.7K | 1.00s | -| **BEAM (10M)** | β | **48.6** | 6.9K | 1.05s | - -All benchmarks run on the same production-representative model stack. Single-pass retrieval (one call, no agentic loops) at a top_200 retrieval budget. Scores reflect Mem0's managed platform, which includes proprietary optimizations not available in the open-source SDK; open-source users should expect directionally similar gains but not identical numbers. - -**What changed:** -- **Single-pass ADD-only extraction** -- one LLM call, no UPDATE/DELETE. Memories accumulate; nothing is overwritten. -- **Agent-generated facts are first-class** -- when an agent confirms an action, that information is now stored with equal weight. -- **Entity linking** -- entities are extracted, embedded, and linked across memories for retrieval boosting. -- **Multi-signal retrieval** -- semantic, BM25 keyword, and entity matching scored in parallel and fused. -- **Temporal Reasoning** -- time-aware retrieval that ranks the right dated instance for queries about current state, past events, and upcoming plans. - -See the [migration guide](https://docs.mem0.ai/migration/oss-v2-to-v3) for upgrade instructions. The [evaluation framework](https://github.com/mem0ai/memory-benchmarks) is open-sourced so anyone can reproduce the numbers. - -## Research Highlights -- **92.5 on LoCoMo** -- +21 points over the previous algorithm -- **94.4 on LongMemEval** -- +27 points, with 98.2 on assistant memory recall -- **64.1 on BEAM (1M)** -- production-scale memory evaluation at 1M tokens -- [Read the full paper](https://mem0.ai/research) - # Introduction -[Mem0](https://mem0.ai) ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions. It remembers user preferences, adapts to individual needs, and continuously learns over timeβideal for customer support chatbots, AI assistants, and autonomous systems. +[Mem0](https://mem0.ai) ("mem-zero") is the memory layer for AI agents. It remembers user preferences, decisions, and history across sessions, so your agents stop asking the same questions and stay useful over weeks instead of a single conversation. + +## How it works + +Mem0 sits between your app and your LLM. Two calls do the work. + +**On `add()`, Mem0 writes memory:** +1. Your conversation messages go to an LLM in a single extraction pass, which pulls out durable facts ("prefers dark mode", "ships to Berlin") and discards small talk. +2. Entities in those facts are extracted, embedded, and linked to entities already stored, so related memories connect to each other. +3. Facts are stored additively. Nothing is overwritten or deleted, so history stays auditable and a wrong extraction cannot silently erase a correct one. + +**On `search()`, Mem0 reads memory:** +1. Your query runs against three signals in parallel: semantic vector similarity, BM25 keyword matching, and entity overlap. +2. The three scores are fused, and time-aware ranking picks the right dated instance when facts changed over time ("where do I live" vs "where did I live before"). +3. You get back a short, ranked list to drop into your prompt, typically under 7K tokens instead of replaying a 25K+ token conversation history. + +That is the whole loop: `add()` after a turn, `search()` before the next one. Everything else (vector store, embedder, LLM, reranker) is swappable. ### Key Features & Use Cases @@ -84,6 +56,19 @@ See the [migration guide](https://docs.mem0.ai/migration/oss-v2-to-v3) for upgra - **Healthcare**: Track patient preferences and history for personalized care - **Productivity & Gaming**: Adaptive workflows and environments based on user behavior +## Benchmarks + +| Benchmark | Previous | Current | Tokens | Latency p50 | +| --- | --- | --- | --- | --- | +| **LoCoMo** | 71.4 | **92.5** | 7.0K | 0.88s | +| **LongMemEval** | 67.8 | **94.4** | 6.8K | 1.09s | +| **BEAM (1M)** | -- | **64.1** | 6.7K | 1.00s | +| **BEAM (10M)** | -- | **48.6** | 6.9K | 1.05s | + +All benchmarks run on the same production-representative model stack. Single-pass retrieval (one call, no agentic loops) at a top_200 retrieval budget. Scores reflect Mem0's managed platform, which includes proprietary optimizations not available in the open-source SDK; open-source users should expect directionally similar gains but not identical numbers. + +The [evaluation framework](https://github.com/mem0ai/memory-benchmarks) is open-sourced so anyone can reproduce the numbers, and the [full paper](https://mem0.ai/research) covers the methodology. Upgrading from v2? See the [migration guide](https://docs.mem0.ai/migration/oss-v2-to-v3). + ## π Quickstart Guide ### Sign up as an agent diff --git a/docs/docs.json b/docs/docs.json index cb2f189cf..bc599f170 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -1,7 +1,7 @@ { "$schema": "https://mintlify.com/docs.json", "name": "Mem0", - "description": "Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users.", + "description": "Mem0 is the memory layer for AI agents, giving them persistent, personalized context across sessions.", "theme": "aspen", "colors": { "primary": "#8F74E0", diff --git a/docs/integrations/raycast.mdx b/docs/integrations/raycast.mdx index 05f96d724..69e26ccb3 100644 --- a/docs/integrations/raycast.mdx +++ b/docs/integrations/raycast.mdx @@ -3,7 +3,7 @@ title: "Raycast Extension" description: "Mem0 Raycast extension for intelligent memory management" --- -Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users. This extension lets you store and retrieve text snippets using Mem0's intelligent memory system. Find Mem0 in [Raycast Store](https://www.raycast.com/dev_khant/mem0) for using it. +Mem0 is the memory layer for AI agents, giving them persistent, personalized context across sessions. This extension lets you store and retrieve text snippets using Mem0's intelligent memory system. Find Mem0 in [Raycast Store](https://www.raycast.com/dev_khant/mem0) for using it. ## Getting Started diff --git a/docs/integrations/respan.mdx b/docs/integrations/respan.mdx index eebc18e36..4020a42f7 100644 --- a/docs/integrations/respan.mdx +++ b/docs/integrations/respan.mdx @@ -7,7 +7,7 @@ Build AI applications with persistent memory and comprehensive LLM observability ## Overview -Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users. Respan (formerly Keywords AI) provides complete LLM observability. +Mem0 is the memory layer for AI agents, giving them persistent, personalized context across sessions. Respan (formerly Keywords AI) provides complete LLM observability. Combining Mem0 with Respan allows you to: 1. Add persistent memory to your AI applications diff --git a/docs/migration/oss-v2-to-v3.mdx b/docs/migration/oss-v2-to-v3.mdx index 50ba82247..6e3bebaef 100644 --- a/docs/migration/oss-v2-to-v3.mdx +++ b/docs/migration/oss-v2-to-v3.mdx @@ -20,7 +20,7 @@ The new Mem0 release redesigns both extraction and retrieval, and cleans up the - **SDK cleanup**: Deprecated parameters removed, naming conventions standardized - **API surface aligned with Platform**: Entity IDs now follow the same convention across OSS and Platform: top-level kwargs for `add()` / `delete_all()`, inside `filters` for `search()` / `get_all()` -These changes produce a **+20 point improvement on LoCoMo** (71.4 β 91.6) and **+26 point improvement on LongMemEval** (67.8 β 93.4), while cutting extraction latency roughly in half. +These changes produce a **+21 point improvement on LoCoMo** (71.4 β 92.5) and **+27 point improvement on LongMemEval** (67.8 β 94.4), while cutting extraction latency roughly in half. ## Breaking Changes diff --git a/docs/migration/platform-v2-to-v3.mdx b/docs/migration/platform-v2-to-v3.mdx index 8cc9690da..50f4a5337 100644 --- a/docs/migration/platform-v2-to-v3.mdx +++ b/docs/migration/platform-v2-to-v3.mdx @@ -11,7 +11,7 @@ iconType: "solid" ## Overview -The new Mem0 memory algorithm is a ground-up redesign of how memories are extracted, stored, and retrieved. It scores **91.6 on LoCoMo** and **93.4 on LongMemEval**: a +20 and +26 point improvement over the previous algorithm: while cutting extraction latency roughly in half. +The new Mem0 memory algorithm is a ground-up redesign of how memories are extracted, stored, and retrieved. It scores **92.5 on LoCoMo** and **94.4 on LongMemEval**, a +21 and +27 point improvement over the previous algorithm, while cutting extraction latency roughly in half. | What Changed | Before | After | |---|---|---| diff --git a/docs/platform/overview.mdx b/docs/platform/overview.mdx index 2743dfbac..80a30f2c4 100644 --- a/docs/platform/overview.mdx +++ b/docs/platform/overview.mdx @@ -4,7 +4,7 @@ description: "Managed memory layer for AI agents, production-ready in minutes" icon: "cloud" --- -Mem0 Platform is the fully managed memory layer for your AI apps and agents. Your users stop repeating themselves and your agents keep context across sessions, with no vector store, reranker, or infrastructure to run. +Mem0 Platform is the fully managed memory layer for AI agents. Your users stop repeating themselves and your agents keep context across sessions, with no vector store, reranker, or infrastructure to run. ## Why teams pick the Platform diff --git a/integrations/mem0-plugin/.cursor-plugin/plugin.json b/integrations/mem0-plugin/.cursor-plugin/plugin.json index cdceabb02..72b7259ab 100644 --- a/integrations/mem0-plugin/.cursor-plugin/plugin.json +++ b/integrations/mem0-plugin/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "mem0", "version": "0.2.13", - "description": "Mem0 memory layer for AI applications. Add persistent memory, personalization, and semantic search using the Mem0 Platform MCP server.", + "description": "Mem0, the memory layer for AI agents. Add persistent memory, personalization, and semantic search using the Mem0 Platform MCP server.", "author": { "name": "Mem0", "email": "support@mem0.ai" diff --git a/integrations/mem0-plugin/skills/mem0/SKILL.md b/integrations/mem0-plugin/skills/mem0/SKILL.md index 24cd827f2..a9a3cfe01 100644 --- a/integrations/mem0-plugin/skills/mem0/SKILL.md +++ b/integrations/mem0-plugin/skills/mem0/SKILL.md @@ -16,7 +16,7 @@ compatibility: Requires Python 3.10+ or Node.js 18+, pip install mem0ai or npm i > - **mem0** (this skill) -- Platform Client SDK + OSS (Python + TypeScript) > - **[mem0-vercel-ai-sdk](https://github.com/mem0ai/mem0/tree/main/skills/mem0-vercel-ai-sdk)** -- Vercel AI SDK provider -Mem0 is a managed memory layer for AI applications. It stores, retrieves, and manages user memories via API β no infrastructure to deploy. For self-hosted usage, see the OSS section in the client references below. +Mem0 is the managed memory layer for AI agents. It stores, retrieves, and manages user memories via API, no infrastructure to deploy. For self-hosted usage, see the OSS section in the client references below. ## Step 1: Install and authenticate diff --git a/mem0-ts/README.md b/mem0-ts/README.md index 7baae2f96..fe81e27a1 100644 --- a/mem0-ts/README.md +++ b/mem0-ts/README.md @@ -1,6 +1,6 @@ -# Mem0 - The Memory Layer for Your AI Apps +# Mem0 - The Memory Layer for AI Agents -Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users. We offer both cloud and open-source solutions to cater to different needs. +Mem0 is the memory layer for AI agents, giving them persistent, personalized context across sessions. We offer both cloud and open-source solutions to cater to different needs. See the complete [OSS Docs](https://docs.mem0.ai/open-source/node-quickstart). See the complete [Platform API Reference](https://docs.mem0.ai/api-reference). diff --git a/mem0-ts/package.json b/mem0-ts/package.json index 90ebebec3..508a7d9f3 100644 --- a/mem0-ts/package.json +++ b/mem0-ts/package.json @@ -1,7 +1,7 @@ { "name": "mem0ai", "version": "3.1.6", - "description": "The Memory Layer For Your AI Apps", + "description": "The memory layer for AI agents", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/skills/mem0/SKILL.md b/skills/mem0/SKILL.md index 508870f01..1b0c418fc 100644 --- a/skills/mem0/SKILL.md +++ b/skills/mem0/SKILL.md @@ -28,7 +28,7 @@ compatibility: Requires Python 3.10+ or Node.js 18+, pip install mem0ai or npm i > - **[mem0-cli](../mem0-cli/SKILL.md)** ([GitHub](https://github.com/mem0ai/mem0/tree/main/skills/mem0-cli)) -- Command-line interface > - **[mem0-vercel-ai-sdk](../mem0-vercel-ai-sdk/SKILL.md)** ([GitHub](https://github.com/mem0ai/mem0/tree/main/skills/mem0-vercel-ai-sdk)) -- Vercel AI SDK provider -Mem0 is a managed memory layer for AI applications. It stores, retrieves, and manages user memories via API β no infrastructure to deploy. For self-hosted usage, see the OSS section in the client references below. +Mem0 is the managed memory layer for AI agents. It stores, retrieves, and manages user memories via API, no infrastructure to deploy. For self-hosted usage, see the OSS section in the client references below. ## Step 1: Install and authenticate