arXiv:2610.29005cs.SEOct 2026

Manuscript Offprint

arXiv:2610.29005

VeriEvolve: Evaluator-First Evolution for Tool-Using Agents

Yueshen Li, Kamer Ali Yuksel, Gokhan Tur, Dilek Hakkani-Tür, João Pedro Maia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A central obstacle to self-improving agents is the absence of a reliable fitness signal for realistic stateful tasks. We introduce VERIEVOLVE, an evaluator-first evolution framework that constructs this missing evaluation layer before optimizing the agent. From each task instruction, VeriEvolve synthesizes instruction-grounded challenge states and an executable evaluator that checks them. During each round of workflow evolution, the evaluator is frozen and serves as the fitness signal. Between rounds, VeriEvolve revises the evaluator by converting the end states of strong and weak runs into a pair of counterfactual test cases.

Across all 30 MCPMark Filesystem tasks, VeriEvolve constructs 30 evaluators with 141 challenge states, achieving 141/141 agreement on the generated suites and 113/122 agreement on held-out states produced by executor agents. Evaluator-guided evolution increases externally verified success from 6/30 to 18/30 for GLM-5.2 and from 27/30 to 30/30 for Claude; refinement removes all three false positives that the weak executor exposes. Cross-environment studies on PostgreSQL, Playwright, Notion, and GitHub further expose complementary limits from observability, state representation, and search/execution capacity. These results show that executable evaluators can be synthesized and used to guide search when task success is observable and an external verifier is available for calibration.

1 Introduction

A self-improving agent can optimize only what its evaluator can reliably measure. In program synthesis, formal reasoning, and scientific optimization, candidate quality is often supplied through unit tests, proof checkers, or explicit numerical objectives (Romera-Paredes et al., 2024; Novikov et al., 2025; Zhang et al., 2026a; Wang et al., 2026b). Realistic tool-use workflows rarely come with an equivalent fitness function. Instead, agents must translate natural-language instructions into structured changes across filesystems, databases, repositories, productivity platforms, and browsers. Extending self-improvement to these settings therefore requires not only better search but also the scalable construction of deterministic, machine-checkable evaluators.

This evaluation bottleneck is especially pronounced in stateful, create-read-update-delete (CRUD) workflows. Correctness is determined by the resulting environment state rather than the final natural-language response, and may depend jointly on artifact existence, content, hierarchy, consistency, preservation, and the absence of unintended side effects. These constraints are implied by the instruction but are generally not supplied as a complete executable specification. Human-authored verification scripts can represent them reliably, but they are costly to design and validate; MCPMark reports several hours of expert effort for constructing each task and its verifier (Wu et al., 2026). LLM-based judges are easier to scale, but semantic assessment alone cannot reliably establish that all required properties of the final state hold.

We study whether this missing evaluation layer can itself be constructed by agents. Our central question is: Can an agent synthesize a task-grounded executable evaluator that is informative enough to guide workflow improvement without access to an externally authored verifier during search? Our goal is not to reproduce an expert verifier perfectly in one step. Instead, we ask whether an initially constructed evaluator can bootstrap useful optimization, and whether the resulting execution states can subsequently reveal missing constraints and support sharper evaluation artifacts. We treat this as a feasibility question in a deliberately favorable setting: task success is observable through the environment state, and an independent benchmark verifier exists, which we use only out-side the search loop: to admit evaluators, identify false positives, and measure outcomes.

We introduce VERIEVOLVE, an evaluator-first framework with four model-backed roles: a Test-Suite Generator, Verifier Evolver, Workflow Evolver, and Workflow Executor. In Stage 1, the framework derives positive, negative, and adversarial challenge states from the task instruction and observable initial environment. Deterministic category adapters materialize these specifications, and the Verifier Evolver constructs a task-specific executable evaluator that is frozen after passing internal gates. In Stage 2, this evaluator supplies a stationary fitness signal for evolving a tool-use workflow whose nodes retain persistent behavioral alternatives. Stage 3 then compares high-confidence strong-executor states with internally accepted weak-executor states, mines instruction-grounded differences into paired counterfactual cases, and promotes a revised evaluator only after cumulative regression. The revised evaluator is frozen before workflow search resumes. The external MCPMark verifier is never shown to a model-backed role and never ranks workflows or edits an evaluator. It is used outside the loop for three purposes: admitting evaluators to Stage 2, identifying which accepted states are false positives and therefore enter Stage 3, and measuring results.

Our primary controlled study covers all 30 MCP-Mark Filesystem tasks. Stage 1 constructs 30/30 evaluators with 141 challenge states, including 62 adversarial near-misses, with 141/141 agreement against the external verifier on the generated suites. On 122 distinct states later produced by the executor agents, which no evaluator saw during construction, agreement is 113/122. Under the weaker GLM-5.2 executor, workflow evolution increases externally verified success from 6/30 at round 0 to 18/30; under Claude, it increases success from 27/30 to 30/30. Three internally accepted GLM-5.2 states nevertheless fail external verification, showing that an evaluator can guide effective search while remaining incomplete. In all three cases, strong–weak state differences yield regression-verified evaluator revisions that eliminate the original false positives; for structure_mirror, the weak executor reaches an externally valid state after a single revision. An expanded PostgreSQL study covers all 21 standard tasks: 15 synthesized evaluators meet the Stage 2 admission threshold, and workflow evolution closes three weak-executor gaps that the strong executor solves at round 0, while neither executor reaches internal convergence on the remaining 12 eligible tasks within the configured limits. Playwright, Notion, and GitHub stress tests further expose complementary limits imposed by observability and state representation.

Our contributions are:

• We identify the scalable construction of deterministic, machine-checkable evaluators as a missing prerequisite for self-improving agents in realistic stateful tool-use workflows.

• We introduce VERIEVOLVE, which constructs task-grounded challenge states and executable evaluators before evolving persistent multi-alternative workflows under a frozen fitness signal, and revises an evaluator from differences between strong- and weak-executor final states.

• On MCPMark, we show that the synthesized evaluators agree with the external verifier on their own challenge states and on held-out agent-produced states, that they guide externally measured workflow improvement for a strong and a weak executor, and that state-difference refinement removes all three false positives the external verifier exposed.

• We will release the framework code and the resulting artifacts upon publication: challenge states and frozen evaluators for 30 Filesystem and 18 PostgreSQL tasks, the 258 agent-produced states with internal and external labels used for held-out evaluation, and the evolved workflows.

References (42)