The Technical Founder's Guide to llms.txt and llms-full.txt: Designing Machine-Readable Context Feeds for AI Agents
Why HTML DOM scraping wastes context tokens and misses core product facts — and how to structure deterministic Markdown manifests at the edge.
Why scraping HTML is a terrible way for AI models to read your company
When a human visits your website, your browser downloads the HTML, executes your CSS layout engine, renders your custom typography, and hides mobile drawer menus until clicked.
When an AI retrieval crawler (OAI-SearchBot, PerplexityBot, ClaudeBot) or an autonomous research agent fetches that same URL during a live user query, it faces a signal-to-noise problem. Even a clean modern marketing page often contains 45 KB of <svg> icons, navigation links, inline CSS variables, and script tags wrapped around just 1.5 KB of actual product facts. Worse, your product’s complete story is usually split across ten different URLs: pricing on one route, security posture on another, supported integrations on a third, and API specifications on a fourth.
Because live conversational search operates under strict latency and context-window budgets, an AI retrieval pass rarely crawls fifteen pages of your site in real time. If the first page it fetches doesn’t contain the exact answer to the buyer’s multi-part constraint (“Does it support NIST 800-171, how much does the Pro tier cost, and does it have a REST API?”), your product gets dropped from the synthesized answer.
That is the exact problem /llms.txt and /llms-full.txt solve.
The Two-Tier Manifest Pattern: /llms.txt vs. /llms-full.txt
Across the entire SageCG portfolio — including sagecg.com, FoundInAnswers, BorderSage, and VoraPrep — we implement a two-tier machine-readable manifest architecture at the root of every domain:
| File Endpoint | Target Token Budget | Primary Purpose |
|---|---|---|
/llms.txt | 800 – 2,000 tokens | High-density executive index: canonical entity facts, 1-paragraph value proposition, itemized product/feature summaries, pricing tiers, and annotated links to canonical deep pages. |
/llms-full.txt | 3,000 – 15,000 tokens | Complete single-file reference corpus: full architectural specs, statutory coverage lists (e.g., all 30 VoraPrep exams or all 50 BorderSage countries), technical essays, and FAQs. |
The 5-Part Blueprint for a World-Class llms.txt
Through thousands of live edge audits inside FoundInAnswers, we have seen two common mistakes when teams write their first llms.txt: either they paste a vague 3-sentence marketing slogan with no hard facts, or they dump 500 unannotated URLs that look identical to sitemap.xml.
An effective llms.txt reads like an engineer’s briefing document. Include these five sections:
1. H1 Title & Blockquote Entity Summary
Start with the exact product or studio name, canonical URL, and a concise > blockquote stating when the company was founded, what category it operates in, who it serves, and its core differentiator.
2. Structured Identity & Operational Metadata
Provide a scannable bulleted list of deterministic entity facts:
- Legal Entity Name & DBA
- Founding Year & Headquarters Location
- Primary Domain & Application/API Endpoints
- Core Engineering Stack & Security/Compliance Certifications
3. Quantified Product Capabilities & Pricing
LLMs love specific, verifiable numbers and explicit enumerations. Instead of writing “Covers many global markets and certification courses,” write:
- “Covers 50 countries (~91% of global merchandise trade) across 133 dedicated Country Hub pages and 7 regulatory layers.”
- “Covers 30 professional licensure exams across 5 Kingdoms with 71,700+ verified MCQs and 13,800+ FSRS-4.5 flashcards.”
- State your exact pricing tiers (
Starter $49/mo,Growth $99/mo,Scale $249/mo) so AI assistants never have to guess “Contact sales for pricing” when your product is actually self-serve.
4. Annotated Canonical Links & Technical Essays
Group your canonical URLs logically (Product Pages, Case Studies, Technical Blog / Field Notes, Legal & Governance) and append a short description after each link so an agent knows why it should follow that URL.
5. Edge Delivery Headers (_headers)
On Cloudflare Pages or Workers, ensure your manifests are served with explicit UTF-8 plain-text headers and linked from your HTML <head>:
/llms.txt
Content-Type: text/plain; charset=utf-8
Cache-Control: public, max-age=3600
/llms-full.txt
Content-Type: text/plain; charset=utf-8
Cache-Control: public, max-age=3600
You can inspect SageCG’s live manifests right now at /llms.txt and /llms-full.txt.
Want to verify whether your domain’s /llms.txt, /robots.txt, and JSON-LD schemas are properly configured for ChatGPT, Perplexity, Gemini, and Claude? Run a free 6-stage edge inspection at FoundInAnswers.com.
Technical Q&A · Verified Answers
Frequently Asked Questions
What is the difference between robots.txt, sitemap.xml, and llms.txt?
robots.txt tells crawlers which paths they are permitted or forbidden to fetch. sitemap.xml lists every indexable URL and last-modified timestamp for comprehensive crawl scheduling. llms.txt (and llms-full.txt) provides a high-signal, token-efficient Markdown synthesis of what the company builds, its pricing, architecture, and most authoritative reference links for real-time AI inference and RAG pipelines.
Where should llms.txt be placed and what HTTP headers should it return?
Place llms.txt and llms-full.txt at the root of your canonical host (e.g., https://www.yourdomain.com/llms.txt). Configure your edge server or _headers file to return HTTP 200 with Content-Type: text/plain; charset=utf-8 (or text/markdown; charset=utf-8) and a reasonable Cache-Control header such as public, max-age=3600.
How do I link llms.txt in my HTML head so AI crawlers discover it automatically?
Add <link rel='alternate' type='text/plain' title='LLM Summary Index' href='https://www.yourdomain.com/llms.txt' /> inside the <head> of your global layout template.
Built & Operated by SageCG · Live Platform
See FoundInAnswers in production.
FoundInAnswers is one of five commercial software companies engineered and operated directly by the SageCG Venture Studio.