Leaderboard/Perplexity

Perplexity

docs.perplexity.ai
Score: 87 out of 100, grade B87
Grade B
Last checked: April 21, 2026 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryAI/ML
Checks passed16/22Warnings2Failed2

Perplexity scores 87/100 (Grade B), passing 16 of 22 checks (73%). The documentation is broadly accessible to AI agents but has 4 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — Perplexity
URL: https://docs.perplexity.ai
Score: 87/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://docs.perplexity.ai.
Agent Score found 2 failing checks and 2 warnings.

## Failing Checks (2)
- [content-discoverability] Llms Txt Directive: No llms.txt directive found in any of 10 sampled pages
- [page-size] Page Size Html: 10 of 10 sampled pages convert to over 100K chars (max 920K, 27% boilerplate)

## Warnings (2)
- [page-size] Content Start Position: 3 of 10 sampled pages have content starting at 10–50% (worst 14%)
- [observability] Markdown Content Parity: 5 of 10 pages have minor content differences between markdown and HTML

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://docs.perplexity.ai
2. Implement the specific fix
3. Verify the fix would cause the check to pass

### Common fixes:
- **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format
- **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md)
- **No content negotiation**: Return markdown when request includes Accept: text/markdown header
- **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup
- **No sitemap**: Generate /sitemap.xml listing all documentation URLs
- **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens
- **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers
- **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants

## Run afdocs Locally for More Detail

To get deeper visibility into what's failing, run afdocs against your docs:

  npx afdocs check https://docs.perplexity.ai --fixes --verbose

- **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps
- **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS

How your docs scored

auth-gate-detectionAll 10 sampled pages are publicly accessible
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths needed
page-size-html10 of 10 sampled pages convert to over 100K chars (max 920K, 27% boilerplate)
content-start-position3 of 10 sampled pages have content starting at 10–50% (worst 14%)
rendering-strategyAll 10 sampled pages contain server-rendered content
page-size-markdownAll 10 pages under 50K chars (median 13K, max 19K)
tabbed-content-serialization29 tab group(s) across 8 of 10 sampled pages; all serialize under 50K chars
markdown-code-fence-validityAll 74 code fences properly closed across 11 pages
section-header-quality8 page(s) with tabs found, but no section headers inside tab panels to evaluate
llms-txt-directiveNo llms.txt directive found in any of 10 sampled pages
llms-txt-existsllms.txt found at 1 location(s)
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)
llms-txt-sizellms.txt is 20,686 characters (under 50,000 threshold)
llms-txt-links-resolveAll 10 same-origin sampled links resolve (106 total links)
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%) (2 external links excluded)
markdown-content-parity5 of 10 pages have minor content differences between markdown and HTML
llms-txt-freshnessllms.txt covers 100% of 102 sitemap doc pages; 2 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)
cache-header-hygieneAll 11 endpoints have appropriate cache headers
markdown-url-support10/10 sampled pages support .md URLs (100%)
content-negotiation10/10 sampled pages support content negotiation (100%)
http-status-codesAll 10 sampled pages return proper error codes for bad URLs
redirect-behaviorNo redirects detected across 10 sampled pages

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by