cli-v0.2.3

mem0ai/mem0cli-v0.2.3Apr 11, 2026by whysosaket

AI Summary

This release improves telemetry tracking for the Mem0 Python CLI by replacing shared anonymous identifiers with unique per-machine hashes and adds proper user identity stitching for authenticated users. It also enhances API attribution by including source=CLI in all API calls.

Key Highlights

  • Replaced shared 'anonymous-cli' fallback with persistent per-machine random hash (cli-anon-<uuid>)
  • Added PostHog $identify event on first authenticated run to stitch anonymous history to user profiles
  • All API calls now include source=CLI in request bodies and query params for server-side attribution

Full Release Notes

## Mem0 Python CLI (v0.2.3)

**Bug Fixes:**
- **Telemetry:** Replaced shared `"anonymous-cli"` fallback with a persistent per-machine random hash (`cli-anon-<uuid>`), so anonymous CLI users are counted individually in PostHog instead of collapsing into one identity ([#4789](https://github.com/mem0ai/mem0/pull/4789))
- **Telemetry:** Added PostHog `$identify` event on first authenticated run to stitch pre-signup anonymous history onto the authenticated user profile ([#4789](https://github.com/mem0ai/mem0/pull/4789))

**Improvements:**
- **API:** All API calls now include `source=CLI` in request bodies (POST/PUT) and query params (GET/DELETE) for server-side attribution ([#4789](https://github.com/mem0ai/mem0/pull/4789))