The original filter (if v) silently drops False and 0, so 'rerank: false' in mem0.json would be ignored. Use explicit None/empty-string check to preserve intentional falsy values.
Mem0 Memory Provider
Server-side LLM fact extraction with semantic search, reranking, and automatic deduplication.
Requirements
pip install mem0ai- Mem0 API key from app.mem0.ai
Setup
hermes memory setup # select "mem0"
Or manually:
hermes config set memory.provider mem0
echo "MEM0_API_KEY=your-key" >> ~/.hermes/.env
Config
Config file: $HERMES_HOME/mem0.json
| Key | Default | Description |
|---|---|---|
user_id |
hermes-user |
User identifier on Mem0 |
agent_id |
hermes |
Agent identifier |
rerank |
true |
Enable reranking for recall |
Tools
| Tool | Description |
|---|---|
mem0_profile |
All stored memories about the user |
mem0_search |
Semantic search with optional reranking |
mem0_conclude |
Store a fact verbatim (no LLM extraction) |