Official documentation for {xpay✦}. Learn how to monetize, manage, and observe your AI agents using the x402 protocol.
docs is an early-stage MDX project in the AI payments / x402 ecosystem, focused on ai-agents, documentation, guides, monetization. It currently has 5 GitHub stars and 3 forks, and sits alongside related tools like dna-x402, tdm-sdk, xmr402-org.
World-class developer documentation for the {xpay✦} ecosystem and x402 protocol
This repository contains the official documentation for {xpay✦}, the leading platform for autonomous AI agent payments built on the x402 protocol. Our documentation covers:
# Clone the repository
git clone https://github.com/xpaysh/docs.git
cd docs
# Install dependencies
npm install
# or
pnpm install
# Start development server
npm run dev
# or
pnpm dev
Open http://localhost:8000 to view the documentation site.
├── src/
│ ├── content/ # Documentation content
│ │ ├── en/ # English documentation
│ │ └── zh/ # Chinese documentation
│ ├── components/ # React components
│ ├── app/ # Next.js app directory
│ └── lib/ # Utilities and configurations
├── public/ # Static assets
│ ├── logo-*.png # {xpay✦} logos
│ └── favicon.ico # Site favicon
└── package.json # Dependencies and scripts
We welcome contributions to improve our documentation! Here's how you can help:
# Fork and clone the repository
git clone https://github.com/YOUR_USERNAME/docs.git
cd docs
# Create a new branch
git checkout -b feature/improve-documentation
# Make your changes
# ...
# Commit and push
git add .
git commit -m "docs: improve x402 protocol explanation"
git push origin feature/improve-documentation
# Create a Pull Request
src/content/en/ or src/content/zh/_meta.ts file to add navigationOur documentation supports multiple languages:
/en) - Primary language/zh) - Simplified ChineseTo add a new language:
src/content/next.config.tsThe documentation is automatically deployed to production when changes are pushed to the main branch.
# Build for production
npm run build
# Export static files (if needed)
npm run export
# Start production server
npm start
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ by the {xpay✦} team using the Nextra template.
Ready to build with {xpay✦}? Visit our getting started guide to begin your journey with autonomous AI payments.
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
Open contract-facing SDK for payable routes and gateway-backed integrations. Thin public surface for authorize, checkout, and session flows.
XMR402 is an open, neutral standard for internet-native payments. It absolves the Internet's original sin by natively making payments possible between clients and servers, creating win-win economies that empower agentic payments at scale. XMR402 exists to build a more free and fair internet.