Skip to content
Gemini CLI

SAME - Stateless Agent Memory Engine for Gemini CLI

io.github.sgx-labs/same

Persistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.

client:Gemini CLI transport:stdio runtime:npm

Install SAME - Stateless Agent Memory Engine 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": {
    "same": {
      "command": "npx",
      "args": [
        "-y",
        "@sgx-labs/same"
      ],
      "env": {
        "VAULT_PATH": "<VAULT_PATH>"
      }
    }
  }
}

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

SAME - Stateless Agent Memory Engine in other clients