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.2
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.2: useful operations behind a separate owner

The new owner service holds files, database access, policy and credentials behind an authenticated Unix socket. Agents can create reports, request an approved SQLite change, or publish an exact artifact to an owner-registered S3 destination. The owner reviews the exact resource, bytes/rows and cumulative budget before approving; replay, changed data and unresolved execution cannot silently retry.

agent-circuit-breaker owner init /tmp/acb-owner-example
agent-circuit-breaker owner --help

Run the owner workflow · Separate owner/agent containers · Release notes · Execution evidence

Cumulative row/file/export-byte budgets survive restart. Supported transforms preserve sensitivity labels; only the owner can declassify reviewed bytes. Signed, paginated evidence can be retained independently. Same-UID development mode is for rehearsal; protected deployment requires OS isolation and removal of alternate access to the resources. SQLite support is deliberately bounded.

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

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.2
File Size Uploaded Provenance Actions
agent_circuit_breaker-1.7.2.tar.gz 631.1 kB With provenance Details for agent_circuit_breaker-1.7.2.tar.gz

Built distribution (wheel)

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

Total release size: 833.2 kB

Release files / agent_circuit_breaker-1.7.2.tar.gz

Download URL agent_circuit_breaker-1.7.2.tar.gz
Size 631.1 kB
Tags Source
SHA-256 checksum
How to use checksums
217e58373449343e31bb54f6490fb633d7914537a8a6ec4c9c782a08c5b5ae15
BLAKE2b-256 checksum
How to use checksums
d610c31f584c1483352af2fe9de52f0acdbbbf46af5d6c8a0e3db729a7b87f36
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.2-py3-none-any.whl

Download URL agent_circuit_breaker-1.7.2-py3-none-any.whl
Size 202.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b240c43102a1479664c104b4c6e8dca144fb58674a71002b9cd8a3742564655
BLAKE2b-256 checksum
How to use checksums
6b6949052c123049d072430ec6c721d7d9a72f8186b1bc9b295738a144c0720f
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.2

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