Skip to main content

Agent Circuit Breaker

Agent Circuit Breaker (ACB) puts explicit permission checks before an AI agent's execution. Its trusted adapters bind actions to resources, artifact versions, principals and single-use approvals, then record whether execution started and how it ended. The core is local-first and uses Python's standard library.

ACB local demo: an unauthorized export cannot start

Watch the demo / download captions · Run it offline

Install and try it

Python 3.11+. The typed local workflow executor requires POSIX (Linux/macOS).

python -m pip install agent-circuit-breaker==1.7.1
agent-circuit-breaker demo

Open the private loopback URL. Read synthetic incident logs, create a real report, compare an unprotected export with a denied proposal, and see approval replay and restart protection. Proposals are labeled offline; execution and collector receipts are fresh. No API key is needed, and all UI assets are included in the wheel.

agent-circuit-breaker demo --doctor
agent-circuit-breaker demo --replay --output /tmp/acb-replay.json
python -m agent_circuit_breaker.responses_example

v1.7.1 security fixes

This release closes reproduced scope escapes and MCP forwarding gaps, expands SQL checks, and adds authenticated run ledgers. See the release notes and live verification for exact coverage and migration.

Integrations

Product Integration Verification scope
Claude Code Native PreToolUse adapter; mediated MCP Configuration/event fixtures; native host unverified
Cursor Separate shell/MCP hooks; mediated MCP Desktop-targeted fixtures; native host unverified
OpenAI API Responses function dispatcher Real offline executor; live API opt-in
Codex Project-scoped MCP configuration CLI overrides and MCP SDK; project discovery/native invocation unverified

Guided commands provide detection, preview, merge, verification and uninstall. Integration quickstart and tested versions.

Decisions and the boundary

Only ALLOW authorizes execution. BLOCK, UNKNOWN, PENDING_APPROVAL, and ERROR remain distinct and cannot silently start a protected executor. A natural-language goal, tool description, model opinion or low risk score never grants permission.

ACB protects its trusted execution path. It is not an OS sandbox and cannot protect tools that bypass it, disabled hooks, or owner policy/state the agent can modify. Native hooks permit host-owned execution; mediated tools own the full RuntimeGate lifecycle. Provenance covers the supported typed transformations, not arbitrary shell/Python/model information flow.

Verified scenarios and limitations · Security model · Enforcement matrix · Runtime API · Release notes · Compatibility · Support · MIT license

Metadata

Release files for agent-circuit-breaker 1.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-circuit-breaker 1.7.1
File Size Uploaded Provenance Actions
agent_circuit_breaker-1.7.1.tar.gz 571.7 kB With provenance Details for agent_circuit_breaker-1.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-circuit-breaker 1.7.1
File Interpreter ABI Platform Actions
agent_circuit_breaker-1.7.1-py3-none-any.whl Python 3 none any Details for agent_circuit_breaker-1.7.1-py3-none-any.whl

Total release size: 752.6 kB

Release files / agent_circuit_breaker-1.7.1.tar.gz

Download URL agent_circuit_breaker-1.7.1.tar.gz
Size 571.7 kB
Tags Source
SHA-256 checksum
How to use checksums
83b06d55172c6ddb362877640c7f52cedf4e14736e2e6acf6bf6a5a0b74e3166
BLAKE2b-256 checksum
How to use checksums
d3861a9590975158221e6ec5756b2210f14f514d3d329a2080a9a5d010c4bbcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / agent_circuit_breaker-1.7.1-py3-none-any.whl

Download URL agent_circuit_breaker-1.7.1-py3-none-any.whl
Size 180.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1cd21d92892cfc2767a219910bac5c667ccaf1ca255d4fe0a9ee0b65a363550
BLAKE2b-256 checksum
How to use checksums
65d008f58dfa67485c6fe09dc9c034d4d740db6b656ac6f6f6837224fa606c3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for agent-circuit-breaker 1.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agent_circuit_breaker-1.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.7.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page