Agent Payment Execution (x402)
Enables AI agents to autonomously handle HTTP 402 payments with integrated spending controls and non-custodial wallets.
The agent-payment-x402 skill empowers Claude and other AI agents to manage financial transactions independently using the x402 protocol. By integrating non-custodial smart accounts (ERC-4337) and Model Context Protocol (MCP) tools, this skill allows agents to pay for API access, microservices, or collaboration with other agents while maintaining strict budget enforcement. It provides an essential layer for building economically autonomous agents that can settle their own costs without human intervention or custodial risk, using a fail-closed security model that prevents unauthorized spending.
Key Features
01Automated HTTP 402 (Payment Required) negotiation and settlement
02Granular spending controls including per-task and per-session budgets
03Non-custodial wallet management using ERC-4337 smart accounts
04Standardized MCP tools for balance checks, payments, and auditing
05Fail-closed security architecture to prevent overspending
062 GitHub stars
Use Cases
01Allowing an AI agent to pay for premium API calls or third-party services automatically
02Setting up inter-agent micro-payments for collaborative task completion
03Implementing strictly budgeted environments where agents pay for compute or data resources