What problem does it solve? AI agents that need to pay for APIs, services, or other agents lack a safe way to transact autonomously without custodial risk or uncontrolled spending. This Skill integrates the x402 HTTP payment protocol with MCP tools so agents can negotiate and execute payments while staying within enforced budgets. ## Core Features & Use Cases - x402 Protocol Integration: Automatically handles HTTP 402 Payment Required responses by negotiating price, checking budget, signing transactions, and retrying requests. - Spending Controls: Enforces per-task budgets, per-session budgets, allowlisted recipients, and rate limits set by the orchestrator before delegation. - Non-Custodial Wallets: Agents hold their own keys via ERC-4337 smart accounts, eliminating pooled funds and custodial risk. - Use Case: An orchestrator spawns a research agent that must call a paid data API. Before delegation, the orchestrator sets a $0.50 per-task budget and allowlists the API domain; the agent pays per request and cannot exceed its limit. ## Quick Start Configure the agentpay MCP server with a pinned agentwallet-sdk version and set a spending policy before delegating any paid task to your agent.