OpenSaC:用于深度研究智能体中“搜索即代码”的Python库
OpenSaC: A Python Library for Search as Code in Deep Research Agents
AI总结:
本文提出开源Python库OpenSaC及配套“搜索即代码”技能,支持智能体组合搜索等操作,实验显示其在部分数据集上性能优于标准Codex,旨在降低“搜索即代码”的应用门槛。
摘要:
深度研究智能体通过迭代搜索、源文件审查和证据合成来探究复杂问题。传统工作流在推理与单独的搜索、阅读操作间交替进行。“搜索即代码”(Search as Code)引入了新范式:智能体编写程序来组合搜索、源文件阅读、重排序、模型调用和本地处理,返回选定的观察结果用于进一步推理。为在现有编码智能体中支持该工作流,我们提出OpenSaC,这是一个开源Python库,附带配套的“搜索即代码”技能。可配置的能力接口让智能体在组合这些操作的同时保留证据以供检查和复用。与使用内置网络搜索的标准Codex相比,OpenSaC配置在BrowseComp和WideSearch上的执行时间更短、模型令牌消耗更少,在BrowseComp上的准确率更高,在WideSearch上的行级F1值略低。我们旨在降低采用“搜索即代码”的门槛,为深度研究智能体的社区开发和透明研究提供开放基础。
英文摘要:
Deep research agents investigate complex questions through iterative search, source examination, and evidence synthesis. A conventional workflow alternates reasoning with individual search and reading actions. Search as Code introduces a new paradigm: agents write programs that compose search, source reading, reranking, model calls, and local processing, returning selected observations for further reasoning. To support this workflow in existing coding agents, we present OpenSaC, an open-source Python library with a companion Search as Code skill. Configurable capability interfaces let agents combine these operations while retaining evidence for inspection and reuse. Compared with standard Codex using its built-in web search, the OpenSaC configuration uses less execution time and fewer model tokens on BrowseComp and WideSearch, with higher accuracy on BrowseComp and slightly lower row F1 on WideSearch. We aim to lower the barrier to adopting Search as Code and provide an open foundation for community development and transparent research on deep research agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。