Skip to content
Gemini CLI

Agent Observability for Gemini CLI

io.github.blueskylineassets/agent-observability

Agent observability: structured logging, cost tracking, and compliance audit trails

client:Gemini CLI transport:stdio runtime:npm

Install Agent Observability 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": {
    "agent-observability": {
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>",
        "AGENT_OBS_API_URL": "<AGENT_OBS_API_URL>"
      }
    }
  }
}

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

Agent Observability in other clients