본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

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

Article URL: https://github.com/buberlo/aaf-gate Comments URL: https://news.ycombinator.com/item?id=50604524 Points: 2 # Comments: 0

번역 서비스가 일시 중지되어 원문을 표시합니다.

Deterministic policy gate, kill switch, call limits and tamper-evident audit for existing AI agent runtimes. Not an agent of its own. Models, providers and the agent loop are not reimplemented. The primary runtime is Hermes Agent (pinned at v0.23.1 for the Mac mini appliance track). Adapters can target other runtimes later. Core version 1.0.0rc1 (v1 candidate). See CHANGELOG.md, docs/v1/STATUS.md and docs/v1/INSTALLATION-AND-OPERATIONS.md. What it does aaf-gate sits in front of tool calls and applies a deterministic policy per tool class: read — allow or deny reads (for example Gmail search) draft — allow or deny drafts (for example a reply draft; sending is out of scope) internal_write — allow or deny internal writes (for example labels); unattended internal writes stay blocked It also provides: a kill switch (gate-stop / gate-resume / gate-status) that stops further work for a principal call limits per time window and tool class (tool-call counts, not model-token cost) an append-only, hash-chained audit log in SQLite backup and restore with a chain anchor (gate-backup / gate-restore) versioned, locked industry templates and example customer profiles a device acceptance pack for a Mac mini appliance (track A) Pilot 1 scope: read Gmail, categorize, and draft a reply. No send. Architecture tool call → gate (class decision) → GateKeeper (policy, limits, kill switch, audit) → hermes_adapter (Hermes hook mapping) → gatesocket (Unix socket) → Hermes plugin aaf-gate 0.5.0 (pre_tool_call / post_tool_call) Python standard library only in core/. No third-party Python dependencies. This is a v1 candidate (1.0.0rc1). It is implemented and unit-tested locally. It is not production-ready, not yet device-accepted, and it makes no compliance claims. Start values for the call-limit window are assumptions in the Pilot 1 policy (3600 s; read 160, draft 40, internal_write 80) and will be reset after a pilot week from recorded gate_calls. Quickstart cd core python3 -m unittest discover -s tests -q python3 -m framework.cli version version prints core_version, schema_version and ok as JSON. Further commands (python3 -m framework.cli ): Device installation, operation, backup and the acceptance probes are described in docs/v1/INSTALLATION-AND-OPERATIONS.md. That guide has not been executed on a device yet. Repository layout core/ Python core (stdlib), CLI, tests adapters/ Runtime adapters (Hermes plugin: adapters/hermes/aaf-gate/) templates/ Versioned industry templates profiles/ Synthetic example profiles docs/v0.4/ Product direction docs/v0.5/ Notes on implemented increments docs/v1/ Honest status and install/operations guide docs/adr/ Architecture decisions CHANGELOG.md LICENSE Apache-2.0 Copyright 2026 Konrad Kern. Licensed under the Apache License, Version 2.0. See LICENSE. Hermes Agent is a separate project by Nous Research, licensed under MIT. This repository contains adapter and plugin code that talks to Hermes hooks; it does not vendor the Hermes source tree.

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기