cli-node-v0.2.7

mem0ai/mem0cli-node-v0.2.7May 20, 2026by MgeeeeK

AI Summary

New CLI commands for user identification and the 7-day AGENTRUSH game, including PII safety prompts and new configuration options (Node.js version).

Key Highlights

  • `mem0 whoami` — print the active agent's default_user_id (the AGENTRUSH leaderboard identifier)
  • `mem0 agent-rush <add | search>` — new subcommand group that wraps the platform's /v1/agent-rush/ endpoints
  • PII safety prompt on first interactive agent-rush add with acknowledgement persisted in config.json
  • Agent-rush HTTP requests send X-Mem0-Mode: agent-rush header for telemetry split

New Features

  • whoami command
  • agent-rush subcommands (add, search)
  • PII safety prompt
  • agent_rush.acknowledged_at config field

Full Release Notes

## What's New

- **`mem0 whoami`** — print the active agent's `default_user_id` (the AGENTRUSH leaderboard identifier). Reads from local config, no network call.
- **`mem0 agent-rush <add | search>`** — new subcommand group that wraps the platform's `/v1/agent-rush/` endpoints for the 7-day AGENTRUSH game. Project routing is implicit; no flags exposed.
- **PII safety prompt** on first interactive `mem0 agent-rush add`. Acknowledgement persisted in `~/.mem0/config.json` under `agent_rush.acknowledged_at`. Non-interactive (agent) invocations print the warning to stderr without blocking.
- New config field: `agent_rush.acknowledged_at` (ISO timestamp).

### Changed

- Agent-rush HTTP requests send `X-Mem0-Mode: agent-rush` header for telemetry split.

Full diff: https://github.com/mem0ai/mem0/compare/cli-node-v0.2.5...cli-node-v0.2.7