Skip to content
Gemini CLI

ai memory for Gemini CLI

io.github.alphaonedev/ai-memory

Persistent memory for any AI — zero token cost until recall

client:Gemini CLI transport:stdio runtime:oci

Install ai memory in Gemini CLI

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

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

{
  "mcpServers": {
    "ai-memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alphaonedev/ai-memory:0.5.1"
      ],
      "env": {
        "AI_MEMORY_DB": "<AI_MEMORY_DB>"
      }
    }
  }
}

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

ai memory in other clients