Agentic commerce play
AgentCart
A tiny demo merchant for the world where software buyers are agents— not humans clicking through carts. Structured JSON beats fragile browser automation; checkout is an API; policies are machine-readable.
Inspired by Selling to Agents (Educating Silicon). No real payments — demo only.
For autonomous buyers
Discovery
/.well-known/agent-commerce.jsonEntry point linking catalog, policies, checkout.
Catalog
GET /api/agent/catalogSKUs, prices,
integrationNotes, verifiableClaims for RAG-friendly retrieval.Policies
GET /api/agent/policiesCheckout (demo)
POST /api/agent/checkout{
"sku": "STRUCT-DATA-STARTER",
"quantity": 1,
"idempotencyKey": "your-uuid-here",
"buyerRef": "optional-correlation-id"
}Set
AGENTCART_API_KEY on the server to require Authorization: Bearer ….LLM hint file
GET /llms.txtWhy this exists
- Agents are unreliable at multi-step web checkout; APIs are closer to “perfect” for them.
- Commerce needs explicit auth/payment/delegation stories — sketched in
/api/agent/policies. - Structured, verifiable snippets help your offer land in an agent’s consideration set (training / RAG / tools).