Agent-ready website structure: a checklist

Agent-ready website structure: a checklist

A checklist of what assistants can and cannot read, tested on 13 live pages, corecodify.com included

Check the page an agent receives, not the page you see:

Most advice about making a website ready for AI agents starts with a new file to add. This checklist starts with what an agent actually receives. On 5 December 2026 I fetched 13 live pages, three on corecodify.com and ten on other well-known sites, twice: as plain HTML, the way most AI crawlers read a page, and in real Chrome, the way a browser agent sees it. I also checked robots.txt, llms.txt, the answer to a URL that does not exist, the accessibility tree and the JSON-LD. Each item below comes with a check you can run in a few minutes.

Three ways an agent reads your page

Google's web.dev guide on agent-friendly sites, by Kasper Kulikowski and Omkar More, puts it plainly: "Agents can view your website in 3 primary ways: screenshots, raw HTML, and the accessibility tree." Which of the three applies depends on the visitor. Crawlers that feed AI search and model training mostly take the raw HTML and stop there. In their study of AI crawler traffic, Vercel and MERJ reported that "none of the major AI crawlers currently render JavaScript", naming OpenAI's three crawlers, ClaudeBot and PerplexityBot among them, while Gemini runs on Googlebot's infrastructure and does render. Browser agents that drive Chrome for a person do run JavaScript, and then lean on the accessibility tree and screenshots.

So an agent-ready page passes three tests at once: the content is in the first HTML response, the accessibility tree names every control, and the layout holds still. Google's guidance, updated on 2 December 2026, is a useful brake on the rest: Google Search does not use llms.txt, and structured data "isn't required for generative AI search". That is why structure comes first here and the extras come last.

1. The main content is in the first HTML response

The test: fetch the page without a browser and count the words of visible text, then load it in headless Chrome and count again, and check whether the raw HTML already holds the H1. Raw counts often run higher because they include menus and duplicate mobile blocks the browser hides, so what matters is whether the main content is there at all.

On 11 of the 13 pages it was. Two were close to empty before JavaScript ran: app.uniswap.org returned no body text and no H1, against 334 words once rendered, and excalidraw.com returned one word against 63. Both are apps, where that is a fair choice. The risk is a service or product page built the same way, which some site builders do; our comparison of AI website builders and custom websites covers what to ask. corecodify.com renders every route to static HTML at build time, so its counts stay close: 702 against 636 words on the home page.

Bar chart of raw HTML words against rendered words for 13 pages: most pages have similar bars, while excalidraw.com and app.uniswap.org have almost no raw HTML text
The same numbers as the table, drawn from my audit script's output. Two app pages carry almost no text before JavaScript runs.
  • Open view-source (Ctrl+U), not the element inspector, and search for your H1 and a sentence from the middle of the page.
  • Or run curl -s https://example.com/page | grep -c "a sentence from the page". A result of 0 means a crawler that does not run JavaScript gets nothing.
  • Keep prices, opening hours, addresses and product names in that first response.
  • Leave client-side rendering for extras such as chat widgets and counters, as the Vercel study also recommends.
Raw HTML against rendered page, 5 December 2026 (visible words, scripts and styles removed)
PageRaw HTML wordsRendered wordsH1 in raw HTMLJSON-LD in raw HTML
corecodify.com home702636YesYes
corecodify.com product page1,2011,187YesYes
corecodify.com blog post3,0943,017YesYes
stripe.com2,0761,992YesYes
vercel.com548318YesYes
anthropic.com325270YesYes
shopify.com1,063731YesNo
react.dev1,2321,085YesNo
linear.app1,4821,164YesNo
figma.com649465YesYes
llmstxt.org2,0202,001YesNo
excalidraw.com163YesNo
app.uniswap.org0334NoNo

2. Missing pages return 404, and special files return what they claim

Crawlers ask for many URLs that do not exist. On nextjs.org, the Vercel study found ChatGPT's crawler spent 34.82% of its fetches on 404 pages, so the answer to a bad URL is part of your structure. corecodify.com answered a made-up path with a 404 and served llms.txt as plain text. app.uniswap.org answered both with 200 and its HTML app shell, so its llms.txt is a web page labeled as a success, and any typo URL looks real. Google's JavaScript SEO documentation has a section titled "Avoid soft 404 errors in single-page apps" for exactly this.

