mem0-python-server is a lightweight FastAPI service that wraps the mem0 library to provide persistent memory over a REST API. It powers OpenClaw’s memory workflows by offering two distinct memory collections (conversational + knowledge), local reranking, and a stable HTTP contract for storage, recall, and cleanup.
This project focuses on:
The full endpoint reference (requests, responses, reranker contract, testing notes) now lives in API.md.
The README provides a lightweight overview + quick links to both PROJECT.md and API.md so the entry point stays concise.
mem0server.py — entrypoint, exposes app for uvicornmem0core/ — core FastAPI app, routes, prompts, reranker, storageREADME.md — architecture overview, quickstart notes, and doc linksAPI.md — canonical endpoint reference for all routesreset_memory.py — resets a Chroma collection and restarts the containertests.sh — endpoint smoke tests192.168.0.200:8001192.168.0.200:11434192.168.0.200:5200 (optional; server falls back if offline)/memories./knowledge./search.