我们如何构建我们的多代理研究系统
Claude now has Research capabilities that allow it to search across the web, Google Workspace, and any integrations to accomplish complex tasks.
Claude 现在具有 研究功能,允许它搜索网络、Google Workspace 和任何集成来完成复杂任务。
The journey of this multi-agent system from prototype to production taught us critical lessons about system architecture, tool design, and prompt engineering. A multi-agent system consists of multiple agents (LLMs autonomously using tools in a loop) working together. Our Research feature involves an agent that plans a research process based on user queries, and then uses tools to create parallel agents that search for information simultaneously. Systems with multiple agents introduce new challenges in agent coordination, evaluation, and reliability.
这个多代理系统从原型到生产的历程教会了我们关于系统架构、工具设计和提示工程的关键教训。多代理系统由多个代理(LLMs 在循环中自主使用工具)协同工作组成。我们的 Research 功能涉及一个基于用户查询规划研究过程的代理,然后使用工具创建并行代理同时搜索信息。具有多个代理的系统引入了代理协调、评估和可靠性方面的全新挑战。
This post breaks down the principles that worked for us—we hope you'll find them useful to apply when building your own multi-agent systems.
本文分解了我们有效的原则——我们希望你在构建自己的多代理系统时会发现它们有用。
Benefits of a multi-agent system
多代理系统的益处
Research work involves open-ended problems where it’s very difficult to predict the required steps in advance. You can’t hardcode a fixed path for exploring complex topics, as the process is inherently dynamic and path-dependent. When people conduct research, they tend to continuously update their approach based on discoveries, following leads that emerge during investigation.
研究工作涉及开放式问题,很难提前预测所需的步骤。你无法为探索复杂主题硬编码固定路径,因为过程本质上是动态的且路径依赖的。当人们进行研究时,他们倾向于基于发现不断更新方法,跟随调查过程中出现的线索。
This unpredictability makes AI agents particularly well-suited for research tasks. Research demands the flexibility to pivot or explore tangential connections as the investigation unfolds. The model must operate autonomously for many turns, making decisions about which directions to pursue based on intermediate findings. A linear, one-shot pipeline cannot handle these tasks.
这种不可预测性使 AI agents 特别适合研究任务。研究需要灵活性来在调查展开时转向或探索旁系联...