Agent Action Gate

io.github.AAH20Published by GitHub account AAH20v0.2.0Updated Oct 24, 2026

Gate/Prove: deny unattended destructive agent tools. Instant Audit $499 on a2zsoc.com.

VerifiedSTDIODesktop onlyDeveloper ToolsSecurity & Monitoring

Overview

AI-generated overview

A local policy gate that checks agent and MCP tool calls, denying unattended destructive actions unless a human approval token is supplied and logging each…

What you can do
  • Evaluate a proposed tool call and return a decision of deny, simulate or allow, with unknown tools denied by default.
  • Require a prove token plus an explicit approval flag before high-tier destructive, provisioning or decommissioning actions are allowed.
  • Default write actions to simulate mode so they produce no side effects.
  • Record decisions in an append-only, hash-chained action ledger and verify that ledger.
  • Return an envelope stating that model confidence is never treated as approval, with a ledger id and receipt hash.
  • Run labeled ATT&CK-tagged fixtures and a cost sketch from the command line.
When to use it
Use it when you run agents or MCP clients that can call destructive or provisioning tools and you want a checkpoint before execution. It suits teams that need an auditable record of gate decisions for compliance or diligence reviews.
Requirements
Runs as a local Python process over stdio, started with the module command from the project directory, or as a Docker image. A prove token is supplied through the AAG_PROVE_TOKEN environment variable or a command-line flag. A kill switch can be set through AAG_KILL_SWITCH or a marker file.
Before you install
The server does not execute tools itself; enforcement only works if your client actually calls the gate before invoking a tool. The prove token is a shared secret passed in the environment, so protect it. The README is largely commercial: it promotes a paid audit and consultation and states that unpaid take-homes are refused. Decisions are recorded in a local ledger file.

Installation

In SourceWeft

  1. Open Agent Action Gate in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Agent Action Gate

Gate/Prove runtime for agent and MCP tool calls.

Normalize tool intent → deny unknown → never treat model confidence as approval → HITL prove on destructive / provision / decommission → Action Ledger (hash chain).

Extracted from GRC_Claw @grc-claw/agent-policy-firewall. This repo is the sharp foundry slice: one command, no cathedral.

Commercial (how this is sold): $499 Instant Audit and consultation on a2zsoc.com.

Why this exists (revenue + cost)

AI-agent companies do not pay for “another MCP.” They pay to stop unattended destructive tools and to prove Gate/Prove gaps before SOC 2 Type I, PE diligence, or insurance renewal.

Cost driverWhat this gate doesBuyer outcome
Ungated shell.exec / disable-control / decommissionDENY unless HITL prove token + approvedAvoid production blast
Agent “95% sure”never_equate_intent_to_approval: trueIntent ≠ ledger proof
Write tools fire on first thoughtDefault SIMULATE (no side effects)FDE minutes, not incident cost
No audit trailAppend-only Action Ledger with hash chainDiligence packet

Hard rule: never equate agent intent or model score to human approval.

Illustrative cost sketch (not a quote): make bench.

Quick start

bash
make demo
bash
PYTHONPATH=. python3 -m aag demoPYTHONPATH=. python3 -m aag check fixtures/t1059_unattended_shell.jsonPYTHONPATH=. python3 -m aag bench

Unattended high-tier calls DENY even at 0.99 confidence. ALLOW needs AAG_PROVE_TOKEN (or --prove-token) and approved: true.

bash
export AAG_PROVE_TOKEN='replace-me'PYTHONPATH=. python3 -m aag check fixtures/proved_decommission.json --prove-token "$AAG_PROVE_TOKEN"

Kill-switch: AAG_KILL_SWITCH=1 or touch artifacts/KILL.

MCP stdio server

This process never executes tools. Clients call gate_check before they would invoke a destructive tool.

bash
PYTHONPATH=. python3 -m aag serve

Cursor / Claude example (mcpServers):

json
{  "agent-action-gate": {    "command": "python3",    "args": ["-m", "aag", "serve"],    "cwd": "/path/to/agent-action-gate",    "env": { "PYTHONPATH": ".", "AAG_PROVE_TOKEN": "replace-me" }  }}

Docker / registry image:

bash
docker run --rm -i ghcr.io/aah20/agent-action-gate:0.2.0

Official MCP Registry name: io.github.AAH20/agent-action-gate

Envelope

Every decision includes:

  • never_equate_intent_to_approval: true
  • allow_auto_execute (false on unattended high tiers)
  • mode: deny | simulate | allow
  • ledger_id / receipt_hash
  • CTAs: Instant Audit + consultation

Library mapper

Same Gate/Prove policy from Python without the stdio loop:

python
from aag.gate import AgentActionGatefrom aag.mcp import evaluate_mcp_call
gate = AgentActionGate(prove_token="replace-me")evaluate_mcp_call(gate, {"params": {"name": "shell.exec", "arguments": {"note": "no payload"}}})

Fixtures (labeled, not payloads)

FileTechniqueExpected
t1059_unattended_shell.jsonT1059DENY unattended destructive
t1078_read_identity.jsonT1078ALLOW read
t1562_impair_defenses.jsonT1562DENY unattended destructive
write_ticket_simulate.json—SIMULATE write
proved_decommission.jsonT1578ALLOW only with HITL token

Layout

text
aag/  gate.py      HITL + kill-switch + unknown deny  ledger.py    hash-chained JSONL  server.py    MCP stdio (gate_check, ledger_verify)  mcp.py       MCP tools/call mapper (no execution)  cost.py      illustrative avoidance sketch  demo.py      fixture runnerfixtures/      ATT&CK-tagged casesserver.json    MCP Registry metadatatests/         Gate/Prove + MCP contract

Paid evaluation (not free prove)

If you deploy agents or MCP servers and need a Gate/Prove read before SOC 2, PE diligence, or insurance:

→ $499 Instant Audit
→ consultation (sprint / vCISO)

Unpaid take-homes: refuse — run make demo and buy Instant Audit.

License

MIT

Source: README.md at commit 8ff0d35

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts