Description
AFDocs is a testing tool that checks how well AI agents can read a documentation site. You point it at your docs and it runs 28 checks in seven categories, including content discoverability, markdown availability, page size and truncation risk, content structure, URL stability, observability and authentication. It gives an overall score and a score for each category, with a letter grade. Every failing check comes with a specific fix suggestion. A built-in vitest helper lets you run the same checks in a test suite, so regressions are caught in CI before they ship. The checks follow the Agent-Friendly Documentation Spec. The AFDocs site itself uses an llms.txt index and serves markdown copies of pages by adding .md to a URL, which are the kinds of things the checks look for. The source is on GitHub under agent-ecosystem.…
Highlights
- 28 checks across seven categories
- Overall and per-category scores with grades
- Fix suggestions for every failing check
- Vitest helper for CI pipelines
Ratings & Reviews
No ratings yet
Be the first to rate Afdocs.
People also visit

developer-docs-structure-audit
Audits an existing developer documentation set's structure
Afdocs FAQ
What does AFDocs test?
It tests how well AI agents can read, navigate and use a documentation site, against the Agent-Friendly Documentation Spec.
What do the scores mean?
Each category gets a score out of 100 with a letter grade, and the overall score is combined from those categories.
Can I run it in CI?
Yes. The built-in vitest helper lets you add agent-friendliness checks to your test suite.
What is llms.txt?
A documentation index file for AI agents. AFDocs checks whether pages are available as Markdown, and its own site uses an llms.txt index as an example.
Where is the source?
On GitHub at agent-ecosystem/afdocs.
What are the best Afdocs alternatives?
Popular alternatives to Afdocs include DocumentationAI, Tome and Mintlify. See all Afdocs alternatives






