llms.txt and OpenAPI Setup Guide for AI Agents

If your product is not machine-readable, agents cannot use it reliably. This guide shows the minimum implementation to make AI tools discover your docs and call your API with fewer failures.

Required public files

Example llms.txt structure

Product: Your API
Start here: https://example.com
API: https://example.com/v1
OpenAPI: https://example.com/.well-known/openapi.json
Docs: https://example.com/docs
Contact: mailto:support@example.com

OpenAPI implementation checklist

Common failures to avoid

Verification workflow

Run your public AI-readiness audit →

Related guides: AI readiness checklist · Technical SEO for AI discovery