mem0ai/mem0

Universal memory layer for AI Agents

64kStars on the repository
47Mods indexed here, across every type
4d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

Setup

01

mem0ai/mem0

Hook

Runs once when the project is set up for init and maintenance tool calls, executing ensure_deps.sh. From mem0ai/mem0.

64k 4d ago A tokens not measured copy · 56% Apache-2.0

SessionStart

02

mem0ai/mem0

Hook

Runs when a session starts on startup, resume and compact, executing ensure_deps.sh and on_session_start.sh (2 commands). From mem0ai/mem0.

64k 4d ago A tokens not measured original Apache-2.0

PreToolUse

03

mem0ai/mem0

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, mcp__mem0__add_memory, mcp__plugin_mem0_mem0__add_memory, mcp__mem0__search_memories, mcp__plugin_mem0_mem0__search_memories, mcp__mem0__get_memories, mcp__plugin_mem0_mem0__get_memories, mcp__mem0__delete_all_memories…

64k 4d ago A tokens not measured original Apache-2.0

PostToolUse

04

mem0ai/mem0

Hook

Runs after a tool call finishes for mcp__mem0__.*, mcp__plugin_mem0_mem0__.* and Bash tool calls, executing on_post_tool_use.sh and on_bash_output.sh (2 commands). From mem0ai/mem0.

64k 4d ago A tokens not measured original Apache-2.0

Stop

05

mem0ai/mem0

Hook

Runs when the agent finishes a response, executing on_stop.sh. From mem0ai/mem0.

64k 4d ago A tokens not measured copy · 53% Apache-2.0

PreCompact

06

mem0ai/mem0

Hook

Runs before the context is compacted, executing on_pre_compact.sh. From mem0ai/mem0.

64k 4d ago A tokens not measured original Apache-2.0

UserPromptSubmit

07

mem0ai/mem0

Hook

Runs when you submit a prompt, before the agent sees it, executing on_user_prompt.sh. From mem0ai/mem0.

64k 4d ago A tokens not measured copy · 55% Apache-2.0