Autonomous AI service routing
Autonomous AI service routing
An autonomous routing layer where agents discover services through ENSv2, evaluate providers with on-chain evidence, and pay for the best option themselves.
"Who can do this?" — Providers publish machine-readable identities and capabilities through ENSv2 names and records.
"Who should I trust?" — Live indexed blockchain data evaluates candidates with measurable signals, not blind selection.
"Which one to choose?" — Combines capability, price, and provider evidence into a runtime routing decision.
"How does the agent pay?" — The agent settles the selected service directly with HBAR — no accounts, no cards.
"How does the service request payment?" — The endpoint becomes machine-payable through HTTP 402 Payment Required.
"Who can do this?" — Providers publish machine-readable identities and capabilities through ENSv2 names and records.
"Who should I trust?" — Live indexed blockchain data evaluates candidates with measurable signals, not blind selection.
"Which one to choose?" — Combines capability, price, and provider evidence into a runtime routing decision.
"How does the agent pay?" — The agent settles the selected service directly with HBAR — no accounts, no cards.
"How does the service request payment?" — The endpoint becomes machine-payable through HTTP 402 Payment Required.
ENSv2 discovers. The Graph evaluates. AI scores. Hedera settles. x402 unlocks. Zero human intervention in the execution loop.
The agent queries ENSv2 for candidates providing required capabilities without central gatekeepers or hardcoded provider endpoints.
// 1. ENSv2 machine discovery query
QUERY ens_records("ocr.*.eth", { capability: "invoice_ocr" })
--> RESOLVED CANDIDATES:
[
{
"domain": "ocr.alpha.eth",
"endpoint": "https://alpha.example/ocr",
"price": "0.010 HBAR",
"hederaAccount": "0.0.4829103"
},
{
"domain": "ocr.beta.eth",
"endpoint": "https://beta.example/ocr",
"price": "0.007 HBAR",
"hederaAccount": "0.0.3920194"
},
{
"domain": "ocr.gamma.eth",
"endpoint": "https://gamma.example/ocr",
"price": "0.012 HBAR",
"hederaAccount": "0.0.5102941"
}
]