ATP Protocol — Development skill for Claude Code
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.
[](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](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:
- Settlement Service (Facilitator): Centralized service handling all settlement logic, usage parsing, payment calculation, and blockchain transaction execution
- Middleware: FastAPI middleware that intercepts API responses, extracts usage data, encrypts responses, executes payments, and decrypts responses only after payment confirmation
- Client: User-facing client that simplifies making requests to ATP-protected endpoints and interacting with the set
Related Skills
A2a Mod
A2A protocol client for Claude Code: Claude hands tasks to non-Claude worker agents over Agent2Agent and picks
Stripe Payments
Generate two Stripe payment links per close (setup fee + monthly subscription) when closer makes a stack recom
Solana Payments Skill
Agent skill for integrating Solana SPL token payments (USDC/USDT) — wallet generation, balance checking, trans
Pay Ask
Ask a payments operations question (Stripe, Primer, FunnelFox)
Pay Export
Analyze a Stripe, Primer or FunnelFox payments export
Comp Search
Run competitive pay research across job boards and nonprofit career pages, then sync qualifying results to the
Related Agents
Primer Payments
Primer payment lifecycle specialist: Payments API, client sessions, payment creation, authorization, capture,
X402 Treasurer
The ONLY agent allowed to execute x402 payments via pay_and_fetch on the keyed "vault" server instance. Use on
Auth Payment Agent
Deep-dive OAuth/OIDC, WebAuthn/FIDO2/passkeys, Apple/Google/Samsung Pay, IAP receipt validation, 3DS 2.x bypas