AgentGuard v1.0.1 ships dollar velocity caps and audit logs for Python agents

nemskie · reddit · 2026-12-02

AgentGuard v1.0.1 is now on PyPI: a zero-dependency, stdlib-only (Apache-2.0) guardrail library for tool-calling Python agents, addressing failure modes a single per-call spend cap misses: aggregate dollar velocity (ten $2 calls in 60s quietly drain budget), keyword blacklists as whack-a-mole (use strict allowedtools), slow consecutive loops via maxconsecutiverepeats, duplicate retries on API timeouts via idempotency keys, and irreversible actions handled with requireapprovalfor gates, verifyfn post-action checks, and dryrun previews. Ships versioned JSONL audit logs that pipe into Datadog, Splunk, or jq. Install: pip install agentguard-seatbelt.

Original post →

More from coding & agent

coding & agent channel →