Skip to content

Anthropic open-sources Knowledge Wiki: small models querying the database approach Claude Sonnet-level performance in translating original texts, with per-query cost reduced to 1/15

Dec 4, 13:27

Beating AI News Flash: Anthropic has open-sourced the Knowledge Wiki solution in its official example library claude-quickstarts, changing the approach of having agents re-search original documents for every question into first compiling them into a pure Markdown knowledge base and then repeatedly performing read-only queries. Using the public filings for the take-private of website-building platform Squarespace as a benchmark test (21 questions across 27 rounds, full score 100), the lightweight model Claude Haiku 5.5 scored 91.9 points querying the knowledge base, approaching Claude Sonnet 5.5's 92.8 points from directly searching original documents, and also 3 points higher than searching the source texts itself.

The cost per Q&A session has been reduced to about 1/15. Claude Haiku 5.5 costs only $0.0056 per knowledge-base query, while Claude Sonnet 5.5 costs $0.086 to search original documents. Building the knowledge base upfront costs an average of about $19, which pays for itself after roughly 240 questions compared with a large model searching original documents, and the larger the corpus, the more is saved per query.

This solution runs on the cloud-hosted agent service Claude Managed Agents, with the entire knowledge-base build completed within a single session. Claude Sonnet 5.5 serves as the main agent orchestrating a dynamic workflow on the spot, while the actual reading of documents and writing of the knowledge base are entirely delegated to Claude Haiku 5.5, sequentially completing batched parallel extraction, back-checking for gaps, cross-checking risks against original documents, and organizing indexes.

The knowledge base links entities through bidirectional links, and every fact carries its source and as-of date. When later documents overturn old figures, the old values remain on record marked with their invalidation time; when two documents conflict in methodology, both sources are recorded simultaneously, without averaging or arbitrarily taking sides. Daily Q&A uses a new session per question with read-only mounting to prevent reasoning misjudgments from contaminating the underlying base, and if the answer is not in the knowledge base, it directly refuses to answer.

This compile-first-then-query approach suits materials that change slowly and are repeatedly queried, such as M&A due diligence, legal evidence gathering, and product documentation.

Source