Show HN: Aaf-gate – policy gate and kill switch for existing agent runtimes gith...

@show

Show HN: Aaf-gate – policy gate and kill switch for existing agent runtimes github.com · 2 points · 0 comments · HN thread

TL;DR aaf-gate is a Show HN project: a stdlib-only Python policy gate, kill switch, per-window call limits and hash-chained SQLite audit log placed in front of existing AI agent runtime tool calls. The primary target is Hermes Agent v0.23.1 on a Mac mini appliance, and the core is at v1 candidate 1.0.0rc1. The author states it is unit-tested locally (719 tests) but not yet tested on the target device, not production-ready, and makes no compliance claims.

  • Deterministic policy per tool class: read, draft, and internal_write, with unattended internal writes blocked by default.
  • Kill switch commands (gate-stop, gate-resume, gate-status) halt further work for a principal.
  • Call limits count tool calls per time window (Pilot 1 starting values: 3600 s; read 160, draft 40, internal_write 80), not model-token cost.
  • Append-only, hash-chained audit log in SQLite, with backup and restore that carry a chain anchor.
  • Integrates via a Hermes plugin (aaf-gate 0.5.0) over a Unix socket; core has no third-party Python dependencies. Pilot 1 scope is reading Gmail, categorizing, and drafting replies with no sending. Gmail Developer Preview access is not yet granted.
  • Licensed Apache-2.0; the repo does not vendor Hermes Agent, which is MIT-licensed by Nous Research.

Discussion The submission has two points and no comments at the time of this digest, so there is no discussion to summarize.

#AIAgents #PolicyGate #KillSwitch #AuditLog #Hermes #Python