An agent can order a service within a preset budget and still have recourse if the result needs repair. AgentEscrow checks a catalog extraction before recommending payment and models a warranty that releases 90% up front and holds the remaining 10% until the claim window closes.
Inspiration
AI agents can spend money now, but nothing stops a bad payment — an agent can overspend, pay for work that never happened, or pay twice, with no receipt to prove otherwise.
What it does
AgentEscrow is an escrow with hard limits. Every payment needs a verified job, a spending cap, and a receipt, or it does not go out. A warranty releases 90% up front and holds 10% until the claim window closes. The verifier checks a catalog extraction against a fixed snapshot (schema, prices, inventory), and semantic criteria need scores of at least 85 from at least two of three judges. Payments above the cap, after expiry, or without verification are refused. If the job never completes, a timeout refund returns the money.
How we built it
Node.js 22, no packages, API keys, wallet, build step, or server required. A local verifier and receipt viewer, a demo runner, and a live-chain mode that reads the USDC contract (decimals and totalSupply) at a finalized block on Base Sepolia. The demo was verified end to end: 20/20 tests pass, and the viewer passed the 90/10 release, revision-two repair, timeout refund, and receipt import.
Challenges
The Solana deployment was stopped on safety grounds (flagged crypto library in the toolchain), so settlement is simulated in this build. The escrow logic and the chain read are live.
Accomplishments
20/20 tests pass in a fresh extraction; live read of Circle's test USDC contract at finalized Base Sepolia block 60,881,638.
What's next
Live settlement onchain.
Note: settlement is simulated in this build; the escrow logic and the chain read are live. No real onchain payment happened.
Built With
- base
- javascript
- node.js
- sepolia
- usdc