Autonomous Agent Payments (x402)

•
1
•

Enables AI agents to autonomously pay for APIs and services with integrated spending controls and non-custodial wallets.

The Agent Payment Execution skill integrates the x402 protocol and Model Context Protocol (MCP) tools to allow Claude Code to handle financial transactions securely. It facilitates a machine-negotiable payment flow that automatically manages HTTP 402 errors, allowing agents to settle costs for external services or peer-to-peer agent interactions without human intervention. With robust spending policies such as per-task budgets, allowlisted recipients, and rate limits, developers can safely delegate financial authority to agents while maintaining full control over fund security through non-custodial ERC-4337 smart accounts.

Key Features

01Detailed audit trails for transaction logging and post-task monitoring
02Granular spending controls including per-task and per-session budgets
03Standardized MCP tools for balance checks and payment transfers
041 GitHub stars
05Automated x402 HTTP payment negotiation and execution
06Non-custodial ERC-4337 smart accounts for secure key management

Use Cases

01Enforcing strict financial boundaries for R&D agents using premium cloud services
02Enabling machine-to-machine settlements between autonomous AI agents
03Automating payment for paid API endpoints during a complex agent workflow