Documentation Checker with Cerebras
Crawl any docs site, discover its source repo, and verify documentation accuracy against the actual codebase using Cerebras LLMs.

Get started with the Cerebras Documentation Checker
This template uses Stagehand with Browserbase to crawl documentation sites in parallel, extract accessibility trees, and discover the source GitHub repository. It then clones the repo and runs a Cerebras-powered verification agent that uses tool calling to grep and read source code, cross-referencing every function signature, parameter, code example, and endpoint against the actual implementation. Falls back to content-only analysis when no source repository is found.
Steps
- Spin up parallel crawl workers that navigate docs pages via Browserbase and extract accessibility trees with Stagehand
- Discover the source GitHub repository from crawled page content and links
- Clone the repo and build a file listing for the verification agent
- Run a Cerebras-powered tool-calling agent that greps and reads source code to verify every claim in the docs
- Generate a summary report with issues categorized by severity and type