OpenClaw just crossed 250,000 GitHub stars, surpassing React. Now your OpenClaw agents can remember everything across sessions with agent-memory โ the local-first memory layer with native MCP v3.2 support.
# Install agent-memory
pip install agent-memory
# Connect to OpenClaw via MCP (auto-detected)
python -m agent_memory.mcp_server
# Done. OpenClaw agents now have persistent memory.
#่ฎฐๅฟๅไนไธไธขๅคฑใ
agent-memory exposes memory tools via MCP v3.2 โ the same protocol OpenClaw uses. Once connected, your OpenClaw agent can:
# MCP tools available to your OpenClaw agent:
memory_search โ Find relevant memories
memory_add โ Store new memory with TTL
memory_get โ Get specific memory by ID
memory_list โ List recent memories
memory_clear โ Clear memories
# Or use directly in Python:
from agent_memory import Memory
m = Memory(storage="json", path="./memory.json")
m.add("User prefers dark mode", ttl="30d")
m.search("dark mode")