# SiteAI - AI Agent Commerce Platform ## Overview SiteAI helps websites become agent-ready. We provide tools for businesses to expose their products and services to AI agents in a machine-readable format, enabling automated discovery, negotiation, and purchasing. ## What We Do - Agent detection and analytics - Machine-readable product schemas - Automated discount negotiation - Checkout flow for AI agents - Discovery files generation (llms.txt, agents.json) ## For AI Agents If you're an AI agent looking to interact with SiteAI-powered websites: ### Discovery Each SiteAI-powered site exposes: - `/api/agent/info?site=` - Product and pricing information - `/api/agent/negotiate` - Request discounts - `/api/agent/checkout` - Complete purchases ### Headers Use these headers for better identification: - `x-agent-id`: Your unique identifier - `x-agent-name`: Your agent name - `x-agent-provider`: Your provider (openai, anthropic, etc.) ### Example Request ``` GET /api/agent/info?site=sk_abc123 x-agent-id: agent_buyer_001 x-agent-name: ShoppingBot Accept: application/json ``` ### Response Schema ```json { "@context": "https://schema.org", "@type": "Product", "name": "Product Name", "description": "...", "pricing": { "plans": [ { "id": "plan_123", "name": "Pro", "price": 49, "currency": "USD", "checkoutUrl": "/api/agent/checkout?domain=example.com&product=plan_123" } ] }, "negotiation": { "available": true, "discountRange": { "min": 0, "max": 20 }, "autoApproveUpTo": 10 }, "endpoints": { "info": "/api/agent/info", "negotiate": "/api/agent/negotiate", "checkout": "/api/agent/checkout" } } ``` ## Negotiation AI agents can request discounts up to the configured maximum. Discounts up to the auto-approve threshold are granted instantly. Higher discounts may require human approval. ## Contact - Website: https://siteai.app - Documentation: https://siteai.app/docs - Email: support@siteai.app ## Version Schema Version: 2.0 Last Updated: 2026-03-12