AI X402 Benchmark

AI-x402 benchmarks testnet AI actions, ranking alignment with Hedera/Chainlink/Ledger practice.

ETHGlobal Cannes 2026Shipped April 3, 2026 Dormant#ai#payments#gaming
Repo
AI X402 Benchmark banner

About

x402Bench LLM Readiness is an open, reproducible benchmark that tests whether AI models can make safe, correct, and executable payment/workflow decisions across Hedera, Chainlink, and Ledger tracks at ETHGlobal Cannes 2026. Instead of scoring only text quality, x402Bench evaluates full decision quality (allow/block, approval requirement, priority, risk, required controls), then checks execution eligibility, and for real cases attempts live workflow actions on testnet-integrated paths. It runs each model in two comparable modes: with official protocol documentation context and without documentation context, so teams can measure true docs impact vs pretrained knowledge. Outputs include leaderboard scores, per-sponsor breakdowns, pass/fail counts, latency, and case-level traces showing exactly what was attempted, skipped, or failed and why. The goal is to create a public quality bar for AI-driven blockchain actions, not just AI-generated explanations.

How it's made

Fastapi backend, nextjs frontend, real testnet usage. Used openrouter, openai, and ollama for AI inference.

We built x402Bench as a full benchmark pipeline with a Node.js runner, a FastAPI control API, and a Next.js dashboard. The core engine executes a versioned readiness suite (`readiness_bench/suite.json`) where each case defines expected policy outputs, execution mode (`real` vs `decision_only`), sponsor challenge mapping, and required documentation sources.

For each model, x402Bench runs two comparable modes: with official protocol docs context and without docs context. The evaluator parses structured JSON outputs and scores decision correctness (allow/block, approval requirement, priority, risk, control set quality), strict full-match rate, execution-gate eligibility, workflow pass rate on real cases, and latency.

On partner tech integration:

- **Hedera** is used for testnet settlement paths and payment-flow validation. - **Chainlink** is used for workflow/orchestration style integration via webhook-based execution hooks. - **Ledger** is used as a policy/approval gate in high-trust payment scenarios.

The backend exposes run endpoints, idempotency handling, run-locking to prevent collisions, and report serving. Reports are written as both JSON and Markdown so results are machine-consumable and judge-readable.

A notable hackathon optimization was adding automatic local fallback wiring for integration endpoints in API-triggered runs, so the benchmark stays runnable end-to-end even when some explicit endpoints are not yet configured. We also pinned a live fallback dashboard snapshot to ensure the UI always opens with a valid latest leaderboard and case-level traces.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 244 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Alt Agent

Pay-per-inference AI on Hedera. x402 micropayments auto-routed to the cheapest capable model.

Hedera Lab

Agent-ready Hedera testing with independent ledger verification, automated repair, and x402.