Idea
Combining a prebuilt wiki with direct document search can improve AI agents' answers to complex knowledge-base questions.
Copy link
Press Ctrl+C (⌘C on a Mac) to copy the text below; on a phone, long-press and choose Copy.
v2Clarify evaluation metric, corpus scale, baseline comparison and offline cost caveat.
Carl Zhu
Changes since v1
Description
On 25 questions over roughlyapproximately 350,000 internal documents, scaling a dreamingStainless files (420M tokens), wiki-built wiki only rubric attainment rose from 213% to 128 sessions raised graded performance48% as dreaming grew from 13%2 to 48%. Adding search alongside the wiki raised the aggregate score128 sessions (roughly 2M–128M dreaming tokens). Wiki plus search rose from 54% to 61%, versus 53% withfor search alone, and reportedly saved about 20,000 tokens per question; this is an 8-percentage-point best-case improvement over search alone.
When it applies
Before
Measured on one company’s internal document corpus (Stainless) and a 25-question evaluation set.
After
One internal company corpus and 25 questions. Scores are graded criteria met, not retrieval recall/precision. Offline wiki construction and maintenance incur additional compute; the reported per-question savings do not establish total lifecycle savings.
Tags
- Long-term memory
- Retrieval & RAG
- Added: Eval design
- Removed: Context engineering
