github mem0ai/mem0 cli-v0.2.0b1

latest release: v1.0.10
pre-release5 hours ago

mem0-cli v0.2.0b1

New Features

  • Event commandsmem0 event list and mem0 event status <id> to track background processing events (#4649)
  • --json / --agent flag — global flag that switches all output to a structured JSON envelope for programmatic/agent consumption (#4649)
  • Agent output sanitization — raw API responses are projected to only relevant fields per command, removing noise like graph_status and duplicate scope fields (#4649)

Bug Fixes

  • Fix status command — now uses lightweight /v1/ping/ endpoint instead of heavyweight entity/memory checks (#4649)
  • Fix double error printingcmd_add was printing errors twice (once explicitly, once via timed_status) (#4636)
  • Fix entity delete — switched from v1 to v2 API (DELETE /v2/entities/{type}/{id}/), all entity types now work (#4649)
  • Deduplicate PENDING results in mem0 add — shows "1 event pending" instead of misleading "2 memories extracted" (#4649)
  • Fix mem0 init in non-TTY--api-key alone now defaults user_id to $USER; warns before overwriting existing config with --force flag (#4649)
  • Fix stdin hangadd, search, update no longer hang waiting for stdin when called with no input (#4649)

Improvements

  • Full UUIDs in tables — no longer truncated, so mem0 get <id> works directly from table output (#4636)
  • Score column in search — search results now show relevance scores (#4636)
  • Short config aliasesconfig get api_key, user_id, etc. now work (#4636)
  • Client-side validation — validates --expires, --page-size, --page, --top-k, --threshold, and empty content before hitting the API (#4636)
  • Better API error messages — shows full response detail instead of bare "Bad Request" (#4636)
  • Auth error UX — all commands show a helpful mem0 init hint when unauthenticated (#4649)
  • mem0 version registered as a proper subcommand (#4636)
  • list -o json returns a pagination envelope instead of a bare array (#4636)

Don't miss a new mem0 release

NewReleases is sending notifications on new releases.