Skip to content
Kitbay
Submit

agents-pay

Apache-2.0Updated on Nov 11, 20263,464GitHub starsIncludes scripts

A skill for an agent that has to pay for x402-protected content while it is working, for example when an API call returns 402 Payment Required.

What the skill teaches

A skill for an agent that has to pay for x402-protected content while it is working, for example when an API call returns 402 Payment Required. It settles the charge through Amazon Bedrock AgentCore Payments within spending limits the operator sets, such as a cap per session, and covers payment setup, policies, session budgets and troubleshooting failed or refused payments. It keeps the model-facing tool separate from trusted code that handles payment proofs and browser payments, and ships Python scripts for the x402 fetch and policy logic. Building payment features for end users belongs to agents-build instead.

Capabilities

  • Pay for x402-protected content through AgentCore Payments
  • Apply operator-set spending limits
  • Troubleshoot failed or refused payments