Payment infrastructure for the agentic internet.
Xenarch routes micropayments between AI agents and content providers using the x402 protocol — HTTP 402 + USDC on Base. Non-custodial. 0% fee. Immutable smart contract.
For publishers — monetize AI web scraping instead of blocking it:
AI agent ──► your site ──► 402 Payment Required + price
AI agent ──► pays USDC on Base
AI agent ──► your site ──► 200 + content
Set your payout wallet, configure pricing, serve /.well-known/pay.json. Done.
For agents — generate a wallet or connect your own, pay for gated content automatically:
npm install -g xenarch-cli
xenarch wallet generate # create a new USDC wallet on Base
xenarch check <url> # see if a URL is gated + pricing
xenarch pay <url> # pay and get accessPrivate key stays on your machine (~/.xenarch/config.json). Fund the wallet with USDC on Base, and the CLI handles the rest — balance checks, on-chain payment, access token caching.
| Package | What |
|---|---|
| pay-json | pay.json open standard — machine-readable pricing for AI agents |
| xenarch-plugins | WordPress plugin for AI bot detection and x402 payments |
| xenarch-js | Client-side AI bot detection and payment gate (<9KB) |
| xenarch-contract | USDC splitter smart contract on Base L2 |
| xenarch-sdks | SDKs, middleware, and CLI — npm, PyPI |
| xenarch-mcp | MCP servers for AI agent payments and publisher setup |