ActionProof
v0.0.3Tamper-proof audit trail for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
attest_action Attest an action
Create a signed, tamper-evident receipt that THIS agent performed an action (e.g. sent an email, filed a form, made a payment). Call it right after you perform the action. Returns a SignedReceipt you can store or share; anyone can later verify it offline.
| Parameter | Type | Description |
|---|---|---|
type * | string | Action verb in reverse-dot form, e.g. 'email.send', 'payment.send'. |
delegation_by | string | did:key or id of the principal who authorized this action, if any. |
delegation_ref | string | Pointer to the grant (OAuth grant, AP2 mandate URL/URN). |
delegation_scope | string | Authority granted, e.g. 'email.send'. |
outcome | string | Outcome of the action. Defaults to 'ok'. |
params | The action's inputs. Stored only as a hash (privacy-preserving). | |
result | The observed result/response. Stored only as a hash. | |
summary | string | Human-readable one-line description of what was done. |
target | string | System/resource acted upon, e.g. 'acme-crm'. |
verify_receipt Verify a receipt
Verify a signed ActionProof receipt offline. Returns whether the signature is valid and which agent did:key signed it. Optionally re-check that supplied params/result match the hashes in the receipt.
| Parameter | Type | Description |
|---|---|---|
signed_receipt * | string | The SignedReceipt JSON (as produced by attest_action). |
expect_params | If provided, verify these params match the receipt's params_hash. | |
expect_result | If provided, verify this result matches the receipt's result_hash. |
get_identity Get this agent's identity
Return this ActionProof server's stable agent identity (a did:key). Receipts from attest_action are signed by this identity.