Agent Payment Execution (x402)
Enables AI agents to autonomously execute payments for APIs and services using secure, non-custodial wallets and granular spending controls.
This skill integrates the x402 protocol into Claude Code, allowing agents to negotiate and execute payments without human intervention while maintaining strict financial oversight. By utilizing MCP tools and ERC-4337 smart accounts, it provides a secure framework for agents to settle transactions for external services, manage per-task budgets, and implement allowlisted recipients. This effectively turns autonomous agents into economic actors while minimizing custodial risk through a fail-closed security architecture and orchestrator-led policy enforcement.
Key Features
011 GitHub stars
02Granular spending controls including per-task and per-session budgets
03MCP-compatible tools for balance checks and transaction auditing
04Automated x402 HTTP payment negotiation and execution
05Non-custodial wallet management via ERC-4337 smart accounts
06Fail-closed security architecture to prevent unauthorized spending
Use Cases
01Settling micro-transactions between multiple autonomous agents
02Paying for premium third-party API calls during complex agent workflows
03Enforcing strict spending limits on automated development or research tasks