Prerequisites
- Node.js 18 or higher
- (Optional) OpenAI API key stored in your environment when you want to customize providers
Install and run your first memory
Using Mem0? Star us on GitHub to help more developers discover memory for AI apps.
By default the Node SDK uses local-friendly settings (OpenAI
gpt-5-mini, text-embedding-3-small, in-memory vector store, and SQLite history). Pass a config to swap any of them.Configure providers
Pass a config object tonew Memory() to use your own LLM, embedder, and vector store:
What’s next?
Memory operations
Search, update, and manage memories with the full CRUD API.
Configure for production
Swap in your own LLM, embedder, and vector store.
Add to your framework
Wire Mem0 into LangChain, CrewAI, LangGraph, and 20+ more.
Discord
Join our community
GitHub
Ask questions on GitHub
Support
Talk to founders