OpenSaC: A Python Library for Search as Code in Deep Research Agents

Qi Liu, Jiaxin Mao, Fengbin Zhu, Tat-Seng Chua, Ji-Rong Wen
10/19/2026
cs.AIcs.IR

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026opensac,
  title  = {OpenSaC: A Python Library for Search as Code in Deep Research Agents},
  author = {Qi Liu and Jiaxin Mao and Fengbin Zhu and Tat-Seng Chua and Ji-Rong Wen},
  year   = {2026},
  eprint = {2610.25779},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.25779v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.25779.svg)](https://codeofpaper.com/paper/2610.25779)

Discussion