Agent Payment x402
Enables AI agents to execute payments and manage budgets using the x402 protocol and non-custodial wallets.
This skill integrates the x402 HTTP payment protocol into AI agents, allowing them to autonomously pay for API calls, services, or transactions with other agents while maintaining strict human-defined spending controls. By utilizing non-custodial wallets and the Model Context Protocol (MCP), it provides a secure framework where agents manage their own keys through ERC-4337 smart accounts but remain bound by per-task or per-session budget limits set by an orchestrator, effectively eliminating custodial risk across networks like Base and X Layer.
Key Features
01Granular spending controls including per-task and per-session budgets
020 GitHub stars
03Non-custodial wallet management via ERC-4337 smart accounts
04Standardized MCP tools for balance checks, payments, and auditing
05x402 HTTP Payment protocol for machine-to-machine negotiation
06Support for Base (agentwallet-sdk) and X Layer (OKX Payments)
Use Cases
01Implementing machine-to-machine commerce where agents trade data or services
02Allowing agents to autonomously pay for premium API access or microservices
03Enforcing strict financial guardrails for autonomous agents performing on-chain transactions