# Agent-Ready Check

> The agent-ready check reads a built site the way an AI assistant does, without a browser, and fails what an assistant can't use. Without it, an assistant that fetches your page may find a JavaScript shell, a robots.txt that blocks it, or no answer it can quote, and cite someone else. Whether an assistant can read the site without a browser. Answer engines fetch raw HTML, often skip JavaScript, and quote the first thing that answers the question.

Canonical: https://heddle.pro/checks/agent-ready

---

With Heddle on your site it runs on every build, so a page that fails it is fixed before a buyer or a search engine sees it.

## Why it exists

Whether an assistant can read the site without a browser.

Answer engines fetch raw HTML, often skip JavaScript, and quote the first thing that answers the question. Each rule here shipped wrong once on the sites this came from:

- llms.txt and llms-full.txt were live for months with nothing linking to them; robots.txt is the file an assistant reads first, so it should point at them (a comment, since robots has no field for it).
- The Markdown twin injector ran before the hub mirrors were written, so 21 hubs had a twin and no Link header announcing it. An engine reading those hubs got half a page of React flight payload before the prose.
- Structured data minted a second node for the same event instead of pointing at a stable @id, and a validator failed the copy.
- The answer under the H1 is what an assistant lifts. Too short and it says nothing; past 80 words it gets cut mid-claim.
Rules, against the built outDir:

- llms.txt exists and names every indexable page (its URL or its twin).
- Every indexable page has a Markdown twin (route + ".md", "/index.md" for the home page) and, when the build writes _headers, a Link header announcing it.
- robots.txt lets the answer-engine crawlers fetch "/".
- Every indexable page carries JSON-LD with at least one @id.
- The main content is in the HTML, not rendered by JavaScript.
- The first paragraph after the H1 is 40 to 80 words (a warning. Some pages, a brand page, a form, have no answer to give).
- A twin says what its page says. The twins are written from the built HTML, so they drift only when one is stale, hand-written or patched after the build; on the site this came from, city twins answered "do you have an office here?" differently from their pages (11 Oct 2026), and an assistant reading the twin told a buyer the wrong thing. Every prose line of the twin must be on the page, and its H1 must be the page's.
- _headers stays within the 100 rules Cloudflare reads. One Link rule a page passes the limit somewhere near 85 pages, and every rule past it is dropped without an error; agentReady.linkHeaders "runtime" moves the Link header to the Worker (templates/worker/heddle-twins.ts).
- Every buyer question in topics.json buyerQuestions that names a page is asked on that page, in a heading or an FAQ question, so the answer sits under the words the buyer typed. A question with no page yet is a warning. It is the next page to write.
Google said on 15 May 2026 that Search ignores llms.txt, so rule 1 is a bet on the other assistants, which do fetch it. The rest serve Google too.

From lib/checks/agent-ready.mjs in the Heddle repository at 4ccdf8b.

## Questions

### What does the agent-ready check look for?

llms.txt, Markdown twins that agree with their pages, _headers under its limit, answer-engine crawlers allowed, JSON-LD @ids, an answer under the H1, buyer questions asked, content without JS.

### How do I run the agent-ready check?

Build the site, then run node bin/heddle.mjs check <site> --only agent-ready from the Heddle repository.

## Ready to get found? Check your site, talk to us, or see the plans.

Tell us about your business and who buys from you. On a short call we'll show you the searches your buyers make where you don't show up yet, and what the agents would do about them in their first month.
