InquiryLoom

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.

Share posterSuggest a change

From“The components of agent memory”· Dreaming can build new memory representations

Repeatedly searching a large document collection can require an agent to rediscover the same relationships each time. Anthropic had agents build and refine a wiki over about 350,000 Stainless company files (420 million tokens), then evaluated answers to 25 questions. As wiki construction increased from 2 to 128 sessions, the wiki-only score rose from 13% to 48% of graded criteria met; the wiki-plus-search score rose from 54% to 61%, compared with 53% for search alone. Combining the wiki with search reportedly also reduced per-question token use by about 20,000. The wiki supplies an organized map of known facts, while search can retrieve original evidence and information missing from that map.

When it applies

The results cover one internal corpus and 25 questions. The score measures answer criteria met, not retrieval precision or recall. Building and maintaining the wiki took offline compute (approximately 2M–128M dreaming tokens in this experiment), so the per-question savings do not establish overall cost savings.

2 quotes from 1 sourceAI-organized · to be evaluated