add_memories
, search_memory
, etcnpx @openmemory/install --client claude --env OPENMEMORY_API_KEY=your-key
OpenMemory is a local memory infrastructure powered by Mem0 that lets you carry your memory across any AI app. It provides a unified memory layer that stays with you, enabling agents and assistants to remember what matters across applications.
OPENAI_API_KEY
as a global environment variable:
OPENAI_API_KEY
as a parameter to the script:
add_memories
: Store new memory objectssearch_memory
: Retrieve relevant memorieslist_memories
: View all stored memorydelete_all_memories
: Clear memory entirely