Terminal output listing status code and content type: corecodify.com llms.txt 200 text/plain, corecodify.com missing page 404, app.uniswap.org llms.txt 200 text/html, app.uniswap.org missing page 200 text/html
Real curl output from 5 December 2026. A missing page should not come back as 200.
  • Run curl -sI https://example.com/no-such-page and expect a 404 status, not 200.
  • Run curl -sI on /robots.txt and /llms.txt (if you have one) and expect text/plain, not text/html.
  • List your sitemap in robots.txt. Ten of the 11 sites did; react.dev was the exception on the day I checked.

3. robots.txt says what you mean to each kind of bot

Only 2 of the 11 sites named any AI crawler in robots.txt: corecodify.com and figma.com. The rest leave AI bots to their User-agent: * group, which is fine if that group says what you want. Figma's file is a deliberate split: GPTBot and ClaudeBot are disallowed except the pricing pages, Google-Extended and CCBot are disallowed entirely, and a separate group for ChatGPT-User, OAI-SearchBot, PerplexityBot, Claude-SearchBot and Claude-User carries 295 Allow lines.

The split matters because the bots do different jobs. OpenAI's documentation says: "Sites that are opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though can still appear as navigational links." One trap: under RFC 9309 the most specific group wins, and a crawler falls back to the * group only "If no matching group exists". A named group with only Allow: / drops your private-path Disallow lines for that bot, which is why corecodify.com repeats them. Our post on telling AI bots from visitors in your logs has a script that checks the rules each bot gets.

  • Decide training and search separately: GPTBot and ClaudeBot train models; OAI-SearchBot, Claude-SearchBot and PerplexityBot feed search answers.
  • If you add a named group, copy every Disallow line from your * group into it.
  • Fetchers acting for a user, such as ChatGPT-User, may not follow robots.txt, so do not rely on it to hide anything private.

4. The accessibility tree names every link, button and field

Browser agents read the same accessibility tree that screen readers use, which the web.dev guide describes as "roles, names, and states of interactive elements". An icon button with no label has no name, and an agent has to guess what it does.

My first attempt at this check was a short script that inspected elements directly. It reported 30 unnamed links on stripe.com and 85 on vercel.com. That was a bug in my script, which missed some ways names are supplied. Re-run with Playwright's aria snapshot, which reads the tree the browser builds, the numbers fell to 0 and 1. Use the browser's tree, not a homemade guess. With it, corecodify.com's home page had 0 unnamed items across 43 links, 7 buttons and 2 text boxes, and app.uniswap.org had 6 of 27 buttons with no name. Our website accessibility guide has a keyboard and screen reader pass that catches the same problems.

  • Give icon-only buttons an aria-label and connect every input to a label.
  • Use real button and a elements instead of clickable div or span elements.
  • In Chrome DevTools, open the Accessibility pane and click through your main call to action. Every step should have a role and a name.
  • Avoid transparent layers over controls and layouts that shift after load; the web.dev guide warns about both.

5. Structured data matches what is on the page

Seven of the 13 pages carried JSON-LD in their raw HTML. The useful check is whether it agrees with the page. On the corecodify.com product page for the Schema Markup Kit, the Offer markup says 29 USD and the page shows $29. Google's guidelines are direct about the other case: "Don't mark up content that is not visible to readers of the page."

Structured data helps rich results and gives machines a clean copy of facts such as price and address, though Google says its AI features do not require it. If you write JSON-LD by hand for several page types, templates save time; our Schema Markup Kit is one, and the agreement check still applies to whatever you paste in.

  • Run the page through Google's Rich Results Test or the Schema.org validator.
  • Compare every price, rating, date and address in the JSON-LD with the visible page, and never mark up reviews or FAQs the page does not show.

6. llms.txt is optional, cheap and ignored by Google Search

The llms.txt proposal begins: "We propose adding a /llms.txt markdown file to websites to provide LLM-friendly content." Seven of the 11 sites served one as plain text, including corecodify.com, Stripe, Vercel and Shopify (my script's first request for Shopify's file failed partway; a retry with curl returned it). Anthropic, Figma and Excalidraw returned 404, and Uniswap returned its app shell.

Google says publishing one "will neither harm nor help your site's visibility or rankings in Google Search, as Google Search ignores them." Other assistants and coding tools do read these files, so a short, accurate one is reasonable. What does not belong anywhere is hidden text meant only for machines: invisible instructions are the channel prompt injection uses, and Google's spam policies cover hidden text.

  • If you publish llms.txt, serve it as text/plain, link only to pages that exist and keep it current.

The checklist on one screen

