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(integrations): sync agent-plugin hook tables with actual hooks.json (#5839)
Kartik8a92cf0306b3
diff --git a/docs/integrations/claude-code.mdx b/docs/integrations/claude-code.mdxindex 4781868a9..d9526a498 100644--- a/docs/integrations/claude-code.mdx+++ b/docs/integrations/claude-code.mdx@@ -138,9 +138,10 @@ When installed via the plugin marketplace, Mem0 hooks into Claude Code's lifecyc| Hook | Event | What it does ||------|-------|-------------|+| **Setup** | `Setup` | Installs the mem0 SDK and dependencies (runs on init and maintenance) || **Session start** | `SessionStart` | Loads prior memories and displays status banner || **User prompt** | `UserPromptSubmit` | Searches relevant memories before each message; skips short prompts |-| **Pre-tool** | `PreToolUse` | Blocks MEMORY.md writes, enforces `user_id`/`app_id` on mem0 tool calls |+| **Pre-tool (3 handlers)** | `PreToolUse` | Blocks MEMORY.md writes; enforces `user_id`/`app_id` on mem0 tool calls; scans files being read for relevant memory context || **Post-tool** | `PostToolUse` | Tracks stats, scans bash errors for related memories || **Stop** | `Stop` | Stores a session summary when the session ends || **Pre-compact** | `PreCompact` | Stores a summary before the context is compacted |diff --git a/docs/integrations/codex.mdx b/docs/integrations/codex.mdxindex 2bcc26dd0..823949303 100644--- a/docs/integrations/codex.mdx+++ b/docs/integrations/codex.mdx@@ -123,7 +123,7 @@ When installed via the plugin marketplace, Mem0 hooks into Codex's lifecycle to|------|-------|-------------|| **Session start** | `SessionStart` | Loads prior memories and displays status banner || **User prompt** | `UserPromptSubmit` | Searches relevant memories before each message |-| **Pre-tool** | `PreToolUse` | Blocks MEMORY.md writes, enforces `user_id`/`app_id` on mem0 tool calls |+| **Pre-tool (3 handlers)** | `PreToolUse` | Blocks MEMORY.md writes; enforces `user_id`/`app_id` on mem0 tool calls; scans files being read for relevant memory context || **Post-tool** | `PostToolUse` | Tracks stats, scans bash errors for related memories || **Stop** | `Stop` | Stores a session summary when the session ends || **Pre-compact** | `PreCompact` | Stores a summary before the context is compacted |diff --git a/docs/integrations/cursor.mdx b/docs/integrations/cursor.mdxindex d6021538c..4cd8a93ba 100644--- a/docs/integrations/cursor.mdx+++ b/docs/integrations/cursor.mdx@@ -108,7 +108,7 @@ When installed via the Cursor Marketplace, Mem0 hooks into Cursor's lifecycle:|------|-------|-------------|| **Session start** | `sessionStart` | Loads prior memories and displays status banner || **User prompt** | `beforeSubmitPrompt` | Searches relevant memories before each message; skips short prompts |-| **Pre-tool (2 handlers)** | `preToolUse` | Blocks MEMORY.md writes, enforces `user_id`/`app_id` on mem0 tool calls |+| **Pre-tool (3 handlers)** | `preToolUse` | Blocks MEMORY.md writes; enforces `user_id`/`app_id` on mem0 tool calls; scans files being read for relevant memory context || **Post-tool (2 handlers)** | `postToolUse` | Tracks stats, scans bash errors for related memories || **Stop** | `stop` | Stores a session summary when the session ends || **Pre-compact** | `preCompact` | Stores a summary before the context is compacted |