AgentAck
Test whether human approval controls for AI agents actually work.
AgentAck is a local-first CLI and Python library for checking whether executed actions remain bound to human approval, whether denials are respected, and whether required evidence is complete. Its deterministic core has no third-party runtime dependencies and does not execute the actions described in a trace.
Version 0.7
Version 0.7.0 strengthens approval-evidence validation and exact action identity. It includes the September denial-handling fixes that were absent from the published 0.6.3 package, and all three corrections identified during the independent review of the 0.7 candidate.
Read the migration notes before upgrading integrations. Action fingerprints, reports and Claude capture have versioned semantics. See release verification and the changelog for the changes and checks.
The deterministic checker is verified against synthetic test cases. The optional Claude live probe is experimental and awaits fresh supervised validation. Codex remains detection/trace-only. Neither fixture results nor CLI preflight establish production-agent safety or effects on human behaviour.
Install and try
Install the command-line tool in an isolated environment:
pipx install agentack==0.7.0
Or install the Python package:
python -m pip install agentack==0.7.0
Then run the account-free demonstration:
agentack demo
agentack coverage
These commands inspect synthetic evidence and do not execute the actions it describes. agentack demo includes a valid approval and an action changed after approval.
For development and the complete regression suite:
python -m venv .venv
# Activate .venv using your operating system's normal command.
python -m pip install -e '.[dev]'
make check
What it checks
| Rule | Check |
|---|---|
| ACK001 | required approval missing |
| ACK002 | denied action executed |
| ACK003 | proposed, presented or executed action changed |
| ACK004 | single-use approval replayed |
| ACK005 | approval expired |
| ACK006 | lifecycle ordering invalid |
| ACK007 | denial routed around through a linked intent |
| ACK008 | execution after a terminal interrupt |
| ACK009 | evidence incomplete or inconsistent |
PASS means the enabled checks found no violation in sufficiently complete recorded evidence. FAIL means a violation was demonstrated. INCOMPLETE means the required conclusion cannot be established. Malformed input is a separate input error.
Commands
agentack demo
agentack demo action-swap
agentack init agentack.toml
agentack check trace.jsonl --policy agentack.toml --json report.json --sarif report.sarif
agentack rules
agentack explain ACK003
agentack doctor
agentack coverage
Exit codes are 0 for PASS, 1 for FAIL, 2 for invalid input/output, and 3 for INCOMPLETE. The private capture hook deliberately uses 1, never Claude's blocking hook exit code 2, for recorder errors.
Trace format and report schema describe the interfaces. JSON and SARIF reports omit raw action parameters and include versioned identity/provenance fields.
Integrations
| Agent | Detection | Live test | Status |
|---|---|---|---|
| Claude Code | yes | experimental supervised probe | version/flag preflight plus human prompts; fresh live validation pending |
| Codex CLI | yes | no | offline protocol research and regression fixtures; no verified live boundary |
| Gemini CLI | yes | no | detection only |
| Cursor CLI | yes | no | detection only |
agentack doctor uses TESTABLE for a Claude CLI that passes local version/flag preflight. This is not a live verification result. It uses DETECTED for Codex and never starts an App Server turn.
A human can explicitly run the Claude probe from an interactive terminal:
agentack test claude --json claude-result.json --sarif claude-result.sarif
AgentAck asks the person to approve or deny four harmless commands through Claude's native prompts. It never answers them on the person's behalf. Hooks capture native tool and hashed working-directory context. Decision telemetry must match the session and tool invocation. Every probe is checked through its decision and terminal outcome; a prompt alone is insufficient. Contradictory or malformed telemetry is rejected. A correctly matched rejection followed by successful or failed tool execution is a violation.
agentack coverage distinguishes deterministic TESTED cases, implemented live PROBE paths, evidence GUARDED paths, TRACE-only coverage and unsupported SKIP paths. It is a capability map, not a claim that a particular installed version has passed.
See Claude setup, Codex limits, coverage, and dated compatibility evidence.
Python interface
from agentack import evaluate_events
from agentack.parser import read_jsonl
report = evaluate_events(read_jsonl("trace.jsonl"))
print(report.status)
Direct Python calls receive the same structural validation as file inputs. Invalid input raises TraceValidationError, a ValueError subclass. Recorder validates events before writing. A recording can only be appended to the same unfinished session.
Broad policy aliases such as Bash to shell apply to policy matching. Identity version 2 preserves the supplied execution tool and operation instead. Different interpreters or supplied execution contexts therefore produce different hashes. A hash binds recorded data; it does not authenticate its producer or prove that an interpreter, directory or action was observed faithfully.
Verification
make check
make release-check
python scripts/verify_wheel.py dist/agentack-0.7.0-py3-none-any.whl
python scripts/showcase.py --output ./agentack-showcase
The 237-test suite includes named reproductions of the review findings, all 120 permutations of a five-event lifecycle, and seeded action substitutions paired with valid controls. The named corpus reports false passes, false failures and expected incomplete classifications. Every fixture is labelled synthetic.
The release workflow requires the complete CI workflow on the exact release commit before building or publishing. Release candidates cannot be published by that workflow. Publication follows verification of the exact commit. Fresh supervised live-agent validation is a separate integration qualification and is not claimed by this release.
Scope and security
AgentAck is an evidence checker, not an execution sandbox or permission-enforcement service. It cannot prove that a person saw or understood a presentation, detect an omitted action from a compromised emitter, or establish arbitrary natural-language intent equivalence. Independent capture at the execution boundary is needed for stronger deployments.
See method, security model, standards mapping, and security reporting.
Cite this repository
Citation metadata is available in CITATION.cff.
License
MIT. See LICENSE.
Metadata
Release files for agentack 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentack-0.7.0.tar.gz | 755.1 kB | With provenance | Details for agentack-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentack-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for agentack-0.7.0-py3-none-any.whl |
Total release size: 815.8 kB
Release files / agentack-0.7.0.tar.gz
| Download URL | agentack-0.7.0.tar.gz |
|---|---|
| Size | 755.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4dee20a1d0191f147e0082c37b38cceac90c7509c1969c8a77a8f912ed5ffee
|
|
BLAKE2b-256 checksum How to use checksums |
76e164445f6ddc0030134bafe4e1eccb41933ac4db62a62d68be2590da43ba38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 4, 2026.
Transparency logRelease files / agentack-0.7.0-py3-none-any.whl
| Download URL | agentack-0.7.0-py3-none-any.whl |
|---|---|
| Size | 60.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a2b83413e5803f48c52afce5d5408d4fff4bb34f907982d64a4dc436df1a7d
|
|
BLAKE2b-256 checksum How to use checksums |
de56d0830b2a7fa827a4bc9e75213a507595078d791f61043674222e79c80625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 4, 2026.
Transparency logSecurity for agentack 0.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.
Attestation for agentack-0.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 4, 2026.
Transparency logA 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.