With half an hour, run these in order. The first four catch most of what went wrong on the day. The AI search overview covers the wider steps for Google's AI features.

  1. Your H1 and a sentence from the middle of the page appear in view-source and in a plain curl fetch.
  2. Prices, hours, addresses and product names are in the first HTML response.
  3. A made-up URL returns 404, not 200.
  4. robots.txt and llms.txt come back as text/plain, and robots.txt lists your sitemap.
  5. Every named AI group in robots.txt repeats the private-path Disallow lines from the * group.
  6. Every link, button and field has a name in the browser's accessibility tree.
  7. The main controls stay in place after the page loads, with no transparent layers over them.
  8. JSON-LD validates and matches the visible page, number for number.
  9. llms.txt, if you keep one, is short, accurate and linked to real pages.
  10. Nothing on the page is hidden from people but written for machines.

What this test did not cover

This was a one-day check of 13 pages, mostly home pages, with one browser and one user-agent. Word counts suit spotting empty pages, not ranking sites. I did not ask any assistant about these sites, and the Vercel study dates from December 2024, so crawler behavior may have moved. The other sites appear only because their pages are public; an app with an empty first response can be the right design for an app.

FAQ

What makes a website agent ready?

Its main content is in the first HTML response, missing pages return a real 404, robots.txt says what you intend to each kind of bot, every control has a name in the accessibility tree, and any structured data matches the visible page. Extra files such as llms.txt come after those.

Do AI crawlers run JavaScript?

Most do not. Vercel and MERJ reported that OpenAI's crawlers, ClaudeBot and PerplexityBot did not render JavaScript in their data, while Gemini uses Googlebot's rendering. Browser agents that drive Chrome for a person do run it. Content that only appears after JavaScript runs is invisible to the first group.

Sources

About the author

Usama Ali is the founder of CoreCodify, his product brand for ready-made SEO checklists, pricing calculators, freelance kits and AI prompt packs. He also runs Usamify, where he builds websites, web apps, apps, UI/UX design, graphics and AI automations for small businesses. He has been freelancing since 2020, mostly on Fiverr and Upwork.

More about Usama Ali and CoreCodify · Editorial policy

Related reading

Technology

Measuring AI agents on your website

Your analytics dashboard counts people. Your server counts everything that asks for a page, and since AI products started fetching pages on behalf of users, that second number has become worth reading. This how-to builds the smallest useful version: a short Python script that reads an ordinary access log and sorts each request into AI training crawler, AI search crawler, assistant fetching for a user, search engine, other bot or likely person. I tested it on a log I generated myself, from the user-agent strings the vendors publish, and it got something wrong on the first run. I also checked the live robots.txt on corecodify.com, fetched the home page with eight bot identities, and pulled our own Search Console numbers. One limit up front: corecodify.com is a static site on shared hosting, and I cannot read its raw server logs, so I make no claim about how much AI traffic it receives.

Read article →

Technology

Support ticket triage by the numbers: what 10,003 labeled messages taught a simple classifier

Every help desk now advertises automatic triage, and most of the claims stop at the word accuracy. I wanted numbers I could repeat, so I ran the oldest, cheapest version of the idea: a bag-of-words classifier that reads a customer message and picks a queue. Trained on 10,003 labeled messages and scored on 3,080 it had never seen, it reached 89% accuracy across 77 categories. With only 5 labeled examples per category it managed 56%. The more useful result came from a different dial. When I told it to route a message only if it was at least 55% confident and hand the rest to a person, it handled about 78% of messages on its own, and 96.6% of those went to the right place. This post shows the test, the charts, the failures and a short routine for running the same check on your own inbox.

Read article →

Technology

AI form builders for websites: better lead forms without the friction

Ask a modern form builder for a contact form and you get one in a few seconds: fields, validation, a thank-you page and a notification email, all drafted from one sentence. In 2026 that is no longer a feature of one product. Jotform launched its AI in March, Tally opened Tally AI to everyone in July and put its builder inside ChatGPT and Claude in August, and in November Typeform released an MCP server so an assistant can create, edit and publish a form without opening Typeform at all. The drafting problem is solved. What is not solved is whether the form that comes out suits your business. An AI draft tends to ask for everything a typical form asks for, which is rarely what a good form asks for. This guide is a field-by-field way to edit that draft: what to keep, what to cut and what to reword, how to make the form work for browsers, screen readers and thumbs, how to handle spam when some of the visitors are now AI agents, and why the first hour after someone presses Send matters more than any button color.

Read article →