撰写知识页面的 agent 只能看到部分材料,可能会链接到不存在的页面,或遗漏有用的关联。在 Anthropic 的法律文档 wiki 示例中,后来的一次离线审查发现九处链接指向不存在的页面,并将它们重定向到关于同一文档的现有页面。审查还创建了三个页面,其中包括一个索引页,使该 wiki 从 38 个条目增加到 41 个,链接从 225 条增加到 278 条。这体现了一种两阶段工作流程:先提取知识,再对整体集合进行审查,以解决缺失引用并改进导航。
译自英文 · 看原文
A second review of an AI-generated wiki can repair broken links and add missing pages that individual writing sessions overlook.
An agent writing a knowledge page sees only part of the material, and may link to a page that does not exist or miss useful relationships. In Anthropic's legal-document wiki example, a later offline review found nine links to a nonexistent page and redirected them to an existing page about the same document. It also created three pages, including an index, increasing the wiki from 38 to 41 entries and from 225 to 278 links. This illustrates a two-stage workflow: extract knowledge first, then review the collection as a whole to resolve missing references and improve navigation.
The example demonstrates link repair and additional organization, not a measured improvement in answer quality. Validate links against their intended targets, and test retrieval and factual accuracy independently; more links are not automatically better.
在针对文档集合回答问题时,AI 智能体既可以搜索原始文件,也可以使用已经整理好事实及其相互链接的 wiki。在 Anthropic 的 24 题合并文档评估中,对于需要综合或判断/算术的题目,借助 wiki 的回答满足了 87% 的评分标准,而直接搜索为 73%。在另一项法律任务中,大多数标准都可以从单份文档得到满足,wiki 并未带来明显优势。另一个 wiki 从 115 KB 的源文档集合增长到了 203 KB,说明缺乏有用抽象的组织方式只会增加杂乱。一种实用的做法是:精确查找时使用直接搜索,而对于反复出现的跨文档推理,则考虑使用经过整理的表示形式。
译自英文 · 看原文
AI agents benefit more from a prebuilt wiki when answers require combining documents than when one document contains the answer.
When answering a question over a document collection, an AI agent can search original files or use a wiki that has already organized facts and links between them. In Anthropic's 24-question merger-document evaluation, wiki-assisted answers satisfied 87% of graded criteria on items requiring synthesis or judgment/arithmetic, compared with 73% for direct search. In a separate legal task where most criteria could be satisfied from one document, the wiki provided no clear advantage. Another wiki grew to 203 KB from a 115 KB source collection, illustrating that organization without useful abstraction can add clutter. A practical approach is to use direct search for precise lookups and consider curated representations for recurring cross-document reasoning.
These are particular evaluations of document-based tasks. A wiki is not automatically better for every multi-document question, and its value depends on evidence coverage, freshness, construction costs and the quality of search.
AI agents should load a short memory index at the start of each session and retrieve detailed knowledge only when needed.
An AI agent with a long history cannot fit every past experience into each new conversation. Anthropic describes four layers of persistent memory: searchable session records, notes about useful experiences, linked knowledge such as wikis, and a small amount of context loaded at startup. A short startup index tells the agent what knowledge exists and where to find it, while detailed notes stay available for on-demand retrieval. Claude Code illustrates this approach by loading only the first 200 lines or 25 KB of its MEMORY.md index.
Use automatic loading for stable, frequently needed guidance or pointers. Long or inaccurate startup instructions can consume context and repeat mistakes across sessions; even loaded instructions may be ignored. The Claude Code size limit is an implementation example, not a general optimum.
Combining a prebuilt wiki with direct document search can improve AI agents' answers to complex knowledge-base questions.
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.
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.