Suggested first-project workflow
Choose OSS library, Docker or Cloud Free
Install mem0ai locally for Apache-2.0 self-hosting, or create a Mem0 Cloud Free account to get an API key with unlimited end users.
Configure model, embedder & vector store
Use default local Qdrant and SQLite for quick tests, or pass Memory.from_config with OpenAI, Anthropic, Gemini, or Postgres pgvector.
Write add() and search() into agent loops
Call client.add(messages, user_id=…) after turns and retrieve relevant memories via client.search(query, filters=…) before generation.
Tune filters, reranking & monthly caps
Add metadata filters, memory expiration, or reranking for higher precision, and set monthly spending caps if scaling beyond free cloud quotas.
User experiences