
Agent Payment X402
Adds x402 HTTP payment protocol to AI agents so they can pay for APIs, services, or other agents without holding your keys. Ships with per-task and per-session budget enforcement, recipient allowlists, and rate limits that you set in the orchestrator before the agent runs. Supports Base through agentwallet-sdk and X Layer through OKX's payment protocol. The MCP tools let agents check balance, send payments, and query spend history, but policy configuration stays in your orchestration layer so agents can't escalate their own limits. Useful when you need an agent to purchase external services or settle with other agents under strict spending controls. The source includes detailed budget enforcement examples and current seller SDK paths for TypeScript, Go, Rust, and Java.
- skills.sh installs
- 5.5K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --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/ecc
- Categories
- AI & Agent Building, Finance & Trading
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Ck5.5K
- Clickhouse Io5.5K
- Terminal Ops5.4K
- Knowledge Ops5.4K
- Nutrient Document Processing5.4K
- Kotlin Exposed Patterns5.4K
- Claude Devfleet5.4K
- Finance Billing Ops5.4K
- Healthcare Cdss Patterns5.4K
- Ui To Vue5.4K
- Homelab Network Readiness5.4K
- Quality Nonconformance5.4K
- Cost Tracking5.4K
- Homelab Vlan Segmentation5.4K
- Gateguard5.4K
- Workspace Surface Audit5.4K
- Plan Orchestrate5.4K
- Production Scheduling5.4K
- Automation Audit Ops5.4K
- Canary Watch5.4K
- Healthcare Eval Harness5.4K
- Laravel Plugin Discovery5.4K
- Lead Intelligence5.4K
- Team Builder5.4K