Why /ai
The web already has conventions for machines:
robots.txtTells crawlers what NOT to do
sitemap.xmlTells crawlers where pages are
/aiTells AI agents what you can DO
/ai is a lightweight JSON endpoint that tells an AI agent what a service can do and how to call it.
Instead of scraping HTML, guessing hidden APIs, or reading a long human-focused docs site, an agent can fetch one predictable endpoint and get a compact machine-readable contract.
What you get
- A predictable
GET /aientry point - A compact service summary and capability list
- Clear authentication hints
- Token-efficiency hints such as compact mode or field filtering
- A validation path for checking whether an implementation is usable
Documentation map
Use these pages in order if you are implementing the spec for the first time:
Quick Start- generate your first/aiendpointCLI- generate from OpenAPI, validate, scaffoldServe- one-line middleware for Express, Fastify, Next.js, HonoSpec Reference- all fields and their meaningValidation- scoring and compliance
If you are integrating AIEndpoint with clients or workflows:
MCP Server- let AI agents discover any websiteSkill- Claude Code skill for inline generation