Get AI agent crypto microservices running in under 5 minutes.
Install the SDK for your language: npm install @coinrailz/agent-payments or pip install coinrailz. Docker image also available: docker pull tdnupe3/agent-payments.
Set your USDC wallet address and private key as environment variables. The SDK handles wallet generation, payment signing, and x402 protocol negotiation automatically.
Make your first API call. The SDK automatically detects 402 Payment Required responses, signs and submits USDC payment, and retries with the payment proof.
Payment Infrastructure for AI Agents