ResearchResearch paperAgents & Tool Use · Efficiency & Inference · Retrieval, RAG & Search1 source · Oct 19, 2026

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

To support this workflow in existing coding agents, we present OpenSaC, an open-source Python library with a companion Search as Code skill.

Key points

  • 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.
  • 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.

Sources (1)

  • [1]OpenSaC: A Python Library for Search as Code in Deep Research Agents
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 19, 04:46 AM
    To support this workflow in existing coding agents, we present OpenSaC, an open-source Python library with a companion Search as Code skill.
    Deep research agents investigate complex questions through iterative search, source examination, and evidence synthesis.

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 18, 2026TinyFish Makes Search Free: What It Really Costs an AI Agent to Read the Web
  2. Oct 18, 2026Google Open-Sources Harness2, a Recursive Agent Harnessing Framework
  3. Oct 18, 2026Auto-MD-bench: Evaluating Autoresearch Agents for Real-World Medical Tasks
  4. Oct 17, 2026Nemotron 3.5 Bolt, Muse Spark Open, and a Fast LFM2.5 24B
  5. Oct 17, 2026HybridResearcher: Bridging the Structured-Unstructured Boundary for Deep Research Agents
  6. Oct 16, 2026VERAS: Verification-Guided Adaptive Search for Reliable Operations Research

Related