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 (default gpt-4o-mini)
  • mem0 embedder uses text-embedding-3-small
  • memory store/retrieval operations are tracked in ai_usage_events as mem0 unit usage

Health and degradation

Startup and GET /health report mem0 status. If mem0 is unavailable, the product should degrade without corrupting MongoDB as the source of truth.

Retention and privacy

Match retention and PII handling to customer agreements. Record deployment-specific overrides in Production rollout when operators need them. For pricing and cost-attribution behavior, see AI usage and cost tracking.