Where Autonomy Belongs: A Separation of Powers for Agentic Program Evolution

Zhengyang Ai, Tong Liu, Jingxian Tang, Xiaobing Du, Tao Xiao, Fengshi Zhang, Zishuo Li, Xiaodong Ai, Pinyan LuarXiv 2026

TL;DR

EvoTrias introduces a "separation of powers" architecture for LLM-driven program evolution, assigning distinct, isolated roles to search strategy, code generation, and evaluation. By reallocating autonomy—giving coding agents freedom to build but keeping the search strategy and evaluation private—EvoTrias achieves a new state-of-the-art across major benchmarks while slashing token costs by 64% and successfully optimizing industrial-scale repositories.

What Problem Does This Paper Address?

Program evolution involves a loop of three critical decisions: Govern (directing the search based on history), Propose (constructing new code candidates), and Judge (evaluating validity and fitness). Current research typically falls into two flawed camps:

  1. Controller-centric systems: These have strong governance but treat the "proposer" as a simple, non-autonomous LLM call. This prevents them from handling complex, multi-file tasks or large codebases.
  2. Agent-centric systems: These give coding agents massive autonomy, often letting them handle both proposing and governing. This leads to "cognitive bloat," where agents waste expensive compute re-reading long histories, and "search narrowing," where one bad lesson from an agent prematurely kills a promising search path.

Crucially, neither camp protects the Judge. Agents often have access to the evaluator's source code, leading them to "cheat" by overfitting to specific test cases rather than solving the underlying problem. The authors call this the autonomy allocation problem: the question isn't how much autonomy to grant, but where it belongs.

Figure 1: Who holds govern, propose, and judge in an LLM-driven evolutionary loop. (a) A controller holds govern, while propose is a single model call with little autonomy of its own. (b) The coding agent holds both govern and propose. In (a) and (b) a dashed seam marks judge: the evaluator still returns the official score, but its sources are not private, so govern and propose erode its autonomy. (c) EvoTrias gives each decision one owner, and a runtime hook layer reinforces the split.

Methods

EvoTrias settles the autonomy allocation problem by creating three distinct "planes" connected by typed contracts and enforced by runtime hooks:

  • Structured Governance (Plane 1): This plane owns the search strategy. it distills outcomes into evidence to drive selection and manages "Notes" (durable lessons) and "Meta-guidance" (high-level directions to break plateaus). It keeps the history interpretation out of the proposer's expensive trajectory.
  • Open Proposal (Plane 2): Realized by a general-purpose coding agent (like Claude Code), this plane has full autonomy to navigate repositories, edit multiple files, and run local debuggers. However, it only sees the specific context "capsule" granted by Governance.
  • Protected Judgment (Plane 3): This is an isolated evaluator. Proposers submit artifacts and receive only a normalized score (validity, fitness, metrics). Runtime hooks prevent the agent from reading the evaluator's source code or test cases.
Figure 2: Overview of EvoTrias: Structured Governance (§4.2) binds each task’s context capsule, Open Proposal (§4.3) constructs candidate artifacts, and Protected Judgment (§4.4) settles official outcomes that shape later bindings.

EvoTrias is designed as a plugin, meaning it can turn an existing coding agent into a full-scale evolution system without changing the agent's internal logic.

Datasets

The authors evaluated EvoTrias against five strong baselines (including CORAL and AdaEvolve) across several domains:

  • Math: Benchmarks like Circle Packing and Heilbronn Triangles.
  • ADRS (Algorithm Design and Research): Tasks including Cloudcast and LLM-SQL.
  • Frontier-CS: A suite of 30 challenging computer science problems.
  • Industrial Case Study: The OR-Tools repository (CP-SAT local search), a massive 680,000-line C++ codebase. This represents a significant step up in scale from typical single-file benchmarks.

Key Insights and Ideas

  • Context is a Constraint: By giving the proposer a "bounded context" (only the parent code and relevant notes), EvoTrias prevents the agent from getting lost in the noise of a long search history. This leads to better focus and lower costs.
  • The Value of Privacy: Protecting the evaluator (Protected Judgment) is essential for generalization. When agents can see test cases, they overfit. The paper shows that while "exposed" agents get higher benchmark scores, their performance collapses when tested on new, unseen data.
  • Separation of Concerns: Because the planes are decoupled, you can swap out the LLM "backbone" or the search algorithm independently. The authors found that EvoTrias is less sensitive to the specific agent host than to the underlying model strength.

Key Results

  • State-of-the-Art Performance: EvoTrias ranked first on 9 out of 12 tasks in the Math and ADRS suites. On the Frontier-CS benchmark, it achieved a median score of 80.7, far outstripping the best baseline (CORAL-4) at 67.1.
  • Token Efficiency: EvoTrias reached stronger solutions at 64% lower token cost than the four-agent CORAL baseline. This is because it moves the heavy lifting of "governance" out of the agent's multi-turn dialogue.
  • Industrial Scaling: In the OR-Tools experiment, EvoTrias improved end-to-end solver quality by up to 16.9% on a 680K-line repository—a task far beyond the reach of controller-centric systems.
  • Generalization: In a controlled study, EvoTrias's "Protected Judgment" ensured that gains on the original benchmark actually transferred to out-of-distribution (OOD) test cases, whereas exposed agents showed a significant "overfitting gap."
Figure 4: Frontier-CS survival curves.

Limitations and Future Work

  • Backbone Sensitivity: While EvoTrias is robust, the quality of code construction still tracks the strength of the underlying LLM (e.g., switching from GLM-5.2 to Opus-5 significantly boosts performance).
  • Trajectory Costs: Although much cheaper than agent-centric models, EvoTrias still incurs the cost of full agent trajectories, making it more expensive than simple single-call LLM systems.
  • Future Directions: The authors suggest that future work could involve even more sophisticated adaptive controllers for the Governance plane and expanding the "plugin" capability to more diverse agent hosts.

Not discussed in the paper: Specific details on the latency of the system or its performance on non-C++/Python languages.

Summary updated

Abstract

LLM-driven program evolution rests on three decisions: govern directs the search from accumulated evidence, propose constructs the next candidate, and judge settles validity and fitness. All three appear in every system, and existing work splits into two lines over who makes each. Controller-centric systems strengthen govern and neglect the autonomy of propose, which caps what evolution can reach. Agent-centric systems let a coding agent take over both govern and propose, at a cognitive and computational cost. Neither line protects the independent authority of judge, so benchmark reliability suffers. These failures share one root: autonomy is misallocated across the three decisions. We address this problem with EvoTrias, a separation-of-powers architecture in which each decision has one owner: Structured Governance for what spans evolution rounds, Open Proposal for construction inside a task, and Protected Judgment behind a private evaluator. These owners exchange typed contracts only, and runtime hooks reinforce the boundaries. This separation also lets EvoTrias run as a plugin that turns an existing coding agent into an evolution system. EvoTrias sets a new state of the art on mathematical, systems, and algorithm-design benchmarks. Three further results show what each owner buys: separating Governance from Proposal cuts token cost by 64%, Open Proposal extends evolution to a 680K-line industrial repository, and Protected Judgment keeps benchmark scores faithful to transfer.
BibTeX
@misc{ai2026where,
  author = {Zhengyang Ai and Tong Liu and Jingxian Tang and Xiaobing Du and Tao Xiao and Fengshi Zhang and Zishuo Li and Xiaodong Ai and Pinyan Lu},
  title = {{Where Autonomy Belongs: A Separation of Powers for Agentic Program Evolution}},
  year = {2026},
  eprint = {2611.15309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15309},
}
Figure