Mem0 v2.0.20 — the Claude Code plugin ships on its own

2 hours ago

Mem0 v2.0.20 is out. The Claude Code plugin becomes its own integration, Dream synthesis gets documented endpoints, and open source notices stop calling a feature flag service.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

Show transcript

Mem0 v2.0.20

Mem0 v2.0.20 is out. The Claude Code plugin becomes its own integration, Dream synthesis gets documented endpoints, and open source notices stop calling a feature flag service.

The Claude Code plugin

The Claude Code plugin.

Plugin 0.3.0

The Claude Code plugin now lives in its own directory and ships as version 0.3.0. You add the Mem0 plugin marketplace, install it with one command, and restart Claude Code.

Local capture

Hooks save what happened in the session to your own disk. Your messages, Claude's answers, the file paths that changed, and short test results. No model runs, and nothing blocks.

Background flush

After every five completed exchanges, a detached background worker sends that batch to Mem0. Five idle minutes flush as well, and the worker keeps running after Claude Code exits.

Automatic recall

On the next session's first prompt the plugin searches by itself and hands Claude up to five relevant memories. It doesn't call a model to write that query.

What it keeps, and what it sends

What it keeps, and what it sends.

Two pools of memory

Each flush splits into two pools. Shared project memory holds the repo's conventions, decisions and working commands, and everyone on the repo reads it. Personal memory holds your habits, and stays yours.

Commands and scope

You can search earlier sessions yourself, check what is still pending, or delete your memories for this repo. Search takes a scope: the whole repository, the current directory, or only your own preferences.

The sidekick agent

The plugin also ships a Sonnet agent that runs in a separate git worktree. It investigates or implements, the main session reviews the result, and corrections go back to the same sidekick.

What leaves the machine

Mem0 receives your messages, Claude's answers, and the paths that changed. Complete files and general tool output stay local, and values that look like credentials are redacted before anything is sent.

Beyond the editor

Beyond the editor.

Vercel Marketplace

Installing Mem0 from the Vercel Marketplace creates an account and a project for you. It injects the API key and the project variables straight into your Vercel project, and Vercel handles the billing.

Dream synthesis

Dream supersedes and merges memories as they arrive. Synthesis is the opt-in half: you enable it per project, and it only covers memories added after that. A preview endpoint reports the scope without writing.

In the SDK

In the SDK.

Notices go static

Open source notices used to ask PostHog for a feature flag. They now read a static config file, cache it for an hour, and fall back to a bundled copy that is switched off.

Smaller changes

RedisDBConfig rejects unknown fields with a standard Pydantic error. The Strands and DeepSeek packages were renamed, so your imports change. And the Oracle setup docs now install the right package.

Upgrade

That is v2.0.20, published on September second. Upgrade mem0ai from PyPI or from npm, and update the plugin from the Mem0 marketplace.