cli-node-v0.2.13
mem0ai/mem0cli-node-v0.2.13Aug 24, 2026by kartik-mem0
AI Summary
Node.js CLI equivalent of v0.2.12, adding version subcommand support and agent-specific instructions flags.
Key Highlights
- New 'mem0 version' subcommand for programmatic version access.
- New '--agent-custom-instructions' flag for agent-scoped memory extraction.
- Improved documentation for 'search --filter' with concrete JSON examples.
New Features
- CLI 'version' subcommand
- CLI '--agent-custom-instructions' flag
- Enhanced CLI documentation
Full Release Notes
**New Features:**
- **`version`:** New `mem0 version` subcommand, alongside the existing `--version` flag, so scripts and agent harnesses can read the CLI version as a regular subcommand instead of a root-level flag (Python and Node [#6907](https://github.com/mem0ai/mem0/pull/6907))
- **`add`:** New `--agent-custom-instructions` flag, threaded through to `agent_custom_instructions` on the `/v3/memories/add/` payload: a second extraction instruction set that applies only to agent-scoped memories, matching the SDKs' `agentCustomInstructions` / `agent_custom_instructions` support (Python and Node [#6910](https://github.com/mem0ai/mem0/pull/6910))
**Documentation:**
- **`search --filter`:** The `--filter` help text and `docs/platform/cli.mdx` now spell out the JSON shape (`{"AND": [...]}` / `{"OR": [...]}`) with a concrete example instead of just calling it "an advanced filter expression," and a matching example command was added to both the CLI help text and the docs page (Python and Node [#6907](https://github.com/mem0ai/mem0/pull/6907))