How We Made Our Docs Test Themselves
How-to 4 min +40 XP
LangChain made its documentation code samples testable by delegating the migration to the Deep Agents CLI using a reusable skill file.
LangChain made its documentation code samples testable by delegating the migration to the Deep Agents CLI using a reusable skill file.
LangChain replaced chat.langchain.com's chunk-and-embed vector retrieval with tool-calling agents that search structured sources directly: full doc pages via Mintlify's API, a scan-titles-then-read pattern over the Pylon knowledge base, and ripgrep/tree/file-read tools over the codebase.
WikiBench evaluates OpenWiki-generated codebase wikis by having a reader agent answer auto-generated coverage and retrieval questions about a pinned repository.