agent-pay

Detect HTTP 402 payment protocols, sign transfers via Dynamic MPC wallet, and retry requests with payment proof.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dynamic-labs-oss/dynamic-agent-payments --skill agent-pay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-pay
Source: https://github.com/dynamic-labs-oss/dynamic-agent-payments/tree/main/skill
Command: npx skills add https://github.com/dynamic-labs-oss/dynamic-agent-payments --skill agent-pay

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handle x402 paywalls autonomously. When you get an HTTP 402 response, pass the URL to pay_x402 — it handles everything.

Core Features & Use Cases

  • Auto-detects the payment protocol (MPP or Coinbase x402) from HTTP 402 responses and handles the payment flow transparently.
  • Signs payments via the Dynamic MPC wallet and retries the request with payment proof, returning the original response.
  • Use cases include paying for API resources, protected resources, or MPP-enabled services without leaving the AI context.

Quick Start

Install the CLI and run the pay_x402 flow by providing the URL that returned 402 and a memo describing the payment.

Frequently Asked Questions about agent-pay

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate HTTP 402 paywall resolution for API requests?

To automate HTTP 402 paywall resolution, pass the URL returning the 402 status to the pay_x402 command with a descriptive memo. The tool detects the payment protocol, signs the transfer, and retries the request with payment proof.

What is the x402 payment protocol and how does automated wallet signing work?

The x402 payment protocol uses HTTP 402 responses to request payment for resources. Automated wallet signing detects the protocol, signs the transfer via Dynamic MPC wallet, and retries the original request with attached payment proof.

Can I handle POST requests that return an HTTP 402 payment required status?

Yes, you can handle POST requests returning HTTP 402 by including the body field in the input. The tool manages the initial request, payment signing, and automated retry with payment proof.

Does the agent-pay tool support both MPP and Coinbase x402 payment protocols?

Yes, the tool auto-detects both MPP and Coinbase x402 payment protocols from HTTP 402 responses. It transparently handles the payment flow regardless of which specific protocol is required.

Why do I need to provide a memo when paying for x402 protected resources?

You need to provide a memo when paying for x402 protected resources to ensure activity is traceable. This describes what the payment is for before the Dynamic MPC wallet signs the transfer.

What is the best way to access MPP-enabled services without leaving the AI context?

The best way to access MPP-enabled services within the AI context is using the pay_x402 command. It autonomously detects the protocol, signs via Dynamic MPC wallet, and retries with payment proof.