The-Swarm-Corporation

ATP Protocol — Development skill for Claude Code

Development community

ATP Protocol is a payment-gated agent execution API that makes agent-to-agent payments and “pay to unlock results” easy on Solana, with a simple client integration (two endpoints + a Solana payment).

How to install ATP Protocol

This entry records only its repository, not the path inside it, so there is no exact command to give. Open The-Swarm-Corporation/ATP-Protocol and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What ATP Protocol does

ATP Protocol is a payment-gated agent execution API that makes agent-to-agent payments and “pay to unlock results” easy on Solana, with a simple client integration (two endpoints + a Solana payment).

Alternatives in Development

  • Stripe — Payments Stripe integration with best-practices skill 14k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
  • /token Scan — Fast rug pull detection for meme coins and token contracts 1.7k ★

README

ATP: Agent Trade Protocol

The premier agent-to-agent payment protocol and foundational framework to empower the agent economy.

[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Documentation](https://img.shields.io/badge/docs-swarms.ai-blue)](https://docs.swarms.ai/docs/atp/overview)

Overview

ATP (Agent Trade Protocol) is the premier agent-to-agent payment protocol that will be the foundational framework to empower the agent economy. Designed to overcome x402's issues and make agent-to-agent payments dynamic and simple, ATP enables automatic payment processing for agent services on the Solana blockchain. The protocol provides a middleware layer that automatically deducts payments from user wallets based on token usage, ensuring secure and transparent transactions.

Key Features

  • Security: Response encryption ensures users cannot access output until payment is confirmed on-chain
  • Automation: Zero-configuration payment processing through middleware integration
  • Decentralization: All payments executed on Solana blockchain with full transaction visibility
  • Format Flexibility: Supports multiple usage formats (OpenAI, Anthropic, Google, etc.) automatically
  • Transparency: Automatic payment splitting between treasury and recipient wallets

Architecture

ATP Protocol operates through three main components:

  1. Settlement Service (Facilitator): Centralized service handling all settlement logic, usage parsing, payment calculation, and blockchain transaction execution
  2. Middleware: FastAPI middleware that intercepts API responses, extracts usage data, encrypts responses, executes payments, and decrypts responses only after payment confirmation
  3. Client: User-facing client that simplifies making requests to ATP-protected endpoints and interacting with the set