Programmatic Search Agents: Extending Agentic Search Beyond Query Reformulation
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Search agents adapt their queries, yet fixed search interfaces leave candidate processing and evidence presentation outside the agent's direct control. Our trajectory analysis shows that supporting passages can be retrieved yet never delivered to the agent; a same-page oracle intervention shows that changing the returned evidence can reduce subsequent search. We introduce Programmatic Search Agent (PSA), which makes a local executable computation over candidates the unit of a search action. PSA unifies a persistent candidate workspace, flexible primitive composition, and selective evidence presentation. It incrementally generates program cells that reuse candidates, execute dependent operations, and select what the agent inspects next. The runtime resolves specified data dependencies within each cell, while the agent adapts its search strategy across cells as new evidence arrives. We compare PSA with the Query-based Agent and Tool-based Agent on InfoSeek-Eval and BrowseComp-Plus using five policy backbones without task-specific training. All three interfaces share the search substrate, and the Tool-based Agent also shares PSA's primitives and persistent workspace. Relative to the Query-based Agent, PSA improves macro-averaged task success by 4.00 and 7.56 percentage points on the two benchmarks, respectively; within-backbone reductions in final-step tokens average 28.3% and 33.9%. These results support extending agent control beyond query reformulation to the processing and presentation of retrieved evidence. Code will be released subject to approval.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. First posted on arXiv 5 Oct 2026.
Builds on
No reference list yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
- 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
- 2026SearchOS-V1: Towards Robust Open-Domain Information-Seeking Agent Collaboration
- 2026SmartSearch: Process Reward-Guided Query Refinement for Search Agents
- 2026Agentic Search in the Wild: Intents and Trajectory Dynamics from 14M+ Real Search Requests
- 2025Supervising the search process produces reliable and generalizable information-seeking agents
- 2026SearchAtlas: Analyzing Agentic Search Strategies via Evidential Query Graphs
- 2026Similar Accuracy, Unequal Evidence: Search APIs as Decision Surfaces for Tool-Using Agents