Skip to main content

ActionProof (Python)

Verifiable receipts that prove what your AI agent did. Sign locally, verify anywhere, zero backend. Receipts are cross-compatible with the TypeScript library — a receipt signed in one verifies in the other.

from actionproof import attest, verify, generate_keypair

agent = generate_keypair()

receipt = attest(
    agent,
    type="email.send",
    summary="Sent renewal quote to jane@acme.com",
    params={"to": "jane@acme.com", "amount": 4200},  # hashed, not stored in clear
    result={"smtp": 250},
    outcome="ok",
)

verify(receipt)  # -> VerifyResult(valid=True, agent="did:key:z6Mk...")

Auto-emit receipts

Decorator — every call to the function emits a signed receipt:

from actionproof import attest_action

@attest_action(agent, type="email.send", on_receipt=store)
def send_email(to, body): ...

LangChain / CrewAI — attest every tool the agent runs, no per-tool code:

from actionproof import ActionProofCallbackHandler

handler = ActionProofCallbackHandler(agent, on_receipt=store)
agent_executor.invoke(input, config={"callbacks": [handler]})

Install & test

pip install -e ".[dev]"
pytest tests/          # 7 tests incl. a TS↔Python cross-language interop check

Requires cryptography. The optional langchain extra makes the callback handler a real BaseCallbackHandler; without it, the handler still works as a plain object.

Metadata

Release files for actionproof 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for actionproof 0.0.3
File Size Uploaded Provenance Actions
actionproof-0.0.3.tar.gz 6.5 kB Without provenance Details for actionproof-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for actionproof 0.0.3
File Interpreter ABI Platform Actions
actionproof-0.0.3-py3-none-any.whl Python 3 none any Details for actionproof-0.0.3-py3-none-any.whl

Total release size: 13.9 kB

Release files / actionproof-0.0.3.tar.gz

Download URL actionproof-0.0.3.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8264a00364daf18f1c393de6df1081a603672153dc6cd6a74ec2ed38ee5448cd
BLAKE2b-256 checksum
How to use checksums
057a0b11e39425c49be07cb792741b31d6772b47364e05e92eeaf71caaba8c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / actionproof-0.0.3-py3-none-any.whl

Download URL actionproof-0.0.3-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
388fad89c47134b9118c38f2cec56a36c9a5d55104f9936928e37e4ef78129de
BLAKE2b-256 checksum
How to use checksums
722c46e0ed1ebab05eeab12871e60e8fe1edcb538f5beeea7af82883236c59f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for actionproof 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.0.3 This release

2 release files No 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