Agent Payment Execution (x402)
Enables AI agents to execute autonomous payments for APIs and services with strict spending controls and non-custodial wallet management.
The agent-payment-x402 skill integrates the x402 HTTP payment protocol into Claude Code, allowing AI agents to handle financial transactions autonomously while remaining under strict human-defined constraints. It provides a robust framework for managing per-task budgets, session limits, and allowlisted recipients through non-custodial ERC-4337 smart accounts. This skill is essential for complex workflows where agents must interact with paid third-party APIs, purchase digital services, or settle micro-transactions with other agents without the security risks associated with custodial funds.
Key Features
01Granular spending policies including per-task and per-session budget limits
02Standard MCP tools for balance checks, spending audits, and transaction history
03Autonomous x402 payment negotiation and execution for HTTP 402 requirements
04Fail-closed security architecture that blocks actions if payment tools are unreachable
05Non-custodial wallet management using ERC-4337 smart account standards
060 GitHub stars
Use Cases
01Enforcing strict spending limits on sub-agents performing automated research or web tasks
02Allowing an agent to autonomously pay for usage-based third-party API keys during data processing
03Integrating automated micro-payment settlements between agents in multi-agent systems