docs/changelog/highlights.mdx
SDK Memory Expiration: Expiring Memories Across Python and TypeScript
The latest SDK releases add first-class expiration controls to memory writes, updates, and reads, plus new TypeScript provider coverage for production deployments.
MemoryClient.update() and AsyncMemoryClient.update() now accept expiration_date, including None to clear an existing expiration.AddMemoryOptions, update(), and Memory now support expirationDate; search() and getAll() can include expired memories with showExpired.MiniMaxLLM and LiteLLM are now available for OpenAI-compatible MiniMax and LiteLLM proxy deployments.connectionString and ssl, so apps can use a managed Postgres URI instead of separate connection fields.See SDK & Tools for version details and PR links.
</Update> <Update label="2026-06-25" description="Mem0 Plugin v0.2.11">Mem0 Plugin: Shared Memory for Claude Code, Cursor, Codex, and Antigravity
The shared Mem0 editor plugin is current through v0.2.11:
global_search supports team-wide recall across users and app scopes.Antigravity Plugin: Mem0 for Google Antigravity
Antigravity support in the shared Mem0 editor plugin family is current through v0.1.3:
contextFileName: "AGENTS.md" convention.files_touched metadata in session summaries.antigravity with the plugin's own version.OpenCode Plugin: Native SDK Memory Tools for OpenCode
@mem0/opencode-plugin adds memory to OpenCode and is current through v0.2.0:
@opencode-ai/plugin and call the mem0ai SDK directly, so the plugin no longer depends on mcp.mem0.ai.project, session, and global scope, with /mem0-scope to change the default.config hook adds bundled skills to skills.paths instead of copying them into user config directories.MEMORY.md writes and redacts secrets before storing memories.Pi Agent Plugin: Persistent Memory for Pi Agent
@mem0/pi-agent-plugin adds semantic memory to Pi Agent and has been updated through v0.1.2:
mem0_memory for scoped search, add, get, delete, and delete-all operations./mem0-remember, /mem0-search, /mem0-forget, /mem0-tour, /mem0-dream, /mem0-pin, /mem0-scope, and /mem0-status.app_id values across monorepos.OpenClaw Plugin: Current Memory Backend for OpenClaw
@mem0/openclaw-mem0 is current through v1.0.13, with the original production-ready memory backend plus newer setup, security, and runtime work:
openclaw mem0 init, direct API keys, email OTP, autonomous agent setup, and OSS onboarding.--json for machine-driven setup and diagnostics.Vercel AI SDK Provider: Memory-Augmented Generation for AI SDK v6
The Vercel AI SDK provider moved to the v6 provider contract and Mem0 v3 APIs:
LanguageModelV3 / ProviderV3, including v3 stream lifecycle events and content arrays./v3/memories/add/ and /v3/memories/search/.generateText and streamText responses include memories as sources with providerMetadata.mem0.memories.addMemories is awaited so generated memories are not silently dropped.searchMemories, retrieveMemories, getMemories, and addMemories for apps that need direct memory control.mem0ApiKey and host support Mem0 Platform, custom API keys, and self-hosted API endpoints.Temporal Reasoning: Time-Aware Retrieval for Platform v3
Mem0 Platform v3 can now interpret time-aware memories and queries so assistants retrieve the right information for questions about the past, upcoming plans, and current state.
last week, upcoming, right now, and as of March 2025 now resolve against memory timestamps automatically.reference_date to anchor relative phrases in tests, backfills, and demos.See Temporal Reasoning for usage details.
</Update> <Update label="2026-05-08" description="Memory Decay">Memory Decay: Recently-Used Memories Surface Higher
Per-project search-time ranking bias that boosts recently-touched memories and gently dampens stale ones. Off by default; opt in per project via the decay field on the project endpoint, or via client.project.update(decay=True) in the SDKs (Python v2.0.2 / TypeScript v3.0.3).
0.3×–1.5×. Decay can reorder candidates but never removes them; anything that surfaced before decay can still surface after.[0, 1]. Existing API contract preserved; no client-side changes needed.New Memory Algorithm: State-of-the-Art Accuracy at ~3-4x Lower Cost
Ground-up rewrite of the memory pipeline with 20+ point benchmark improvements:
Breaking changes: external graph stores removed from OSS (replaced by built-in graph memory), search() defaults changed, deprecated params removed. See migration guide.
Mem0 Skill Graph: In-Context Documentation for AI Agents
AI coding agents in Claude Code, Cursor, and Codex can now access Mem0 knowledge directly in their workflow without leaving the editor. Three interconnected skills launched:
Official Mem0 CLI: Now on PyPI and npm
A full-featured command-line interface for Mem0, available in both Python and Node.js:
pip install mem0-cli or npm install -g @mem0/cliadd, search, list, get, update, delete, import, config, init, status, entity, event.mem0 init supports email verification and direct API key entry.--json for CI/CD pipelines and agent workflows.Apache AGE, Turbopuffer, MiniMax, and pgvector for Node.js
Major expansion of the provider ecosystem:
reasoning_effort parameter for OpenAI o1/o3-style models.Mem0 Platform Skill on skills.sh
First skill launch: a dedicated Mem0 skill providing platform API reference, quickstart patterns, and integration examples directly inside agent sessions. Available on skills.sh for any compatible AI coding agent.
</Update>