A2A Trust Plane

v0.1.3
io.github.The-825/a2a-trust-plane Checked 4 days ago Published 4 days ago

Independent witness for agent work: verified handoffs, bound approvals, and receipts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

handoff_create Create Confirmed Handoff

Open a confirmed handoff from you to a named recipient agent, with deadlines to acknowledge and to complete. Use this when work must pass between agents with proof of each step. Records submission only, not delivery. The recipient continues with handoff_respond; follow it with handoff_status. Does not use a plan operation.

ParameterTypeDescription
ackWithinSeconds *integerSeconds the recipient has to acknowledge, 30 to 86400.
completeWithinSeconds *integerSeconds the recipient has to complete, 60 to 604800.
recipientId *stringAgent id of the recipient.
requestId *stringYour unique id for this handoff, 3 to 80 characters.

handoff_status Handoff Status

With a requestId, read the stage, step receipts, deadlines and approvals of one handoff you take part in, including the completion receipt id handoff_review needs. Without one, list your handoffs newest first, optionally filtered by role and stage, to find a lost requestId or see what is waiting on you. Read-only. Does not use a plan operation.

ParameterTypeDescription
limitintegerList only: most handoffs to return, 1 to 50. Default 20.
requestIdstringOne handoff to read in full. Omit to list your handoffs instead.
rolestringList only: handoffs where you are this party. Default any.
statusstringList only: handoffs currently in this stage. Omit for all stages.

handoff_respond Respond to a Handoff

As the named recipient, record your next step on a handoff: receive it, accept the work, optionally mark it working, then complete it with the SHA-256 digest of your evidence or fail it with a reason. Steps must go in that order. complete is a claim the sender still has to confirm with handoff_review; fail ends the handoff so the sender can reassign, and fail with reasonCode rejected declines it. working does not extend the completion deadline. Does not use a plan operation.

ParameterTypeDescription
action *stringreceive, accept, working, complete or fail.
requestId *stringThe handoff requestId given to handoff_create.
evidenceDigeststringcomplete only, and required there: lowercase hex SHA-256 of your completion evidence.
reasonCodestringfail only, and required there: blocked, unable_to_complete, or rejected (declined before starting).

handoff_review Review a Completed Handoff

As the sender, decide on a completion the recipient claimed: confirm accepts the result and closes the handoff; reject sends it back to working with a reasonCode so the recipient can complete again or fail it. Pass the evidence digest and completion receipt id from handoff_status; a mismatch is refused. A rejection after the work deadline leaves the handoff expired, and at most 3 rejections are allowed. Does not use a plan operation.

ParameterTypeDescription
completionReceiptId *stringThe completion receipt id shown by handoff_status.
decision *stringconfirm or reject.
evidenceDigest *stringThe evidence digest the recipient sent when completing.
requestId *stringThe handoff requestId given to handoff_create.
reasonCodestringreject only, and required there: incomplete, incorrect, or unverifiable (the evidence could not be checked).

approval_request Request Approval

As a participant in an open handoff, ask for approval of one exact action before you take it. The approval binds the operation name and the SHA-256 digest of the canonical JSON arguments, so it cannot be reused for anything else. Someone other than you with approval rights decides it with approval_decide; check it with approval_check right before acting. Expires after expiresInSeconds (default 3600) or at the handoff confirmation deadline. On a customer account the account owner decides, so show them the exact operation and arguments. Does not use a plan operation.

ParameterTypeDescription
arguments *objectThe exact arguments of that action. Only their SHA-256 digest is kept.
operation *stringName of the exact action to approve, for example github.merge or payments.refund.
requestId *stringThe handoff requestId given to handoff_create.
expiresInSecondsintegerSeconds until the request expires, 60 to 86400. Default 3600.

approval_decide Decide an Approval

Approve or deny a pending approval_request. Needs a credential with approval rights, and the requester can never decide their own request. The decision is bound to the same operation and argument digest. Refused once the request has expired. Pass operation and arguments to restate exactly what you are deciding; a mismatch is refused. On a customer account only the owner's own credential decides, and both are required. Does not use a plan operation.

ParameterTypeDescription
approvalId *stringThe approvalId returned by approval_request.
decision *stringapproved or denied.
requestId *stringThe handoff requestId given to handoff_create.
argumentsobjectThe exact arguments of that action. Only their SHA-256 digest is kept.
operationstringName of the exact action to approve, for example github.merge or payments.refund.

approval_check Check an Approval

Right before taking an approved action, check the approval against the exact operation and arguments you are about to use. approved is true only if it was approved, has not expired, and both match exactly; anything else means do not act. Read-only. Does not use a plan operation.

ParameterTypeDescription
approvalId *stringThe approvalId returned by approval_request.
arguments *objectThe exact arguments of that action. Only their SHA-256 digest is kept.
operation *stringName of the exact action to approve, for example github.merge or payments.refund.
requestId *stringThe handoff requestId given to handoff_create.

receipt_list List Your Receipts

List the receipts recorded on handoffs you take part in, newest first: every step, rejection and approval, each with the eventId and digest that receipt_verify checks. Pass a requestId to list one handoff's receipts. Read-only. Does not use a plan operation.

ParameterTypeDescription
limitintegerMost receipts to return, 1 to 50. Default 20.
requestIdstringOnly this handoff's receipts. Omit for receipts across all your handoffs.

demo_run Synthetic Continuity Demo

Run one synthetic Trust Plane scenario and return the evidence it produces, so you can see what receipts look like before connecting real work. Scenarios: cross_agent_continuity (fixed multi-agent checkpoint, authority and verification run), governed_memory (fixed memory-continuity control check), finished_task_replay (a task interrupted on one provider and finished on another, with labels you choose; needs the four replay fields). Synthetic fixtures only; no real data. It scores nothing about your system. Works without a credential and does not use a plan operation.

ParameterTypeDescription
scenario *stringWhich synthetic scenario to run.
fixtureIdstringfinished_task_replay only: synthetic fixture id, starting with synthetic-.
interruptedProviderstringfinished_task_replay only: lowercase name of the provider that stops mid-task, for example openai.
recoveryProviderstringfinished_task_replay only: lowercase name of the provider that finishes the task. Must differ from interruptedProvider.
workflowLabelstringfinished_task_replay only: label for the replayed workflow, shown in the evidence.

receipt_verify Verify a Receipt

Check whether Trust Plane recorded a receipt with exactly this event id and digest, and when. Use it to confirm a receipt another agent showed you came from Trust Plane and was not altered. Pass both values from the receipt (evidence.receipt or a step receipt in handoff_status). Returns matched false if the receipt was never recorded, was erased under the retention policy, or the digest differs. Returns no tenant, actor or payload data. Read-only. Works without a credential and does not use a plan operation.

ParameterTypeDescription
digest *stringThe receipt digest: 64 lowercase hex characters.
eventId *stringThe receipt eventId, starting with evt_.

plan_status Plan and Usage Status

Show your plan, operations used and remaining this month, and whether an upgrade is needed. Check this when a call returns 429. Read-only. Does not use a plan operation.