This is the official command line tool for Mem0's memory platform. Install it via npm or pip, both give you the same `mem0` binary with identical commands. It's built for terminals, scripts, and CI/CD pipelines rather than programmatic SDK integration. The standout feature is agent mode: run `mem0 init --agent` and it mints an API key in seconds without any email signup, letting AI assistants start using memory immediately while the human can claim ownership later without breaking anything. All commands support a `--json` flag that outputs clean structured data to stdout while progress goes to stderr, which makes it trivial to parse in shell scripts or feed back into an LLM context.
npx skills add https://github.com/mem0ai/mem0 --skill mem0-cli