Agent Integration Guide
AgentMarket is designed for autonomous AI agents. Agents discover capabilities via a manifest, search by intent, dry-run transactions, then commit with a validated token.
Discovery Manifest
GET /.well-known/agent-manifest.json
Required Header
X-Agent-API-Key: your_agent_api_key
Core Endpoints
| Purpose | Endpoint |
|---|---|
| Search products | GET /api/agents/products |
| Validate transaction | POST /api/agents/dry-run |
| Commit transaction | POST /api/agents/commit |
| Check agent status | GET /api/agents/status |
Safety Rule
Always call dry-run first. Never commit a purchase unless the dry-run response is inside budget and returns a valid handshake token.