
Agent Payment X402
Gives your AI agent the ability to pay for APIs and services using the x402 HTTP payment protocol with strict spending controls. You set per-task and per-session budgets, allowlist recipients, and the agent operates a non-custodial wallet within those bounds. Use agentwallet-sdk for Base and other EVM chains, or OKX Agent Payments Protocol for X Layer. The source includes a helpful decision tree for buyer versus seller integrations and working TypeScript examples that show proper budget enforcement hooks. Worth noting that the OKX path has some deprecated aliases and the docs warn you to fetch current SDK references before production because payment packages change frequently.
- skills.sh installs
- 3.9K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill agent-payment-x402 --agent claude-codeInstalls into .claude/skills of the current project.
Files
Agent Payment Execution (x402)
Enable AI agents to make policy-gated payments with built-in spending controls. Uses the x402 HTTP payment protocol and MCP tools so agents can pay for external services, APIs, or other agents without custodial risk.
When to Use
Use when: your agent needs to pay for an API call, purchase a service, settle with another agent, enforce per-task spending limits, or manage a non-custodial wallet. Pairs naturally with cost-aware-llm-pipeline and security-review skills.
Decision Tree
Choose the integration path based on whether your agent is buying access to a paid API or charging others for one:
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Categories
- AI & Agent Building, Finance & Trading
- First seen
- Apr 16, 2026
More from affaan-m/everything-claude-code
All 256- Canary Watch3.9K
- Ck3.9K
- Council3.9K
- Dart Flutter Patterns3.9K
- Healthcare Cdss Patterns3.9K
- Healthcare Emr Patterns3.9K
- Product Lens3.9K
- Token Budget Advisor3.9K
- Customer Billing Ops3.8K
- Dashboard Builder3.8K
- Healthcare Eval Harness3.8K
- Manim Video3.8K
- Ui Demo3.8K
- Agent Introspection Debugging3.7K
- Connections Optimizer3.7K
- Dotnet Patterns3.7K
- Finance Billing Ops3.7K
- Gan Style Harness3.7K
- Google Workspace Ops3.7K
- Knowledge Ops3.7K
- Lead Intelligence3.7K
- Openclaw Persona Forge3.7K
- Opensource Pipeline3.7K
- Security Bounty Hunter3.7K