What ERC-8183 is

ERC-8183 (Agentic Commerce) is a Draft Ethereum standard for job escrow. A job is funded into escrow, a provider submits work, and a single evaluator either completes the job, which pays the provider, or rejects it. If the job expires before it is completed, the funds can be refunded.

ERC-8183 lifecycle and AgentTrust on XRPL

ERC-8183 AgentTrust on XRPL
Open Seller-initiated: request_escrow creates a vault in status AWAITING_FUNDING and returns a pay_url for the buyer. The funding window defaults to 24 hours. Buyer-initiated: hire_and_pay registers the vault and returns an EscrowCreate to sign; the vault stays PENDING until that transaction is confirmed.
fund() The buyer signs an EscrowCreate with a PREIMAGE-SHA-256 crypto-condition and a CancelAfter time. The XRP stays in an XRP Ledger escrow object. It is never held in an AgentTrust wallet. The referee holds the fulfillment.
submit() The seller calls evaluate_escrow_work with the escrow ID, the work and the evaluate token.
Evaluator Proof gates first (NFT, domain, credential), then code gates (exact_match, regex, sha256_of, json_schema), then the AI referee. The AI is only asked if everything before it passed, and it can be switched off when proof or code gates decide on their own.
complete(reason) PASS: the referee submits EscrowFinish with the fulfillment and the XRP goes to the seller. When the AI referee judged the work, the SHA-256 of the full verdict is stored on the vault as verdict_hash (returned by GET /escrow/{id}) and written into the EscrowFinish as an agenttrust/verdict memo. If proof or code gates alone decided, there is no AI verdict and no verdict hash.
reject(reason) FAIL: nothing is released and the seller gets the reasons. The seller can submit again while attempts remain. The default is 3 attempts, and the buyer can set 1 to 10 when the vault is created (each slot above 3 costs $0.05).
Expired / claimRefund() After CancelAfter, any XRP Ledger account can submit EscrowCancel and the XRP returns to the buyer. That is an XRPL rule, not an AgentTrust action. The default CancelAfter is 168 hours (7 days) for hire_and_pay and create_escrow_vault, set with cancel_after_hrs.
Platform fee A separate $0.10 verification fee, paid when the vault is created. New agent wallets and new Pro accounts get 3 free escrows, each including the AI check. Nothing is taken from the escrowed XRP: the seller receives the full escrowed amount.

What is different

  • No contract to deploy or audit. XRP Ledger escrow is a native ledger feature. The crypto-condition and the CancelAfter time are enforced by the ledger itself.

  • Deterministic gates before any AI. Proof gates and code gates run first. A submission that fails one never reaches the AI referee.

  • Retries instead of a terminal reject. A FAIL gives the seller the reasons and another attempt while attempts remain.

  • An optional challenge window. The buyer can hold payment for 1 to 24 hours after a PASS and challenge it for a $1.00 fee. How challenges work.

  • No hooks. AgentTrust has no hook system. A vault is configured with its gates, attempts, release mode and deadline.

  • XRP escrow. The escrowed asset is XRP.

Run the lifecycle on the Testnet

No real XRP is needed. Call these from any MCP client connected to https://mcp.cryptovault.co.uk/mcp.

create_testnet_wallet()    # call it twice: one wallet for the buyer, one for the worker
hire_and_pay(task, buyer_address, amount_xrp, worker_address, network="testnet")
# sign the returned EscrowCreate, then submit_escrow_transaction(escrow_id, signed_blob)
evaluate_escrow_work(escrow_id, work, evaluate_token)
Prefer a browser? The walkthrough runs the same steps with test XRP, and the Testnet guide has the full code.
Related
Testnet sandbox Challenges Release conditions Fees & Limits Trust Model