Portable CHP Safety Case (.chpsafety) bundle format + offline verifier — verify what an AI agent was authorized and able to do, with no network and no trust in the producer.
pip install chp-safety-case==0.1.0 Copy PIP instructions
The portable .chpsafety Safety Case bundle format and its offline verifier — part of the Capability Host Protocol runtime-assurance work.
A Safety Case is the artifact you hand to a security reviewer, an auditor, or a customer to answer "what was this AI agent authorized and technically able to do, and did the controls hold?" — a file, not a screenshot. This package verifies one anywhere, with no network and no trust in the producer: it recomputes every artifact digest (tamper-evidence) and checks the Ed25519 signature over the manifest. Deliberately minimal — stdlib + cryptography only, no chp-core, no mesh.
pipx install chp-safety-case # or: pip install chp-safety-case Verify a bundle chp-safety-case verify case.chpsafety { "manifest_valid": true, // every file matches its recorded sha256; no unsigned files present "signature_valid": true, // the Ed25519 signature over the manifest checks out "signer_trusted": false, // true only when you pass the signer's key via --trusted-key "integrity_valid": true, // manifest_valid AND signature_valid "errors": [] } Exit codes: 0 ok, 2 integrity failed, 3 --require-trusted-signer set and the signer wasn't trusted. Pin a signer you trust:
chp-safety-case verify case.chpsafety --trusted-key my-node=signer.pub.hex --require-trusted-signer As a library from chp_safety_case import verify_safety_case_bundle r = verify_safety_case_bundle("case.chpsafety") assert r.integrity_valid # tamper-evident: any edit to any artifact breaks this What's in a bundle A .chpsafety file is a zip of case.json (the Safety Case), its evidence artifacts, a manifest.json (sha256 of every file), and a signature.json (Ed25519 over the manifest). The verifier trusts none of the producer's own booleans — it recomputes the digests and checks the signature itself.
chp capability-host-protocol ai-safety runtime-assurance attestation safety-case
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.




