Skip to content
Gemini CLI

tan-memory for Gemini CLI

io.github.heenljy/tan-memory

Local, inspectable long-term memory for AI agents. Plain Markdown/JSONL, zero deps.

client:Gemini CLI transport:stdio runtime:npm

Install tan-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": {
    "tan-memory": {
      "command": "npx",
      "args": [
        "-y",
        "tan-memory"
      ],
      "env": {
        "TAN_MEMORY_HOME": "<TAN_MEMORY_HOME>"
      }
    }
  }
}

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

tan-memory in other clients