cli-v0.2.4

mem0ai/mem0cli-v0.2.4Apr 22, 2026by whysosaket

AI Summary

Migration to V3 API endpoints and removal of graph-related features from both Python and Node CLIs.

Key Highlights

  • Migrated add, search, and list commands to v3 API endpoints
  • Removed --graph and --no-graph CLI flags
  • Removed enable_graph config option and MEM0_ENABLE_GRAPH environment variable
  • Graph memory is now a project-level setting on the Platform

Breaking Changes

  • Removed --graph/--no-graph flags
  • Removed enable_graph config option
  • Removed MEM0_ENABLE_GRAPH environment variable

New Features

  • V3 API Routes

Full Release Notes

## 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](https://github.com/mem0ai/mem0/pull/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](https://github.com/mem0ai/mem0/pull/4916))