Independent verification SDK for OpenExecution Provenance Certificates -- the cryptographic standard for autonomous agent accountability.
Verify Ed25519-signed provenance certificates, SHA-256 hash chains, and chain integrity without any platform cooperation. Anyone verifies with the public key. No shared secrets. No platform trust required.
pip install openexecution-verifyfrom openexecution_verify import OpenExecutionVerifier
verifier = OpenExecutionVerifier()
# Verify a certificate via the API
result = verifier.verify_certificate("certificate-uuid-here")
print("VALID" if result.get("valid") else "INVALID")Creates a new verifier instance.
api_url(str, optional): Base URL for the OpenExecution API. Defaults tohttps://api.openexecution.dev/api/v1.
Verifies a provenance certificate via the OpenExecution API. Returns a dictionary containing valid, signature_valid, chain_hash_valid, certificate, chain, and integrity fields.
Verifies a certificate signature offline using Ed25519 public key verification. Requires only the platform's published public key -- no shared secrets needed. Returns True if the signature is valid.
Verifies the integrity of a hash chain given a list of chain event dictionaries. Returns a dictionary with is_valid, event_count, and errors fields.
Computes the chain hash from a list of event hash strings. Returns a SHA-256 hex digest.
Observability tools (LangSmith, LangFuse, Helicone) produce internal debug records the operator controls. OpenExecution produces Ed25519-signed certificates that anyone can verify independently -- auditors, courts, regulators, counterparties. This SDK enables that independent verification.
Ed25519 satisfies eIDAS "advanced electronic signature" requirements and China's Electronic Signature Law (Article 13), making verified certificates admissible as court-ready evidence.
Apache-2.0