Back
other

Configure the OSS Stack

Wire up Mem0 OSS with your preferred LLM, vector store, embedder, and reranker.

by Mem0 docs.mem0.ai 198 words
View original

Configure Mem0 OSS Components

Prerequisites

Start from the Python quickstart if you still need the base CLI and repository.

Install dependencies

Define your configuration

Run memory.add(["Remember my favorite cafe in Tokyo."], user_id="alex") and then memory.search("favorite cafe", user_id="alex"). You should see the Qdrant collection populate and the reranker mark the memory as a top hit.

Tune component settings

Keep extraction temperatures ≤0.2 so advanced memories stay deterministic. Raise it only when you see missing facts.

Limit top_k to 10–20 results; sending more adds latency without meaningful gains.

Mixing managed and self-hosted components? Make sure every outbound provider call happens through a secure network path. Managed rerankers often require outbound internet even if your vector store is on-prem.

Quick recovery