AI Agent Readiness Diagnostic
The problem
More of a site's readers are now software: search crawlers, answer engines and agents acting for a person. Most owners cannot tell what those readers actually receive, and generic checklists mix useful fixes with machinery that only makes sense for sites that expose APIs.
The approach
A Node.js diagnostic that requests a site the way eight different kinds of crawler and agent would, then reports what each can reach, read and act on. Findings are grouped into layers, from reachability up to declared tools, so fixes can be ranked by who benefits. It also says what to leave out: a static site with no API should not advertise endpoints that would 404.
What each reader needs
| Layer | Text-only fetcher | Headless browser | Protocol-aware agent |
|---|---|---|---|
| Reachablerobots.txt, status codes, no hard blocks | Needed | Needed | Needed |
| Readable without JavaScriptContent present in the first HTML response | Needed | Helps | Needed |
| Structured dataschema.org JSON-LD that states what the page is | Helps | Helps | Needed |
| Alternate representationA clean markdown version, offered by content negotiation | Needed | Helps | Helps |
| Callable toolsDeclared actions an agent can invoke (WebMCP) | –Not relevant | –Not relevant | Needed |
Result
I ran it against sites I operate and used the layers to order the fixes: crawler access and content signals first, markdown alternates next, experimental tool declarations last.
What I learned
Readiness is a ladder, not a score. Each rung helps a different kind of reader, and the most valuable work is usually the unglamorous bottom rungs: being reachable and readable without JavaScript.