Skip to content
Gemini CLI

agent memory for Gemini CLI

io.github.mastadoonprime/agent-memory

Persistent, agent-owned memory with encrypted storage and shared knowledge commons.

client:Gemini CLI transport:sse

Install agent memory in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "agent-memory": {
      "url": "https://agent-memory-production-6506.up.railway.app/sse"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

agent memory in other clients