docs(cookbooks): add agent memory cookbook page

Adds a narrative cookbook page teaching the user_id/agent_id split for
adjuster preferences vs shared claim memory, reusing the real scenario
and outputs from the agent-memory-insurance notebook. Registers the
page in docs.json and llms.txt, and cross-links the page and notebook.
This commit is contained in:
kartik-mem0
2026-08-27 14:55:03 +05:30
parent 4cdd90cec1
commit 3df9a491e5
4 changed files with 284 additions and 2 deletions
@@ -13,7 +13,8 @@
"\n",
"Mem0 keeps these apart using two identifiers on every `add()` call, `user_id` for the adjuster and `agent_id` for the claim, plus two separate sets of extraction rules, `custom_instructions` for the adjuster shelf and `agent_custom_instructions` for the claim shelf. This mirrors the id convention used in Mem0's CoCounsel example, where a lawyer maps to `user_id` and a case maps to `agent_id`. Here the adjuster is the person, and the claim is the shared case file.\n",
"\n",
"This notebook was executed live against the Mem0 Platform API. Every output below is a real response, not a mock."
"This notebook was executed live against the Mem0 Platform API. Every output below is a real response, not a mock.",
"\n\nFor the narrative walkthrough of this same pattern, see the [Give Agents Shared Working Memory](https://docs.mem0.ai/cookbooks/essentials/agent-memory-insurance-claims) cookbook page."
]
},
{