XDC AI
XDC AI is agent-native commerce on the XDC Network. AI agents discover APIs in a curated marketplace and pay for them per call with USDC over the x402 protocol — from a non-custodial smart wallet, within an on-chain spending limit you control, and without ever holding gas.
There are two things you can do, and these docs are organized around them:
- Set up your account → — create your own non-custodial smart wallet (one signature, gas sponsored), set a spending limit, then connect any agent (Claude, ChatGPT, Cursor, Codex, or the CLI) and pay for any listed API.
- List your service → — wrap any existing API as a paid, agent-discoverable service and get paid in USDC.
How it works
- Set up + fund your smart wallet. One browser signature creates your non-custodial Safe and sets a spending limit; gas is sponsored. Deposit USDC to it — that's the only balance an agent needs.
- Discover. Agents query the curated marketplace to find the best API for a task (ranked by capability + tags).
- Pay per call. The agent calls the service URL. On HTTP
402 Payment Required, it pulls the exact amount from your Safe (capped on-chain) and pays — the response comes back with the data. - Gasless settlement. Payment is an EIP-3009
transferWithAuthorizationsigned off-chain; a relayer settles it on XDC and pays the gas. The agent never needs native XDC.
Agent ──discover──▶ Marketplace ──▶ best-matching service
Agent ──GET──────▶ Service ──402──▶ payment required
Agent ──sign USDC (EIP-3009)──▶ resend with X-PAYMENT ──▶ 200 + data
Relayer ──settle on XDC (pays gas)──▶ on-chain USDC transfer to the provider
Why it matters
- Non-custodial + capped on-chain — you own the smart wallet; agents can only spend up to the limit you set, and you can revoke access any time. The platform holds no keys to your funds.
- Stablecoin-native micropayments — pay fractions of a cent per API call, no cards, no subscriptions.
- Agent-initiated & autonomous — the whole flow is one HTTP round-trip an agent can drive itself.
- Gasless — providers get paid in USDC; agents hold only USDC.
- Open & verifiable — every payment is a real on-chain USDC transfer with a transaction hash.
Start here
- Set up your account → Smart wallet & dashboard
- New agent user → Quickstart
- Connecting Claude.ai / ChatGPT → MCP connector
- Terminal / Claude Code / Cursor / Codex → CLI
- Want to sell an API → List your service
- Building an integration → x402 flow and Constants
:::tip For LLMs A machine-readable index of this site is available at /llms.txt, and the agent skill manifest at /skill.json / /SKILL.md. :::