Skip to content
Gemini CLI

AgentLedger for Gemini CLI

io.github.entradox/agent-ledger

Meter, cap, and block AI agent spend before the provider is charged.

client:Gemini CLI transport:streamable-http tools:12

Install AgentLedger in Gemini CLI

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

{
  "mcpServers": {
    "agent-ledger": {
      "httpUrl": "https://aiagentscity.com/mcp/"
    }
  }
}

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

What Gemini CLI can do once it is connected

AgentLedger in other clients