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
{
"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