What problem does it solve?
Enable AI agents to autonomously pay for APIs, services, or other agents while enforcing strict spending controls and avoiding custodial key management. This Skill prevents runaway costs, removes the need for human intervention on routine paid actions, and reduces operator risk by keeping keys non-custodial.
Core Features & Use Cases
- x402 payment flow: Automatically negotiate price on HTTP 402 responses, sign transactions, and retry requests without human intervention.
- Spending controls: Enforce per-task budgets, per-session budgets, allowlisted recipients, and rate limits to prevent overspend.
- Non-custodial wallets: Use ERC-4337 smart accounts so agents hold their own keys while the orchestrator sets immutable spending policy.
- Use Case: An orchestrator delegates a paid API call to an agent, sets a $0.50 per-task budget and $5/session limit, and requires pre-tool budget checks so the agent can only pay within approved bounds.
Quick Start
Configure the agentpay MCP tool with a pinned agentwallet-sdk and set an orchestrator SpendingPolicy before delegating any paid tasks.