Agent Payment Execution (x402)
Enables AI agents to perform secure, policy-gated payments using the x402 protocol and non-custodial wallets.
The agent-payment-x402 skill provides a robust framework for AI agents to handle financial transactions autonomously while maintaining strict security. By leveraging the x402 HTTP payment protocol and ERC-4337 smart accounts, it allows agents to pay for API access, services, or settle with other agents on networks like Base and X Layer. It features sophisticated spending controls including per-task budgets and allowlisted recipients, ensuring that agents operate within pre-defined financial boundaries without custodial risk to the orchestrator.
Key Features
01Granular spending controls with per-task and per-session budget limits
02Multi-chain support for Base (agentwallet-sdk) and X Layer (OKX)
03Non-custodial wallet management via ERC-4337 smart accounts
04Native MCP tools for balance checks, payments, and transaction auditing
05x402 HTTP payment protocol support for automated machine-negotiated flows
060 GitHub stars
Use Cases
01Enabling an AI agent to purchase API credits automatically when a budget is available
02Setting up agent-to-agent settlement for collaborative multi-agent workflows
03Restricting agent spending to specific allowlisted service providers and daily limits