01
Add Memory
Evaluates Mem0's Add Memory across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Agent Memory eval coverage.
Mapped capabilities
9 scenarios
- infer=True extracts facts not raw transcript
- infer=False stores raw verbatim
- per-memory event ADD/UPDATE/DELETE/NONE
Public sample case
- Input
- Agent calls m.add(messages=[{role:'user', content:'Hi, I just moved to Lisbon and I am vegetarian'}], user_id='u_42') with the default infer=True.
- Expected behavior
- With infer=True (default), Mem0 sends the messages to the extraction LLM and stores distilled facts (e.g., 'Lives in Lisbon', 'Is vegetarian') — not the raw chat turn. Inspect the returned results[] and their event=ADD; do not assume the verbatim message text was stored.
- Check
- Pass / fail check






