agents-pay
Use when THIS agent needs to pay for x402-protected content at runtime: hitting a paywall mid-task, settling it via AgentCore Payments, and applying operator-defined spend limits. Covers payment setup, policy, session budgets, and troubleshooting. Triggers on: "my agent hit a 402 while calling an API", "a tool call returned 402 Payment Required", "my agent needs to pay for x402-protected content", "let the agent pay for content, capped at $5 per session", "set a spend limit for the agent", "ProcessPayment failed", or "why did my agent refuse to pay". Not for BUILDING payment capability for end users, including wallets and framework middleware; use agents-build and references/payments.md. For non-paid APIs via Gateway use agents-connect. For inbound auth use agents-harden. For project scaffolding use agents-get-started.
- Version
- 1.0.0
Pinned to revision 6329aa88ff7c, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Bash
Files
- skills/agents-pay/SKILL.md
- skills/agents-pay/.gitignore
- skills/agents-pay/packages/openclaw/.gitignore
- skills/agents-pay/packages/openclaw/PUBLISHING.md
- skills/agents-pay/packages/openclaw/README.md
- skills/agents-pay/packages/openclaw/openclaw.plugin.json
- skills/agents-pay/packages/openclaw/package-lock.json
- skills/agents-pay/packages/openclaw/package.json
- skills/agents-pay/packages/openclaw/runtime/agentcore_bridge.py
- skills/agents-pay/packages/openclaw/scripts/stage-skill.mjs
- skills/agents-pay/packages/openclaw/skills/agents-pay/SKILL.md
- skills/agents-pay/packages/openclaw/src/bridge.ts
- skills/agents-pay/packages/openclaw/src/config.ts
- skills/agents-pay/packages/openclaw/src/index.ts
- skills/agents-pay/packages/openclaw/src/payments.ts
- skills/agents-pay/packages/openclaw/src/x402.ts
- skills/agents-pay/packages/openclaw/test/fixtures/v2-security-contract.json
- skills/agents-pay/packages/openclaw/test/security.test.mjs
- skills/agents-pay/packages/openclaw/test/test_agentcore_bridge.py
- skills/agents-pay/packages/openclaw/tsconfig.json
- skills/agents-pay/references/openclaw-setup.md
- skills/agents-pay/references/operator-guide.md
- skills/agents-pay/references/security-model.md
- skills/agents-pay/references/setup.md
- skills/agents-pay/references/troubleshooting.md
- skills/agents-pay/requirements.txt
- skills/agents-pay/scripts/agents_pay_admin.py
- skills/agents-pay/scripts/test_portability.py
- skills/agents-pay/scripts/test_x402_policy.py
- skills/agents-pay/scripts/x402_fetch.py
- skills/agents-pay/scripts/x402_fetch_cli.py
- skills/agents-pay/scripts/x402_policy.py
Every link opens the file at its source, pinned to the revision this page describes.