Autonomous Agent Payments (x402)
Enables AI agents to autonomously execute payments for APIs and services with built-in spending controls and non-custodial wallets.
This skill integrates the x402 protocol into Claude Code, allowing AI agents to manage their own financial transactions securely via the Model Context Protocol (MCP). By utilizing ERC-4337 smart accounts, agents can pay for external services, API usage, or inter-agent settlements without the risks associated with custodial funds. It provides a robust security framework where orchestrators define strict spending policies—including per-task budgets and recipient whitelisting—ensuring agents operate within financial guardrails while maintaining full autonomy in task execution.
Key Features
01Non-custodial wallet management using ERC-4337 smart accounts
02Automated negotiation of HTTP 402 (Payment Required) flows
03Granular spending controls including per-task and per-session budgets
04Recipient whitelisting to restrict payments to authorized services
050 GitHub stars
06Comprehensive audit trails for all automated agent transactions
Use Cases
01Enforcing strict financial guardrails for long-running autonomous LLM pipelines
02Facilitating automated micro-payments and settlements between multiple AI agents
03Paying for premium API calls or specialized web services during autonomous tasks