BigHugger
sk Skill · affaan-m

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

installs 8w
1,541
30-day movement
starts with the next reading
Related entries
5
Connections
0
typescriptjsonJavaScript

A SKILL.md that teaches an AI coding agent to execute x402 payments on an agent's behalf, with per-task budgets, spending controls, and non-custodial wallets. It covers two integration paths: agentwallet-sdk for Base (and multi-chain) and the OKX Agent Payments Protocol for X Layer, exposed as MCP tools.

Reach for it when your agent must pay for APIs, services, or other agents itself and you need policy-gated spending limits rather than unlimited spend.

Use it to

  • Pay for a paid API call via x402 from an agent
  • Attach per-task spending policies before delegating to sub-agents
  • Settle payments between agents (A2A charge flows)
  • Run X Layer multi-party or session payment flows via OKX
  • Enforce budgets in an MCP client orchestrator

For Developers building payment-capable AI agents and orchestrators

Host repository
affaan-m/ECC
Installs, lifetime
2,900
Installs, 8 weeks
1,541
Host stars
261k
Host language
JavaScript
topicsx402paymentsagentsmcpwalletsspending-controls