Global Visions

Published Dec 5, 2026 · GEO & Technical SEO Guide · Global Visions OÜ

How to Add llms.txt, AI Crawler robots.txt & /.well-known/agent-card.json

Traditional HTML pages are noisy for language models: navigation chrome, cookie banners, and client-side JavaScript waste context tokens and cause AI search engines (ChatGPT Search, Perplexity, Claude, Google AI Overviews) to misquote pricing or skip your product altogether. Adding three lightweight static files at the root of your domain turns your site into a clean, authoritative machine-readable source in under 10 minutes.

Check Your Website's AI Readiness Score Right Now (Free)

Paste your domain to run our live 10-point check across /llms.txt, AI crawler policies, JSON-LD, agent-card.json, and sitemap.xml—or auto-generate all 4 files tailored to your domain for €5.

Audit Your Website Free →

1. Publish /llms.txt in Markdown at Domain Root

Serve a plain UTF-8 Markdown file at https://yourdomain.com/llms.txt starting with an # H1 brand title, a concise > blockquote summary, and curated links to pricing, docs, API specs, and legal entity details. Never return an HTML SPA fallback for /llms.txt.

# Your Company Name

> One-sentence factual summary of what your product does, who it serves, and starting price.

## Core Pages
- [Pricing](https://yourdomain.com/pricing/): Self-service plans from €9/mo.
- [API Documentation](https://yourdomain.com/docs/): OpenAPI 3.0 & MCP server reference.

## Machine Discovery
- Sitemap: https://yourdomain.com/sitemap.xml
- Agent Card: https://yourdomain.com/.well-known/agent-card.json

2. Explicitly Allow AI Search Bots in /robots.txt

Many legacy CDNs and WAF rules accidentally block OAI-SearchBot, ClaudeBot, or PerplexityBot while trying to stop bulk training scrapers. Separate search/retrieval agents from generic scrapers explicitly:

User-agent: *
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml

3. Expose /.well-known/agent-card.json for Agent-to-Agent Discovery

Autonomous workflows increasingly probe /.well-known/agent-card.json to discover structured endpoints, MCP servers, and machine payment rails (Stripe MPP / HTTP 402):

{
  "schema_version": "1.0",
  "name": "Your Company",
  "url": "https://yourdomain.com",
  "llms_txt": "https://yourdomain.com/llms.txt",
  "sitemap": "https://yourdomain.com/sitemap.xml",
  "capabilities": { "public_documentation": true }
}

4. Verify With a Live 10-Point Technical Scan

Don't guess whether Vercel, Cloudflare, or Nginx is serving the right Content-Type and HTTP 200 status. Run a live scan on our AI Agent Readiness Auditor—if you want every file pre-built from your live HTML metadata, unlock the tailored Fix Pack for €5.