AgentGate

Pay-per-call API gateway for AI agents on Hedera, using x402 protocol and World Agent Kit

Visit Repo
AgentGate banner

About

AgentGate is a pay-per-call API gateway for AI agents built on Hedera Testnet. It solves a core problem in the agentic economy: how do autonomous AI agents discover, authenticate against, and pay for API services — without human intervention at every step.

For publishers, AgentGate provides a dashboard to register any API endpoint with per-call USD pricing, deposit HBAR to sponsor agent gas costs, and configure what percentage of gas to subsidize. Publishers compete on price, gas sponsorship, and uptime — creating a natural marketplace for API access.

For AI agents, AgentGate implements the x402 payment protocol: when an agent hits a protected endpoint, the server returns HTTP 402 with a payment challenge containing the price in tinybars, the recipient address, and an optional WorldCoin AgentKit challenge. The agent can then either prove it's backed by a real human (via WorldID/AgentKit) to unlock 3 free trial calls, or pay directly in HBAR. Payment verification happens via Hedera Mirror Node with ~3-second finality — no oracles, no bridges, no wrapped tokens.

The system supports two agent archetypes: human-backed agents that authenticate via WorldCoin's AgentKit (SIWE signature + AgentBook lookup on World Chain) and get free-trial access before paying, and wallet-only agents that skip verification and pay HBAR directly for every call. Both paths converge on the same on-chain settlement.

Publishers register endpoints on-chain via the PublisherRegistry contract (storing URL, USD price, paymaster address), then configure server-side proxy settings (backend URL, injected API keys, WorldID requirements) via EIP-191 signed messages. The proxy system means publishers can monetize any existing API — agents never see the real backend URL or API keys.

Prizes

  • World · Best use of Agent Kit · 1st place

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?

Not checked yet.

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.

AgentPay

AI agents discover, evaluate, and autonomously pay the best AI service using ENS, Graph & Hedera.

VendingAgent

Autonomous pay-per-call API proxy using Hedera x402 and Chainlink CRE for agentic workflows.