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.0
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

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.0

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.0
File Size Uploaded Provenance Actions
agent_circuit_breaker-1.7.0.tar.gz 534.7 kB With provenance Details for agent_circuit_breaker-1.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 711.0 kB

Release files / agent_circuit_breaker-1.7.0.tar.gz

Download URL agent_circuit_breaker-1.7.0.tar.gz
Size 534.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b75d802be447d624c6e9b32c5e4652d925ee07ece26a84a1068bb08059acc66f
BLAKE2b-256 checksum
How to use checksums
964e7645aba14a1376ad1acd8b4f6a2c441218707848d84cfa7b446603c7d628
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 8, 2026.

Transparency log

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

Download URL agent_circuit_breaker-1.7.0-py3-none-any.whl
Size 176.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
847038fb31c5fbd83ee4423a5acccea7381b120408bd08850d1c0bf0a758f6f4
BLAKE2b-256 checksum
How to use checksums
9c718bd774c410712872995fc5ffb30479b1e8cda3e84106663bc9558ea944e8
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 8, 2026.

Transparency log

Security for agent-circuit-breaker 1.7.0

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.0.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 8, 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.0 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