diff --git a/app/nullius/catalogue/modules/mem0/capability.json b/app/nullius/catalogue/modules/mem0/capability.json
index f7664937d..6794afa05 100644
--- a/app/nullius/catalogue/modules/mem0/capability.json
+++ b/app/nullius/catalogue/modules/mem0/capability.json
@@ -10,26 +10,8 @@
"tested": "94c3fe9f238f3dbf29c9ce98643bd71eb13077cd",
"tested_date": "2026-11-02",
"package": "mem0ai",
- "version": "2.2.1",
"license": "Apache-2.0"
},
- "install": {
- "python": "3.12",
- "pip": [
- "mem0ai==2.2.1",
- "fastembed==0.9.1",
- "spacy==3.8.18"
- ],
- "wheels": [
- {
- "url": "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
- "sha256": "1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85"
- }
- ],
- "prefetch": [
- "Qdrant/bm25"
- ]
- },
"env": {
"MEM0_TELEMETRY": "False",
"FASTEMBED_CACHE_PATH": "{install}/hf"
@@ -116,5 +98,56 @@
"{install}/.venv/bin/python",
"{here}/capability.py"
]
+ },
+ "default": "2.2.1",
+ "versions": {
+ "observation-date": {
+ "install": {
+ "python": "3.12",
+ "pip": [
+ "mem0ai @ git+https://github.com/aitianshi/mem0.git@c0df9505b33fd84ef2e724759b9a40e29e7c9f4e",
+ "fastembed==0.9.1",
+ "spacy==3.8.18"
+ ],
+ "wheels": [
+ {
+ "url": "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
+ "sha256": "1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85"
+ }
+ ],
+ "prefetch": [
+ "Qdrant/bm25"
+ ]
+ },
+ "upstream": {
+ "repository": "https://github.com/aitianshi/mem0",
+ "branch": "observation-date",
+ "tested": "c0df9505b33fd84ef2e724759b9a40e29e7c9f4e",
+ "tested_date": "2026-11-30",
+ "origin": "experiment",
+ "fixes": [
+ "Each session's facts are dated by the session, not the day of the run: Mem0 2.2.1 with its open pull request #5949 (https://github.com/mem0ai/mem0/pull/5949), which gives the extraction prompt the session's date as its Observation Date."
+ ]
+ }
+ },
+ "2.2.1": {
+ "install": {
+ "python": "3.12",
+ "pip": [
+ "mem0ai==2.2.1",
+ "fastembed==0.9.1",
+ "spacy==3.8.18"
+ ],
+ "wheels": [
+ {
+ "url": "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
+ "sha256": "1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85"
+ }
+ ],
+ "prefetch": [
+ "Qdrant/bm25"
+ ]
+ }
+ }
}
}
diff --git a/app/nullius/catalogue/modules/mem0/capability.py b/app/nullius/catalogue/modules/mem0/capability.py
index 50e2282b8..b25cce79b 100644
--- a/app/nullius/catalogue/modules/mem0/capability.py
+++ b/app/nullius/catalogue/modules/mem0/capability.py
@@ -12,7 +12,9 @@
``add {session}`` - the session's turns as Mem0 messages (a role other than
user or assistant is a user turn naming its speaker),
added for one user, the session's id and date as metadata,
- the date also as ``timestamp``
+ the date also as ``timestamp``: the Observation Date Mem0's
+ extraction resolves "yesterday" from, in the observation-date
+ version (2.2.1 ignores it and uses the day of the run)
``recall {question}`` - ``{memory}``: what Mem0's search returns, best first,
each memory headed by its session's date
diff --git a/app/nullius/catalogue/modules/mem0/proofs.json b/app/nullius/catalogue/modules/mem0/proofs.json
index 6ffe9b382..23ce7e4c1 100644
--- a/app/nullius/catalogue/modules/mem0/proofs.json
+++ b/app/nullius/catalogue/modules/mem0/proofs.json
@@ -3,6 +3,18 @@
"kind": "capability",
"key": "mem0",
"versions": {
+ "observation-date": {
+ "proven": {
+ "cap.memory/v1": {
+ "passed": "2/2",
+ "model": "claude-haiku-5-5",
+ "provider": "custom",
+ "version": "observation-date",
+ "kit_version": 1,
+ "backend": "local"
+ }
+ }
+ },
"2.2.1": {
"offers": [
"cap.memory/v1"
diff --git a/app/tests/test_catalogue_docs.py b/app/tests/test_catalogue_docs.py
index 360577807..fe10bde34 100644
--- a/app/tests/test_catalogue_docs.py
+++ b/app/tests/test_catalogue_docs.py
@@ -35,7 +35,8 @@ def named(key, text):
self.assertNotIn("2026-", text, "no proof dates on a page")
self.assertNotIn("gpt-5-mini", agents, "no proof models on a page")
modules = catalogue_docs.render_features_index()
- named("mem0", modules)
+ for key in ("mem0@2.2.1", "mem0@observation-date"):
+ named(key, modules)
self.assertIn("`cap.memory/v1`", modules)
self.assertEqual(sorted(catalogue_docs.render_pages("modules")), ["mem0.md"])
benchmarks = catalogue_docs.render_benchmarks_index()
diff --git a/app/tests/test_standard_setups.py b/app/tests/test_standard_setups.py
index 94a925b73..814d5fef6 100644
--- a/app/tests/test_standard_setups.py
+++ b/app/tests/test_standard_setups.py
@@ -455,7 +455,7 @@ def test_one_retrieval_for_the_original_and_a_memory_each_at_its_own_default(sel
self.assertIn("--bench-option retrieval=none", both["script"])
self.assertIn("--bench-option retrieval=dialog", both["script"])
rows = [r[2] for r in both["review"] if r[1] == "Retrieval"]
- self.assertEqual(rows, ["none (its default) · its own procedure", "dialog (its default) · Mem0"])
+ self.assertEqual(rows, ["none (its default) · its own procedure", "dialog (its default) · Mem0 2.2.1"])
said = [e["message"] for e in self.compiled(others=["original", "mem0"], model="vendor/model", bench_options={"retrieval": "none"})["errors"]]
self.assertIn("Option retrieval: none is for original and model alone, never an agent or a Module.", said)
summary = self.compiled(others=["original", "mem0"], model="vendor/model", bench_options={"retrieval": "summary"})
diff --git a/app/ui_tests/test_builder_agents.py b/app/ui_tests/test_builder_agents.py
index 55babc804..023835874 100644
--- a/app/ui_tests/test_builder_agents.py
+++ b/app/ui_tests/test_builder_agents.py
@@ -50,7 +50,7 @@ def test_the_version_procedure_is_the_first_card_and_other_benchmarks_agents_are
for c in cards.values(): # origin, protocol, source: filters
self.assertNotIn("origin-tag", c); self.assertNotIn("bench-harness", c); self.assertNotIn("std-tag", c)
html, mem = self.grid("longmemeval")
- self.assertIn("mem0", mem)
+ self.assertIn("mem0@2.2.1", mem) # each version its card
self.assertNotIn("keyword-memory", html) # an example, there to read, never to choose
for k, c in cards.items():
if k.startswith("osworld"):
diff --git a/docs/modules/supported/README.md b/docs/modules/supported/README.md
index 4a4002626..e3e61d21d 100644
--- a/docs/modules/supported/README.md
+++ b/docs/modules/supported/README.md
@@ -8,7 +8,7 @@ Every Module in the catalogue, the port each has proven, and the benchmarks it f
| Module | Versions (bare key: the default) | What it is | Port proven | From | Licence |
|---|---|---|---|---|---|
-| [Mem0](mem0.md) | `mem0` | Mem0's memory layer: an LLM extracts facts from conversations, recalled by hybrid search, optionally reranked. | `cap.memory/v1` | PyPI | Apache-2.0 |
+| [Mem0](mem0.md) | `mem0@observation-date`, `mem0@2.2.1` | Mem0's memory layer: an LLM extracts facts from conversations, recalled by hybrid search, optionally reranked. | `cap.memory/v1` | PyPI | Apache-2.0 |
- Examples, never offered for a run: `keyword-memory` (Example memory: Nullius's example memory, to read or copy: BM25 over whole sessions.)
@@ -22,7 +22,8 @@ Every Module in the catalogue, the port each has proven, and the benchmarks it f
| Module | Ports |
|---|
| Memory |
keyword-memory | ✓ |
-mem0 | ✓ |
+mem0@observation-date | ✓ |
+mem0@2.2.1 | ✓ |
- ✓ proven by `cli conform`, – not proven.
@@ -33,7 +34,8 @@ Every Module in the catalogue, the port each has proven, and the benchmarks it f
| LoCoMo | LongMemEval |
|---|
| Memory | Memory |
keyword-memory | ✓ | ✓ |
-mem0 | ✓ | ✓ |
+mem0@observation-date | ✓ | ✓ |
+mem0@2.2.1 | ✓ | ✓ |
diff --git a/docs/modules/supported/mem0.md b/docs/modules/supported/mem0.md
index 0a741008a..3eb24925c 100644
--- a/docs/modules/supported/mem0.md
+++ b/docs/modules/supported/mem0.md
@@ -17,9 +17,12 @@ Mem0's memory layer: an LLM extracts facts from conversations, recalled by hybri
| Version | Upstream | Ports |
|---|
| Memory |
-mem0 | 2.2.1 | ✓ |
+mem0@observation-date | observation-date | ✓ |
+mem0@2.2.1 (default) | 2.2.1 | ✓ |
+- `key@version`: a revision of the definition and driver; a recipe pins one, the builder offers the default.
+
## Options
| Option | Values, default in bold | What it sets | Versions |
@@ -36,5 +39,6 @@ Mem0's memory layer: an LLM extracts facts from conversations, recalled by hybri