The paper introduces Programmatic Search Agents (PSA), which extend agentic search beyond just reformulating queries. PSA gives the agent direct control over candidate processing and evidence presentation through executable program cells. This allows the agent to reuse, filter, rerank, and extract from a persistent workspace, adapting its search strategy as new evidence arrives.
Evaluated on InfoSeek-Eval and BrowseComp-Plus across five policy backbones, PSA improved task success by 4.00 and 7.56 percentage points respectively over a query-only baseline, while reducing final-step tokens by 28.3% and 33.9%. These results show that giving agents control over evidence processing and presentation can be more effective than solely refining search queries.