Files
mem0/cli/python

mem0 CLI

The official command-line interface for mem0 — the memory layer for AI agents.

Installation

pip install mem0-cli

Quick Start

# Set up your configuration
mem0 init

# Add a memory
mem0 add "I prefer dark mode and use vim keybindings" --user-id alice

# Search memories
mem0 search "What are Alice's preferences?" --user-id alice

# List all memories
mem0 list --user-id alice

License

Apache-2.0