chainagent-x402

Query AI models via x402 micropayments on Base Sepolia.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/coderhormaz/ethmumbai2026 --skill chainagent-x402
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: chainagent-x402
Source: https://github.com/coderhormaz/ethmumbai2026/tree/main/skills/chainagent-x402
Command: npx skills add https://github.com/coderhormaz/ethmumbai2026 --skill chainagent-x402

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ChainAgent provides pay-per-query access to AI models via a decentralized proxy using x402 micropayments on Base Sepolia, enabling users to access AI capabilities without centralized subscriptions or KYC.

Core Features & Use Cases

  • Discover available AI models and pricing through the proxy, prioritizing free models to minimize costs.
  • Handle the full x402 workflow: trigger a 402 response, pay USDC on-chain, and retry with payment proof to obtain results.
  • Use in contexts where developers want on-demand AI queries with pay-per-use economics and ENS-based discovery.

Quick Start

To start, query a free model through the ChainAgent endpoint and, if needed, follow the on-chain payment flow for paid models.

Frequently Asked Questions about chainagent-x402

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query AI models using x402 micropayments on Base Sepolia?▼

ChainAgent handles the complete x402 workflow: it triggers a 402 response from the decentralized proxy, pays USDC on-chain on Base Sepolia, and retries the query with payment proof to obtain AI results.

What is the x402 payment protocol for on-chain AI access?▼

The x402 protocol enables pay-per-query AI access by returning a 402 response, requiring an on-chain USDC payment, and accepting a retry request with cryptographic payment proof to unlock the AI model output.

Can I access AI models without KYC or centralized subscriptions?▼

Yes, you can discover and query AI models without KYC or centralized subscriptions by using the decentralized proxy, paying per query with on-chain USDC micropayments on Base Sepolia.

How do I discover available AI models and their pricing?▼

You can discover available AI models and pricing through the decentralized proxy, which lists options and prioritizes free models to help minimize on-chain payment costs.

Do I need a funded wallet to use the x402 micropayment workflow?▼

You need a wallet funded with USDC on Base Sepolia to pay for paid models, though you can start by querying free models discovered through the proxy without any initial on-chain payment.