Prerequisites
You need to install themem0ai and openai libraries.
MEM0_API_KEY to use the Mem0 Platform. The example Agent uses Agno’s default OpenAI model, so it also requires OPENAI_API_KEY. Get the Mem0 key from the Mem0 dashboard.
Memory instance. Configure it with the config parameter.