What problem does it solve?
Eliminates the complexity of wiring ATP Protocol middleware, usage parsing, and settlement for FastAPI servers and clients so agent services can enforce pay-before-decrypt on Solana without bespoke plumbing.
Core Features & Use Cases
- Middleware Setup: Shows how to add ATPSettlementMiddleware, configure pricing, recipient pubkeys, and encrypt responses until the ATP facilitator confirms payment.
- Client Usage: Documents instantiating ATPClient, attaching wallet headers to requests, auto-decrypting responses, and calling settlement endpoints directly for calculations or payments.
- Ecosystem Examples: Includes tutorials for Swarms, LangChain, AutoGen, CrewAI, and Anthropic so you can integrate ATP protections across popular agent frameworks.
Quick Start
Use this skill to configure ATPSettlementMiddleware and ATPClient so your FastAPI endpoint encrypts output, parses usage, and settles via the facilitator before releasing responses.