Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 2 min read

How to Pass Google Lighthouse Agentic Browsing (4/4): Fixing ArdManifest and /.well-known/ard.json

Google PageSpeed Insights recently introduced a fifth audit category alongside Performance, Accessibility, Best Practices, and SEO: Agentic Browsing. When we ran mobile PageSpeed on proofofcite.com, our site scored 10

How to Pass Google Lighthouse Agentic Browsing (4/4): Fixing ArdManifest and /.well-known/ard.json

Google PageSpeed Insights recently introduced a fifth audit category alongside Performance, Accessibility, Best Practices, and SEO: Agentic Browsing.

When we ran mobile PageSpeed on proofofcite.com, our site scored 100 / 100 / 100 / 100 across all four classic categories, yet stopped at 3 / 4 on Agentic Browsing with three specific errors:

Root: ArdManifest validation failed: 'entries' is a required property at path 'root' (Error)
Root: Missing required 'entries' array. (Error)
/.well-known/ai-catalog.json: Manifest was only found through a legacy location
  ('/.well-known/ai-catalog.json' or 'rel="ai-catalog"'). Serve the manifest at
  '/.well-known/ard.json' or link it with 'rel="ard"'. (Low)

Here is the exact production fix that took us from 3/4 to 4/4 (while keeping Mobile Performance, Accessibility, Best Practices, and SEO locked at 100/100).

1. Why ai-catalog.json Now Fails Lighthouse

Under the Agentic Resource Discovery (ARD v0.91) specification, the primary discovery manifest moved from /.well-known/ai-catalog.json to /.well-known/ard.json and enforces a strict Draft 2020-12 JSON Schema (ArdManifest + ArdEntry).

A valid manifest requires:

  1. A root entries array.
  2. Inside each entry:
    • identifier: domain-anchored URN matching ^urn:air:[a-zA-Z0-9.-]+(:[a-zA-Z0-9._-]+)+$ (note urn:air:, not urn:ai:).
    • displayName: human-readable resource name.
    • type: IANA media type (application/json, text/markdown, text/html, application/mcp-server-card+json, etc.).
    • Exclusively url OR data (never both, never neither).
    • representativeQueries: 2 to 5 sample natural-language queries so semantic agent registries index the entry accurately.

2. Working /.well-known/ard.json Template

Save this at public/.well-known/ard.json (and mirror the identical payload at public/.well-known/ai-catalog.json for older crawlers):

{
  "entries": [
    {
      "identifier": "urn:air:example.com:tool:live-scan",
      "displayName": "Example Live Diagnostic API",
      "type": "application/json",
      "url": "https://example.com/api/scan",
      "description": "Browserless HTTP and DNS diagnostic endpoint for public domains.",
      "capabilities": ["LiveScan", "HeadersCheck"],
      "representativeQueries": [
        "run a live technical audit on a public website",
        "check HTTP status codes and DNS records for a domain"
      ]
    },
    {
      "identifier": "urn:air:example.com:docs:llms-corpus",
      "displayName": "Example Machine-Readable Documentation (llms.txt)",
      "type": "text/markdown",
      "url": "https://example.com/llms.txt",
      "description": "Structured UTF-8 Markdown index for AI coding and search agents.",
      "capabilities": ["TechnicalDocumentation"],
      "representativeQueries": [
        "read official API documentation and pricing for Example",
        "fetch canonical Markdown docs for Example"
      ]
    }
  ]
}

3. HTML Discovery Tag & CORS Headers

Add <link rel="ard"> inside <head>:

<link rel="ard" type="application/json" href="https://yourdomain.com/.well-known/ard.json" title="Agentic Resource Discovery Manifest" />

Configure Content-Type and wildcard CORS so external registries can fetch the manifest cleanly (example for vercel.json):

{
  "headers": [
    {
      "source": "/\\.well-known/(ard|ai-catalog)\\.json",
      "headers": [
        { "key": "Content-Type", "value": "application/json; charset=utf-8" },
        { "key": "Access-Control-Allow-Origin", "value": "*" },
        { "key": "Cache-Control", "value": "public, max-age=3600, stale-while-revalidate=86400" }
      ]
    }
  ]
}

Important SEO tip: Keep robots.txt strictly RFC 9309 compliant instead of adding experimental directives that strict SEO parsers might flag. Lighthouse automatically discovers /.well-known/ard.json through both the well-known path and <link rel="ard">.

4. Passing the Remaining 3 Agentic Checks

  • ARIA semantics: Interactive tabs need role="tablist", role="tab", and synchronized aria-selected.
  • WebMCP attributes: Add toolname, tooldescription, and toolparamdescription on key public <form> controls.
  • Keep /llms.txt and edge crawlers healthy: Pair ARD with plain-text /llms.txt (no SPA soft-200 HTML) and verified Cloudflare bot rules. You can check any live domain free with our AI Crawler & WAF 403 Checker and Free llms.txt Validator.

Originally published at ProofOfCite Engineering.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.