hackquest logo

AgentPay Radar

Videos

Tech Stack

Python
Solidity
Web3
Node

Description

The problem: x402 (Coinbase's HTTP-402 agent-payment protocol) is live on Arbitrum, but Arbitrum has no discovery surface of its own — projects are findable only through Coinbase's Bazaar, which is (1) generic across all chains, not Arbitrum-curated; (2) polluted with schema-less stubs and one-wallet "factory" listings; and (3) blind to Robinhood Chain entirely, because the CDP facilitator doesn't support it.
An agent that wants the best real, affordable tool on the Arbitrum stack has nowhere good to look.

What we built A buyer-side discovery + settlement layer, built on AgentPay's live x402 gateway:
1. Curated discovery (gateway/radar.py, GET /discovery/arbitrum) — queries Bazaar, filters to the Arbitrum stack (eip155:42161 / 421614 / 46630), drops schema-less stubs and factory wallets, ranks by real usage (unique_payers×3 + calls + recency). Exposed to agents as JSON and to humans as a leaderboard (GET /radar).
2. Robinhood Chain reach — RadarSplit is deployed live on Robinhood Chain (eip155:46630), which Bazaar/CDP cannot index at all, so a facilitator-only directory can't reach it. The discovery-side crawl of Robinhood .well-known/x402 manifests is the next increment.
3. On-chain settlement at 0% fee (contracts/RadarSplit.sol) — an atomic, non-custodial split contract: the agent's USDC moves straight to the listed project (and an optional, default-0 gateway fee), in one transaction. The "visibility → real revenue" hook: listed projects don't just appear, they get paid.
4. Gateway verification (gateway/radar_settle.py) — confirms the on-chain Settled event (contract, payer, developer, amount) before releasing tool data.
5. Agent demo (tools/radar_demo.py) — need + budget → discover → recommend → emit the exact settle plan, end to end.

These are AgentPay's core primitives, not just Radar features: a budget-aware session (a hard spend cap with a running ledger across calls), quality filtering that keeps spend off junk (the stub/factory filter today; cost-aware routing next), and a verifiable receipt for every call. They're free to start — 17 tools, no wallet, no setup — because frictionless onboarding is the wedge. AgentPay monetizes the spending it enables, not the decision to spend: the gateway fee is a contract parameter (RadarSplit.feeBps) we deliberately set to 0% for the Arbitrum/Robinhood promo and that earns on normal routes. The Radar points these primitives at a chain ecosystem that had no discovery of its own.

Progress During Hackathon

Built and shipped during the buildathon: • gateway/radar.py — discovery + ranking core (Arbitrum-stack chain filter, stub/factory junk filter, usage-quality ranking, budget gate); 11 passing unit tests. • GET /discovery/arbitrum — agent-facing discovery endpoint (async Bazaar fetch, ranked + cached). • contracts/RadarSplit.sol — atomic, non-custodial x402 settlement (0% fee default, replay guard, OpenZeppelin ReentrancyGuard/SafeERC20/Ownable); full Foundry suite incl. a fuzz test proving the split conserves the amount. • gateway/radar_settle.py — verifies the on-chain Settled event before releasing data. • agentpay-route --chain — chain-scoped routing in the standalone plugin router. • tools/radar_demo.py — end-to-end demo: need + budget → discover/rank → recommend → on-chain settle plan. • Deployed RadarSplit to Arbitrum Sepolia [and Robinhood Chain testnet — update after deploy] and ran a live settle routing a payment to a listed project.

Fundraising Status

Not running a priced round; pursuing ecosystem grants (Stellar Instawards) and open to conversations aligned with agent-payments infrastructure.
Team Leader
RRomu Dillenberg
Project Link
Sector
AIDeFiInfra