agentic-payments

Monetize AI-driven APIs on Stellar via x402 and MPP payment flows.

9|66|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/salazarsebas/Cougr --skill agentic-payments-salazarsebas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentic-payments
Source: https://github.com/salazarsebas/Cougr/tree/main/.claude/skills/agentic-payments
Command: npx skills add https://github.com/salazarsebas/Cougr --skill agentic-payments-salazarsebas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Agentic-payments enables monetizing AI-driven APIs and machine-to-machine interactions on Stellar by providing structured protocols for paid access using x402 facilitator channels and the Machine Payments Protocol (MPP) in both Charge and Channel modes. This reduces friction for API providers and AI agents by handling payments, settlement, and contract interactions in a standardized, secure way.

Core Features & Use Cases

  • Supports x402 paid API integration via OZ Channels facilitator to sponsor client fees and enable zero-XLM access for buyers.
  • Implements MPP in Charge and Channel modes to accomodate per-request payments or high-frequency off-chain commitments.
  • Default USDC SAC on Stellar testnet/mainnet with clear deployment workflows and example clients.

Quick Start

Run the server and client examples after configuring the environment variables (network, USDC SAC, and OZ Channels API key) to monetize an API.

Frequently Asked Questions about agentic-payments

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

FAQPage Schema
How do I monetize an AI-driven API on Stellar using USDC?

Monetize AI-driven APIs on Stellar by using agentic-payments to enable paid access via x402 facilitator channels and the Machine Payments Protocol (MPP) with USDC. It handles payments, settlement, and contract interactions securely for API providers and AI agents.

What is the x402 protocol for machine-to-machine payments?

The x402 protocol enables paid API integration via OZ Channels facilitator to sponsor client fees and enable zero-XLM access for buyers. It provides structured protocols for machine-to-machine interactions on Stellar networks.

How do I set up MPP Charge and Channel modes for agent payments?

Set up MPP by configuring environment variables for network, USDC SAC, and OZ Channels API key, then run the server and client examples. Charge mode accommodates per-request payments, while Channel mode handles high-frequency off-chain commitments.

Can I use Soroban auth-entry signing with USDC SEP-41 SAC for API monetization?

Yes, agentic-payments supports x402 facilitator integration with USDC SEP-41 SAC and Soroban auth-entry signing. This enables secure channel and contract deployment workflows suitable for both Stellar testnet and mainnet environments.

Do I need XLM tokens to buy access to paid API endpoints on Stellar?

No, buyers do not need XLM tokens. The x402 paid API integration uses an OZ Channels facilitator to sponsor client fees, enabling zero-XLM access for buyers interacting with the monetized API endpoints.