WorkOS

workos.com/docs
Score: 80 out of 100, grade B80
Grade B
Last checked: June 15, 2026 · afdocs v0.18.7 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryBusiness
Checks passed14/23Warnings3Failed4

WorkOS scores 80/100 (Grade B), passing 14 of 23 checks (61%). The documentation is broadly accessible to AI agents but has 7 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — WorkOS
URL: https://workos.com/docs
Score: 80/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://workos.com/docs.
Agent Score found 4 failing checks and 3 warnings.

## Failing Checks (4)
- [content-discoverability] Llms Txt Directive Html: No llms.txt directive found in HTML of any of 10 sampled pages
- [content-discoverability] Llms Txt Directive Md: No llms.txt directive found in markdown of any of 10 sampled pages
- [url-stability] Redirect Behavior: 6 JavaScript redirect(s) detected across 10 sampled pages
- [observability] Markdown Content Parity: 2 of 10 pages have substantive content differences between markdown and HTML (avg 9% missing)

## Warnings (3)
- [content-discoverability] Llms Txt Size: llms.txt is 65,744 characters (between 50,000 and 100,000; consider splitting)
- [content-discoverability] Llms Txt Links Markdown: Same-origin links point to HTML, but 9 have .md variants available
- [page-size] Content Start Position: 3 of 10 sampled pages have content starting at 10–50% (worst 49%)

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://workos.com/docs
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://workos.com/docs --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

markdown-content-parity2 of 10 pages have substantive content differences between markdown and HTML (avg 9% missing)Learn more
cache-header-hygieneAll 12 endpoints have appropriate cache headersLearn more
llms-txt-coverageSitemap has 1199 URLs but none are under the docs path prefix (/docs)Learn more
redirect-behavior6 JavaScript redirect(s) detected across 10 sampled pagesLearn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
auth-gate-detectionAll 10 sampled pages are publicly accessibleLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
llms-txt-directive-htmlNo llms.txt directive found in HTML of any of 10 sampled pagesLearn more
llms-txt-directive-mdNo llms.txt directive found in markdown of any of 10 sampled pagesLearn more
llms-txt-sizellms.txt is 65,744 characters (between 50,000 and 100,000; consider splitting)Learn more
llms-txt-links-markdownSame-origin links point to HTML, but 9 have .md variants availableLearn more
llms-txt-existsllms.txt found at 2 locations; using https://workos.com/docs/llms.txt as canonicalLearn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more
llms-txt-links-resolveAll 10 same-origin sampled links resolve (580 total links)Learn more
content-start-position3 of 10 sampled pages have content starting at 10–50% (worst 49%)Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-markdownAll 10 pages under 50K chars (median 5K, max 10K)Learn more
page-size-htmlAll 10 sampled pages under 50K chars (median 711 HTML → 0 markdown (97% boilerplate))Learn more
markdown-url-support10/10 sampled pages support .md URLs (100%)Learn more
content-negotiation10/10 sampled pages support content negotiation (100%)Learn more
tabbed-content-serializationNo tabbed content detected across 10 sampled pagesLearn more
section-header-qualityNo tabbed content found; header quality check not applicableLearn more
markdown-code-fence-validityAll 1 code fences properly closed across 12 pagesLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by