Skip to main content
aixyz is the payment-native SDK for AI agents. Build agents and tools with your favorite framework, and get paid instantly through web3 payment rails — no payment integration work required.
Build an agent and get paid today.
Every agent you deploy with aixyz comes with x402 payments embedded. When another agent or user calls yours, settlement happens on-chain automatically. You set a price, deploy, and start earning.

How It Works

  1. Build your agent — Use Vercel AI SDK (ai@^6) or any framework to create agents with tools
  2. Set your price — Export an accepts object to gate endpoints with instant micropayments
  3. Deploy and earn — Run aixyz build and deploy. Payments settle on-chain via x402
app/agent.ts
import type { Accepts } from "aixyz/accepts";

// set your price and start earning
export const accepts: Accepts = {
  scheme: "exact",
  price: "$0.01",
};
aixyz auto-generates a server that exposes:
EndpointProtocolDescription
/.well-known/agent-card.jsonA2AAgent discovery card
/agentA2AJSON-RPC endpoint with x402 payment gate
/mcpMCPTool sharing with MCP clients

Quick Start

bunx create-aixyz-app my-agent
cd my-agent
bun run dev
Your agent is running at http://localhost:3000 with payments, A2A, and MCP out of the box.

Installation

Create and run your first agent in under a minute.

Payments

Set prices for your agent and tools with x402.

Agent and Tools

Define agents and tools with Vercel AI SDK.

Templates

Working agent templates to start from.

Deploying

Deploy to Vercel, Docker, or standalone.