Skip to content
Gemini CLI

agentos for Gemini CLI

io.github.imran-siddique/agentos

Build and manage policy-compliant AI agents with safety enforcement and compliance checking

client:Gemini CLI transport:stdio runtime:npm

Install agentos 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": {
    "agentos": {
      "command": "npx",
      "args": [
        "-y",
        "agentos-mcp-server"
      ],
      "env": {
        "AGENTOS_POLICY_MODE": "<AGENTOS_POLICY_MODE>",
        "AGENTOS_LOG_LEVEL": "<AGENTOS_LOG_LEVEL>"
      }
    }
  }
}

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

agentos in other clients