Skip to content
Gemini CLI

agentlock for Gemini CLI

io.github.olum289/agentlock

Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.

client:Gemini CLI transport:streamable-http

Install agentlock in Gemini CLI

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

{
  "mcpServers": {
    "agentlock": {
      "httpUrl": "https://app.agentlock.net/api/mcp"
    }
  }
}

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

agentlock in other clients