Tamper-proof audit trail for AI agents — the verifiable layer of agent observability. Signed, offline-verifiable receipts for every agent action. Zero backend.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actionproof-0.0.3.tar.gz.
File metadata
- Download URL: actionproof-0.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8264a00364daf18f1c393de6df1081a603672153dc6cd6a74ec2ed38ee5448cd
|
|
| MD5 |
ba26313ad32ee2bbc32a83aec20b16b7
|
|
| BLAKE2b-256 |
057a0b11e39425c49be07cb792741b31d6772b47364e05e92eeaf71caaba8c23
|
File details
Details for the file actionproof-0.0.3-py3-none-any.whl.
File metadata
- Download URL: actionproof-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388fad89c47134b9118c38f2cec56a36c9a5d55104f9936928e37e4ef78129de
|
|
| MD5 |
a13818f31dcec37bc48049cba58014e6
|
|
| BLAKE2b-256 |
722c46e0ed1ebab05eeab12871e60e8fe1edcb538f5beeea7af82883236c59f1
|