arXiv:2609.09646cs.AISep 2026

Manuscript Offprint

arXiv:2609.09646

RobustSGPO: Search-Space Control for Agent Harness Evolution

Zibo Zhao, Jijun Shi, Mo Zhou, Zhongyuan Wang, Shifu Bie, Yunfei Zhang, Xuanting Zhou, Xiangyu Wu, Bin Liu, Ruiming Tang, Wenwu Ou, Kun Gai

Abstract

Semantic-gradient-based prompt optimization (SGPO) improves agent harnesses using execution feedback, but its local update rule leaves the choice of edit scope and operation unresolved. We introduce RobustSGPO, which specifies the requested edit, constructs and checks the patch, and continues search from either the incumbent or retained snapshots. We evaluate permission scheduling, cumulative controls, and task-family transfer in the AgentX brainstorming workflow using 120 tasks, 95 runs, and 7,350 candidate attempts. Periodic 1 → 2 → 3 scheduling exceeds fixed maximum permission by 0.28 test-score points. RobustSGPO increases completion on 30 held-out tasks from 60.0% to 80.0% and improves test quality from 3.77 to 4.14 under a 20-million-token budget. Category retention reduces source-task degradation after a shift, whereas random retention reaches a higher destination endpoint. Search-space control benefits quality through executable edits and alternative starting points, with measurable retention overhead.

1 Introduction

This paper builds on the published AgentX work [4], which established an industrial recommendation workflow and a semantic-gradient-based prompt optimization (SGPO) loop for harness evolution. SGPO diagnoses trace failures, edits an agent specification, and admits candidates through paired replay. RobustSGPO extends this foundation with explicit search-space control.

Multi-agent behavior is distributed across instructions, input/output contracts, and agent connections. Restricting edits to one agent limits direct repair of cross-agent failures. Opening the whole permitted space does not ensure that the model explores it: generation can still concentrate on familiar instruction rewrites. We study how to select edits, make them executable, and retain alternative starting points under a fixed budget.

Our contributions are an analysis of the gap between permitted and valid realized edits; RobustSGPO's explicit control of edit selection, execution, and retention; and experiments connecting these controls to held-out quality, transfer, and token cost.