One SDK gives your agent a multi-network wallet, discovery across 21,000+ services, x402 payments, and spending reports, on Solana and Base.
Powered by XonaExport Xona Wallet as native tools for your model of choice, wallet, discovery, payments, and reports, then let the agent spend within the limits you set. No glue code, no custodian, no popups.
npm install @xona-labs/xpayGet startedSame handlers everywhere - pick the vendor-shaped schema and your agent gets the full discover → pay → report loop.
Your agent handles reasoning. Xona Wallet handles the money - finding the right service, enforcing your spending rules, and settling payment over x402, all in three calls the agent never has to think about.
“Make a short video of a cat astronaut”
Needs a video-generation service it doesn’t have
Searches 21,000+ services → api.xona-agent.com · $0.50
$0.50 ≤ $1.00 per-tx cap - approved before signing
Signs USDC on Solana · x402 settled in 1.2s
Receives payment, generates the short video
Video returned to the agent → back to the user
Search the entire x402 ecosystem via PayAI and other catalogs. Ranked, cached, one call.
Pay any compatible endpoint, catalog or wild, with automatic network routing and retries.
One BIP-39 seed derives both. USDC balances and transfers unified across chains.
Per-tx and per-day limits enforced before signing - a hallucinating agent can't slip past.
Keys live on the agent's own machine, never a vendor's - encrypt at rest with a passphrase. No popups, no lock-in.
Every payment is a public USDC transfer. Get daily, weekly, or monthly reports via OrbitX402 - no RPC key needed.
Type-safe TypeScript with one entry point. createXPay gives you discover, pay, transfer, balance, and report - plus tool exporters for Claude, OpenAI, and Gemini so your agent can spend in four lines.
import { createXPay, loadProfile } from "@xona-labs/xpay" const xpay = createXPay({ profile: await loadProfile({ passphrase }),}); // pay any x402 endpoint, get the resultconst video = await xpay.useByUrl( "https://api.xona-agent.com/video/short-generation", { body: { prompt: "a cat astronaut" } });Install once, init a local encrypted keystore, and you're transacting. No browser, no popups, no vendor - perfect for scripts, cron jobs, and headless agents.
$ npm install -g @xona-labs/xpay $ xpay init✔ Solana 7RB7frd…6qkpf5ph✔ EVM 0xA5D9…1023dfa $ xpay discover "short video" $0.5000 solana api.xona-agent.com $ xpay pay api.xona-agent.com/video/…✔ Paid $0.5000 on solana · 1.2sPaste one block into your MCP host config - no keys, no setup. On first run the agent gets its own wallet and seven payment tools: discover, pay, do, transfer, balance, report, guardrail. Fund the printed address and it can pay.
// claude_desktop_config.json - no keys, no setup{ "mcpServers": { "xpay": { "command": "npx", "args": ["-y", "@xona-labs/xpay", "mcp"] } }} // first run → the agent gets its own wallet; fund the printed address› "pay api.xona-agent.com to make a short video"Paste the MCP block (no keys, no setup) or install the SDK, and your agent can discover and pay 21,000+ services across Solana and Base.