Pyshackle: A hard pre-execution gate for AI agent tool calls (open source)
6 hours ago
- SHACKLE is a lightweight, framework-agnostic runtime circuit breaker for LLM agents that mediates tool calls in real time to prevent runaway loops, tool cascades, and budget overruns.
- It defines the SP/1.0 conformance standard with a decision surface (ALLOW/DENY/HITL), a conformance model (Valid(τ) ⊆ Required(τ) ⊆ Supported(τ)), and a core invariant (history-visible ≠ runtime-executable).
- The standard is verified via 15 hash-verifiable conformance vectors and a reference implementation; certification levels include SP/1.0-Core, SP/1.0-HITL, and SP/1.0-Sovereign.
- SHACKLE provides integrations with LiteLLM and AutoGen, and features Loop of Death prevention, budget enforcement, execution timeouts, and an interactive HITL console.
- It is open-source under AGPLv3 with commercial licensing for closed-source products, and includes a V2 enterprise version with distributed state, audit logs, and remote HITL control.