Inspiration

AI agents are starting to pay for data on their own, a penny at a time, using x402 and USDC. But there's a big problem: the agent pays as long as the API says "success", even if the data it sends back is garbage. A scam API can send junk, keep the money, and do it again to the next agent.

Unlike humans, agents have no way to check reviews before paying, and traditional review systems are broken, free to sybil-attack, easy to fake, and trivial to delete. We wanted to build a trust layer where reputation is cryptographically tied to real economic skin in the game: Yelp for AI agents, where every review is backed by a real payment. No payment, no review.

What it does

Vouch is Yelp for AI agents. It gives every paid API a live trust score from 0 to 100, so agents know who's worth paying before they spend a cent.

Before paying, an agent asks Vouch which API to use for its task. It gets a ranked list, skips anything scored below 60, and stays within its spending limits.

After paying, the agent checks what it got: Did it get anything? Is it in the right format? Does the data match reality? Was it fast? Then it leaves a GOOD or BAD review.

Only real buyers can review. You can't review an API you didn't pay for, you can't review the same purchase twice, and you can't use someone else's purchase. Every review is public and permanent, so anyone can check it.

One agent's bad experience protects everyone. When an API turns into a scam, the first agent to get burned loses one cent and rates it BAD. The score drops, and every other agent refuses that API before paying.

Vouch also tests APIs itself. A secret-shopper bot buys from every API and checks the results, so scams can be caught before any real customer pays. An API that gets fixed has to prove itself again to earn back its score.

You can follow it from X. Grok watches Vouch every hour and warns you when an API you rely on goes bad, with the proof and which API to switch to.

And you can watch it happen. The website shows the live scoreboard and lets you watch an agent choose, pay, check and review in real time. You can even turn an API into a scam, or try to cheat the system and watch every attempt get blocked.

How we built it

Everything runs end to end on Solana devnet with real USDC payments.

  • Payments (x402): Our agent pays for API calls using @x402/fetch, @x402/svm and @solana/kit, through the PayAI facilitator. To show honest and scam behavior, we built our own paid test APIs. Some return good data, and others return wrong, broken, empty or slow responses.

  • On-chain program (Anchor, Rust): Our Solana program stores a record for every API and every rated payment. Each payment can only be recorded once, so Solana itself blocks anyone from rating the same payment twice, and reviews can never be edited or deleted. Only Vouch's server can submit ratings.

  • Payment verification (QuickNode Streams): Instead of trusting an agent's word, a QuickNode Stream with our custom filter watches Solana and confirms that USDC actually reached the API. It notifies our server through a signed webhook, which we verify on every delivery.

  • Server (Node 22, Express, SQLite): Before accepting a review, the server checks that the payment was confirmed, went to the right API, paid the full price and came from the reviewer's own wallet, and that the review was signed by that wallet.

  • Scoring: Each score combines four signals:

$$\text{Score} = 0.4\,T + 0.3\,A + 0.2\,H + 0.1\,R$$

where $T$ is the tester bot, $A$ is agent checks, $H$ is human reviews and $R$ is repeat buyers. Recent reviews count more, and safeguards make fake reviews hard to stack up.

  • Agent and tester bot (Node.js): The agent sticks to a budget, checks every response against trusted sources (Open-Meteo and CoinGecko) and signs its reviews. The tester bot has its own wallet, audits every API on demand, and re-checks before failing one.

  • Grok: The server publishes a simple text page made for AI to read, with scores, changes and Solana proof links. Grok checks it every hour using scheduled tasks.

  • Website (React, TypeScript, Vite): A live scoreboard, a score breakdown for each API, and a Live Flow page that shows each step of an agent's purchase as it happens.

What makes it unique?

Only real buyers can review. On Yelp or Amazon, anyone can leave a review, so fake reviews are everywhere. On Vouch, every review must be tied to a real payment, confirmed independently by QuickNode and signed by the wallet that paid. Each payment can review only once, and Solana itself enforces that. Faking reviews means actually paying the API, every time.

It's built for machines, not people. Existing review sites are made for humans to read. Vouch is made for AI agents to act on: an agent checks the score before paying and skips anything below 60, with no human involved. The checks are automatic too: agents compare the data they bought against trusted sources to decide whether it was real.

One agent's mistake protects every other agent. Today, every agent that pays a scam API finds out on its own. With Vouch, the first agent to get burned loses one cent, and every agent after it refuses that API before paying.

It fills a gap in x402. x402 made it easy for agents to pay, but it only checks that an API responded, not that the answer was any good. Vouch adds the missing trust layer on top, without changing how x402 works.

Every score can be checked by anyone. Every review is stored permanently on Solana. Not even we can quietly edit or delete one, so nobody has to take our word for a score.

Challenges we ran into

  • Keeping the QuickNode Stream alive. QuickNode shuts off a stream after repeated failed deliveries, and early bugs on our server kept terminating it. We changed the server to accept every delivery but quietly ignore any without a valid signature, so one mistake can't take the stream down.

  • A tester bot that was too harsh. Our first tester bot failed honest APIs after one slow response, and when its wallet ran low, it blamed every API for its own failed payments. Now it re-checks before failing an API and skips the test if its own payment fails.

  • Learning Solana fast. Most of us were new to blockchain, so we had to learn accounts, token transfers and on-chain programs while building something that depends on getting them right.

Accomplishments that we're proud of

  • Fully Working Live Demo: Everything runs live on Solana Devnet, real micro-payments, automated streams, and smart contracts that you can view directly on the block explorer.

  • Real-Time Scam Protection: When an agent gets scammed once, its rating immediately drops the score, instantly protecting every other agent on the network from losing money.

  • Tamper-Proof Reviews: We built strong anti-cheat protections so that reviews cannot be faked, spoofed, or submitted without actual payment.

  • Automated AI Watchdog: Grok autonomously monitors Vouch every hour to warn users about bad APIs and share verified proof links.

  • Clear User Experience: A smooth, step-by-step demo flow that makes a complex blockchain payment pipeline simple for anyone to follow.

What we learned

  • Payments & Trust are Separate: Micropayments need a programmatic reputation layer to answer *"is this worth paying for?"

  • Proof of Payment Eliminates Spam: Requiring verified on-chain payments makes fake reviews cost real capital

What’s next for Vouch

Let AI assistants like Claude or ChatGPT check Vouch scores directly, so any agent can ask "who should I pay?" without custom code.

Migrate from Devnet to real production USDC.

  • More categories. Go beyond weather and crypto prices to AI model APIs, search, maps and any other x402 service, and also generalize to all API types/categorizations.

Built With

Share this project:

Updates

Submission history