Skip to content

Releases: mem0ai/mem0

Mem0 Python SDK (v2.0.2)

07 May 20:03
9043fbf

Choose a tag to compare

Mem0 Python SDK (v2.0.2)

Bug Fixes:

  • Telemetry: Stitch OSS and platform PostHog identities on MemoryClient init so $identify events fire and a single user is no longer tracked as two or three disconnected personas (#5040)
  • Security: Harden against SQL injection and prompt injection (#4997)

New Features:

  • SDK: Expose decay on project.update (#5062)

Improvements:

  • Plugin: Hand mem0 search decisions to the agent (#4992)

Mem0 Node SDK (v3.0.2)

07 May 20:04
9043fbf

Choose a tag to compare

Mem0 Node SDK (v3.0.3)

Bug Fixes:

  • Telemetry: Stitch OSS and platform PostHog identities on MemoryClient init so $identify events fire and a single user is no longer tracked as two or three disconnected personas (#5040)
  • Vector Stores: Fix inverted vector distance in PGVector implementation (#4944)
  • Security: Harden against SQL injection and prompt injection (#4997)

New Features:

  • SDK: Expose decay on project.update (#5062)

Mem0 OpenClaw Plugin (v1.0.11)

29 Apr 17:16
6d3486c

Choose a tag to compare

Mem0 OpenClaw Plugin (v1.0.11)

New Features:

  • Skills-mode auto-setup: enableSkillsConfig() now runs automatically after onboarding — enables triage, recall (with reranking + keyword search), and dream consolidation with tools.profile = "full" and disables the built-in session-memory hook to avoid conflicts
  • Memory runtime capability: Plugin now exposes runtime.getMemorySearchManager() and resolveMemoryBackendConfig() on the registered memory capability, enabling OpenClaw gateway to query memory status and backend config directly
  • Dimension-aware collections: OSS wizard detects embedder dimension changes and creates a new collection (mem0_<dims>d) automatically, with a warning about old memories being inaccessible under the new embedder
  • Tool documentation in skills: Both memory-triage and memory-dream SKILL.md files now include full tool reference sections listing all available tools with parameters

Improvements:

  • Auto-capture and auto-recall default to enabled: autoCapture and autoRecall now default to true (was false). Manifest descriptions updated accordingly. Ignored in skills mode
  • memory_update over delete+add: Skills now prefer memory_update for in-place edits — atomic and preserves edit history. Consolidation pattern updated: update best memory, delete redundant ones
  • Search threshold lowered: Default searchThreshold reduced from 0.5 to 0.1 for broader recall. Removed hardcoded 0.6 recall-specific override — all searches now use the configured threshold
  • Embedder dimension propagation: Vector store config auto-resolves dimensions from embedder config when not explicitly set. Syncs dimension and embeddingModelDims fields for Qdrant/PGVector compatibility
  • Config file write safety: writeFullConfig() now re-reads and deep-merges the plugins section before writing, preserving installs and slots written by the OpenClaw gateway
  • Additional embedder models: Added mxbai-embed-large (1024), all-minilm (384), and snowflake-arctic-embed (1024) to known embedder dimensions

Security:

Fixes:

  • Moved bootstrapTelemetryFlag() and removed ensureInstallRecord() from module-level side effects — both now run inside register() to avoid crashes when loaded outside OpenClaw gateway
  • Fixed OSS history DB path resolution: absolute paths no longer passed through resolvePath(), preventing double-prefix bugs
  • Manifest providerAuthEnvVars replaced with spec-compliant setup.providers format using id + envVars

Dependencies:

  • Bumped mem0ai from 3.0.1 to 3.0.2
  • Bumped pluginApi and minGatewayVersion compat to >=2026.4.24

Mem0 Python SDK (v2.0.1)

25 Apr 17:38
bd9d27f

Choose a tag to compare

Mem0 Python SDK (v2.0.1)

Bug Fixes:

  • Client: Map user_id, agent_id, run_id entity params to filters in GET /memories (#4960)
  • Memory: Honor prompt param in vector store extraction pipeline (#4914)
  • Memory: Add missing text_lemmatized field in AsyncMemory._create_memory (#4886)
  • Memory: Merge same-key operator dicts in AND metadata filters (#4853)
  • LLMs: Narrow _is_reasoning_model check to not match gpt-5.x variants (#4746)
  • Vector Stores: Add ca_certs config option for Elasticsearch vector store (#3993)
  • Vector Stores: Add agent_id and run_id to Elasticsearch/OpenSearch default mappings (#4906)
  • Embeddings: Set FastEmbed embedding_dims from model metadata at init (#4711)

Security:

  • Bump vulnerable dependencies to patched versions (#4835)

Mem0 Node SDK (v3.0.2)

25 Apr 17:39
bd9d27f

Choose a tag to compare

Mem0 Node SDK (v3.0.2)

Bug Fixes:

  • LLMs: Forward timeout config to OpenAI client in JS OSS LLM providers (#4770)

Improvements:

  • Telemetry: Harden TS telemetry version injection and require changelog entry on version bump (#4900)
  • Docs: Update memory tool list, CLI usage, and config file reading logic (#4861)

Mem0 OpenClaw Plugin (v1.0.10)

23 Apr 14:20
2549a84

Choose a tag to compare

Mem0 OpenClaw Plugin (v1.0.10)

Security:

  • Telemetry distinct_id now uses SHA-256 instead of MD5 — prevents rainbow-table reversal of API key hashes
  • User email is now SHA-256 hashed before sending as distinct_id — no PII in telemetry payloads
  • Declared PostHog telemetry endpoint (us.i.posthog.com) in providerEndpoints

Fixes:

  • Fixed version-pinned install records preventing plugin updates. ensureInstallRecord() now detects semver-pinned specs (e.g. @mem0/openclaw-mem0@1.0.7) and rewrites them to @latest or clawhub: prefix so openclaw plugins update resolves to the newest release
  • Fixed searchThreshold default inconsistency: standardized to 0.3 across docs, README, and manifest
  • PLUGIN_VERSION now injected at build time via tsup define from package.json — no more hardcoded version strings

Manifest Compliance:

  • Removed non-spec fields: requiredEnvVars, dataLocations, privacy, setup (with externalEndpoints, providers, requiresRuntime, postInstallHint)
  • Replaced setup.externalEndpoints with spec-compliant providerEndpoints using endpointClass + hosts format
  • Env var declarations now rely solely on providerAuthEnvVars (already spec-compliant)

Docs:

  • Fixed openclaw plugins update command: uses plugin ID (openclaw-mem0), not npm package name (@mem0/openclaw-mem0)
  • Added update section to README
  • Removed redundant "Key Features" and "Conclusion" sections from integration docs

Mem0 OpenClaw Plugin (v1.0.9)

22 Apr 17:28
282feae

Choose a tag to compare

Mem0 OpenClaw Plugin (v1.0.9)

Security & Compliance:

  • Added top-level requiredEnvVars to plugin manifest, declaring env vars per mode (platform, OSS OpenAI, OSS Anthropic, OSS Ollama). Fixes ClaHub scanner "required env vars: none" mismatch
  • Added sensitive: true and descriptions to apiKey and userEmail in configSchema — previously only declared in uiHints
  • Added default: false with descriptions to autoCapture and autoRecall in configSchema so scanner can confirm opt-in defaults
  • Added dataLocations field to manifest declaring all persistence paths (config, vectorStore, historyDb, dreamState)
  • Added privacy field to manifest documenting data flow for platform vs open-source mode and credential storage guidance
  • Added externalEndpoints to setup section declaring api.mem0.ai and app.mem0.ai with purpose and requirement context

Tests:

  • Replaced direct process.env access in tests/cli-commands.test.ts and tests/fs-safe.test.ts with vi.stubEnv/vi.unstubAllEnvs. Fixes ClaHub static analysis flag for "environment variable access combined with network send"
  • 421 tests across 15 test files

Mem0 OpenClaw Plugin (v1.0.8)

22 Apr 11:46
f5dc825

Choose a tag to compare

Mem0 OpenClaw Plugin (v1.0.8)

New Features:

  • OSS Onboarding Wizard: New guided 4-step interactive setup for open-source mode — walks through LLM provider, embedding provider, vector store, and user ID selection with prefilled defaults
  • Agent-Friendly CLI: Added --json flag to all 16 CLI commands for machine-readable output. Agents can call openclaw mem0 help --json to discover every command and flag
  • Non-Interactive OSS Setup: Added --mode open-source with --oss-llm, --oss-embedder, --oss-vector flags for fully automated OSS configuration without prompts
  • JSON Helpers Module: New cli/json-helpers.ts with jsonOut, jsonErr, and redactSecrets utilities for consistent structured output

Improvements:

  • Init Flow Redesigned: Replaced 3-option flat menu with 2-level structure: Platform (email login or API key) and Open Source (guided wizard)
  • Provider Selection: LLM providers: OpenAI, Ollama, Anthropic. Embedding providers: OpenAI, Ollama. Vector stores: Qdrant, PGVector
  • Input Prefill: All prompts with defaults (base URL, user ID) now prefill the input field instead of showing defaults in brackets
  • Smart Reuse: When LLM and embedder use the same provider, API key and base URL are automatically reused from the LLM step
  • Default Model: Updated default LLM model to gpt-5-mini
  • Manifest Compliance: Removed undocumented fields, aligned env var declarations between SKILL.md and manifest, fixed configSchema.required for clean installs

Mem0 Python CLI (v0.2.4)

22 Apr 10:03
32b74e1

Choose a tag to compare

Mem0 Python CLI (v0.2.4)

New Features:

  • V3 API Routes: Migrated add, search, and list commands from v1/v2 to v3 API endpoints — POST /v3/memories/add/, POST /v3/memories/search/, POST /v3/memories/. Aligns both CLIs with the Python and TypeScript SDKs which already use v3 (#4916)

Breaking Changes:

  • --graph / --no-graph removed: The enable_graph config option, --graph and --no-graph CLI flags, and MEM0_ENABLE_GRAPH environment variable have been removed from both CLIs. Graph memory is now a project-level setting on the Platform (#4916)

Mem0 Node CLI (v0.2.4)

22 Apr 10:11
32b74e1

Choose a tag to compare

Mem0 Node CLI (v0.2.4)

New Features:

  • V3 API Routes: Migrated add, search, and list commands from v1/v2 to v3 API endpoints — POST /v3/memories/add/, POST /v3/memories/search/, POST /v3/memories/. Aligns both CLIs with the Python and TypeScript SDKs which already use v3 (#4916)

Breaking Changes:

  • --graph / --no-graph removed: The enable_graph config option, --graph and --no-graph CLI flags, and MEM0_ENABLE_GRAPH environment variable have been removed from both CLIs. Graph memory is now a project-level setting on the Platform (#4916)