Agentic workflow demo

One autonomous API purchase, from policy to settlement proof.

This demo connects the suite into a single operator story: an AI agent requests a paid API, receives an x402 offer, passes Treasury and Shield policy, creates a settlement-ready Arc proof trail and writes a reputation event back into the workspace.

Audit trailDemo receipt fallbackflow_demo_001 · rcpt_arc_12eaa88812Arc settlement path: disabled by env
Agent intentDataHarvester-Pro asks for paid market data.
01
x402 offerMarketplace returns exact USDC price and receipt terms.
02
Treasury budgetPrepaid balance and daily spend policy are checked.
03
Shield screeningCircle compliance signal clears the recipient wallet.
04
Chainlink signalArc oracle/CCIP readiness is attached as market or route evidence.
05
Usage meteringBilling writes the request as a metered usage event.
06
Arc settlementSettlement evidence is attached to the proof trail.
07
Reputation updateSuccessful payment raises the agent trust score.
08
Signed receipt

x402 + Arc proof

AgentDataHarvester-Pro
APIRealtime Price Feed
ProviderChainData Labs
Price0.003 USDC / request
Payer0x1a2b...9f3c
Recipient0x55e0...09b2
PolicyALLOW
ScreeningAPPROVED
Oracle signalPASS
Budget12.40 / 50.00 USDC daily
Billing eventuse_demo_001
Amount authorized0.003 USDC
Reputation958 -> 961
01 / Marketplace
Signed offer
offer id
offer_x402_3e997b183e
scheme
x402/exact-usdc-arc-testnet
amount
0.003 USDC
valid until
2026-06-30T23:59:59Z
signature
sig_marketplace_261dc814261dc86e
02 / Agent wallet
Authorization
payer
0x1a2b...9f3c
budget lock
lock_7c3e97577c
nonce
auth_f20fe062f20f
digest
0xe3db5d90e3db5ddf56df4ef156df4ee0
signature
sig_agent_330aefd2330aeff0
03 / Provider
Signed receipt
receipt id
rcpt_arc_12eaa88812
settlement
set_agentic_882ef28788
tx hash
0x84de21...3a921
provider key
provider_key_f1030930
algorithm
ed25519-provider-sim
verified
true
signature
sig_provider_e2030966e203093d
{ "workflowId": "flow_demo_001", "x402Offer": "offer_x402_3e997b183e", "offerSignature": "sig_marketplace_261dc814261dc86e", "paymentAuthorization": "sig_agent_330aefd2330aeff0", "receiptId": "rcpt_arc_12eaa88812", "providerKeyId": "provider_key_f1030930", "providerPayload": "0x71aef95271aef9e76171114d61711158", "oracleSignal": "0xa2bc9f42a2bc9ff2427c2f73427c2f66", "oracleRiskHash": "0xbb4c74bebb4c7482427c2f73427c2f66", "receiptSignature": "sig_provider_e2030966e203093d", "settlementId": "set_agentic_882ef28788", "requestId": "req_agentic_eb5a26efeb", "generatedAt": "2026-06-28T18:00:00.000Z"}
View Arc Testnet transaction
Oracle-aware policyArc can attach Chainlink market, reserve or CCIP route evidence before fulfillment.
Policy-safe commerceThe API can be paid only after budget, reputation and compliance gates pass.
x402-ready meteringEach request has price, usage, invoice and receipt fields ready for provider settlement.
Trust feedback loopThe successful payment becomes a new reputation signal for future access checks.
Transaction memo ledger

Business context travels with the proof.

invoice_idINV-ARC-2048Provider invoice tied to the API purchase.
job_idjob_erc8183_2048ERC-8183 job envelope reference.
customer_refarc-corp-demoWorkspace/customer context for reconciliation.
batch_refbatch_api_meter_07Downstream billing batch and export key.
emit_rulesuccess_onlyMemo evidence is attached after the underlying call succeeds.
Failure-aware job envelope

Policy can pass while artifacts still need proof.

policy_passedPolicy passedAllow execution to start
execution_failedExecution failedKeep funds and reputation unchanged
receipt_missingReceipt missingHold settlement proof
validation_missingValidation missingBlock trust update
dispute_openedDispute openedOpen operator review
Agent / Job model

ERC-8004 identity + ERC-8183 job envelope

Agent identityDataHarvester-Pro
standard
erc_8004_compatible
registry
0x8004...0001
agent uri
ipfs://arc-suite/agents/dataharvester-pro.json
wallet
0xe587...80a8
status
active
Job envelopearc_job_001
standard
erc_8183_compatible
capability
finance.market_data.latest
status
validated
input hash
0xcd7beb...86f7e
policy hash
0x4b453c...0fa79
oracle risk
0xbb4c74...c2f66
Validation registryarc_validation_92e0fc2692
result
pass
score
98
evidence
ipfs://arc-suite/flow_demo_001/validation.json
evidence hash
0xa9bd83...73170
signature
sig_validator_d347af96d347afac
x402_offer0x4a7cf2...345casig_marketplace_261dc814261dc86e
payment_authorization0xe3db5d...f4ee0sig_agent_330aefd2330aeff0
receipt0xf7adbc...c7fa2sig_provider_e2030966e203093d