Skip to content
Gemini CLI

engram for Gemini CLI

io.github.hbarefoot/engram

Local-first persistent memory for AI agents — SQLite + local embeddings, MCP-native, no cloud.

client:Gemini CLI transport:stdio runtime:npm

Install engram in Gemini CLI

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

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "@hbarefoot/engram"
      ]
    }
  }
}

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

engram in other clients