ASAP Protocol
Introduction
Last updated Recently
The Vision
AI Agents currently lack a native economic layer. They cannot "hire" other agents or access paid APIs without a human manually managing credit cards and API keys. ASAP (Agent Service Discovery & Attestation Protocol) provides the infrastructure for the Machine-to-Machine Economy.
It solves two fundamental problems:
- Discovery: How does an agent find a specific service (e.g., "Image Gen") without a centralized directory?
- Settlement: How does an agent pay for that service instantly and trustlessly?
System Architecture
The system is a Hybrid Decentralized Architecture. It uses the blockchain for trust and settlement, but uses off-chain indexing for performance.
text
graph TD
User[Human / Agent] -->|Queries| Indexer[Indexer API]
User -->|Writes/Pays| Chain[Base Sepolia]
Indexer -->|Listens| Chain
Indexer -->|Stores| DB[(SQLite)]
Bot[Python Agent] -->|Discovers| Indexer
Bot -->|Pays| Chain
Bot -->|Consumes| Oracle[Oracle Endpoint]
Oracle -->|Verifies Payment| Chain