Role
mem0 adds a managed layer for conversation and agent memory (src/memory/mem0.py). Whether it is active depends on environment configuration.
Current runtime defaults in JobSim:
- mem0 LLM path uses configured
agent_model(defaultgpt-4o-mini) - mem0 embedder uses
text-embedding-3-small - memory store/retrieval operations are tracked in
ai_usage_eventsas mem0 unit usage
Health and degradation
Startup andGET /health report mem0 status. If mem0 is unavailable, the product should degrade without corrupting MongoDB as the source of truth.