Skip to content
VS Code

Aegis — AI Agent Governance for VS Code

io.github.acacian/aegis

Policy-based governance for AI agent tool calls. YAML policy, approval gates, audit logging.

client:VS Code transport:stdio runtime:pypi

Install Aegis — AI Agent Governance in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "aegis-policy-path",
      "description": "AEGIS_POLICY_PATH",
      "password": true
    }
  ],
  "servers": {
    "aegis": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-aegis"
      ],
      "env": {
        "AEGIS_POLICY_PATH": "${input:aegis-policy-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Aegis — AI Agent Governance in other clients