The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
(docs) Updated docs as for using agent_id (#2090)
Saket Aryanbe4188c6b4b2
diff --git a/docs/platform/quickstart.mdx b/docs/platform/quickstart.mdxindex 8a932e384..1b0617504 100644--- a/docs/platform/quickstart.mdx+++ b/docs/platform/quickstart.mdx@@ -156,6 +156,10 @@ curl -X POST "https://api.mem0.ai/v1/memories/" \<Note> The `add` method offers support for two output formats: `v1.0` (default) and `v1.1`. To enable the latest format, which provides enhanced detail for each memory operation, set the `output_format` parameter to `v1.1`. Note that `v1.0` will be deprecated in version `0.1.30`. </Note>+<Note>+ Messages passed along with `user_id`, `run_id`, or `app_id` are stored as user memories, while messages from the assistant are excluded from memory. To store messages for the assistant, use `agent_id` exclusively and avoid including other IDs, such as user_id, alongside it. This ensures the memory is properly attributed to the assistant.+</Note>+#### Short-term memory for a user session@@ -331,6 +335,10 @@ curl -X POST "https://api.mem0.ai/v1/memories/" \```</CodeGroup>+<Note>+ The `agent_id` retains memories exclusively based on messages generated by the assistant or those explicitly provided as input to the assistant. Messages outside these criteria are not stored as memory.+</Note>+#### Monitor Memories