Skip to content
Grok

agent memory for Grok

io.github.theprodsde/agent-memory

Persistent agent memory with a decision layer: replay, restore, verify, or none — explainable.

client:Grok transport:stdio runtime:pypi

Install agent memory in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "agent-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-memory-sdk"
      ],
      "env": {
        "AGENT_MEMORY_DIR": "<AGENT_MEMORY_DIR>",
        "AGENT_MEMORY_COLLECTION": "<AGENT_MEMORY_COLLECTION>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

agent memory in other clients