TRANSMISSION // 2609.38372v3

Can an AI agent improve the software that guides it?

Source published

A study tests whether language models can improve their own agent harnesses across different tasks. Some models make gains, but the results also show how updates can fail or cause regressions.

AI-generated conceptual illustration for Can an AI agent improve the software that guides it?
AI-generated conceptual illustration; not documentary evidence.

An AI agent is more than a language model: software around it decides what information it sees, which tools it can use and when it should stop. A new preprint explores whether a model can learn from its own task runs and rewrite that software—while also testing whether improvements carry over to tasks it has not seen.

A language model agent can fail even when its underlying model has useful knowledge. It might receive too much command output, lose important details as a conversation grows, or stop before delivering its answer. The software that manages these interactions—known as the agent’s harness—can shape whether a task succeeds.

In this preprint, Qiankai Xu asks whether a model can improve that software for itself. Rather than using one model to propose changes for a different model, the study gives the solver and proposer the same frozen model and the same current harness. The agent first attempts tasks; then, in a fresh session, it reads the complete records—including tool calls, scores and grader feedback—and edits the harness it will use next. The model’s weights stay fixed: the system changes its surrounding software, not the model itself.

Testing improvements across tasks

The process begins with a minimal, 49-line harness. In the first stage, each update is informed by runs on five benchmarks covering areas such as coding, document research, terminal work and simulated customer interactions. The batches mix tasks across the benchmarks, while held-out tasks are kept separate from those used during evolution. The researchers also test one evolved harness on five additional benchmarks not used in that first stage.

The approach includes engineering checks: a revised harness must stay within an edit budget and complete a test run with a mock model. But it does not check whether the change improves scores before accepting it. The researchers describe the two stages as multi-task pretraining followed by continual training; here, those terms refer to repeated harness updates, not training the model’s weights.

The study compares four models and their evolved harnesses with a bare-bones starting version and production harnesses such as Codex or Claude Code. The strongest results came from GLM-5.3 and GPT-5.6 Sol. On held-out tasks from the five first-stage benchmarks, their evolved harnesses scored about five percentage points above the seed on average. The paper reports that these versions were broadly comparable to the production harnesses in those tests. That is not evidence that they are interchangeable in every setting: uncertainty intervals for the direct comparisons include zero.

Results were not uniform. GLM-5.3-Flash’s average gain was smaller, and the uncertainty interval included zero. GPT-5.6 Luna’s evolved harness scored below its seed. The findings suggest that the ability to diagnose failures and make sound code changes may depend on the model doing the optimizing.

For GPT-5.6 Sol, the first-stage harness also performed comparably to Codex across five additional benchmarks. But most of its improvement over the seed came from BrowseComp-Plus; the other four benchmarks stayed close to the seed overall. This is a useful test of transfer, not proof that the harness generalizes to all unfamiliar tasks.

Practical fixes—and possible regressions

The evolved harnesses added features such as limiting long command outputs, managing growing conversation histories and checking that the requested work was actually delivered. These changes addressed real failure patterns in the study. For instance, excessive output could overwhelm the model’s input limit, while a bare-bones harness might end a task without sending a usable answer.

Yet fixing one problem could create another. In the second stage, GPT-5.6 Sol and GLM-5.3-Flash improved on Claw-Eval’s multimodal tasks after further evolution. But GPT-5.6 Sol’s later harness also performed worse on some earlier tasks: a rule inferred from a limited set of examples caused it to stop too soon in a category of GAIA2 tasks. Replaying old tasks did not prevent this regression because the replayed examples did not cover that category.

That trade-off is central to the paper. The model sees evidence from a limited batch and must predict how a code change will affect other tasks. The update can be technically runnable yet harmful. The authors identify validation of each change, at reasonable cost, as an important next step.

What the evidence can—and cannot—show

The experiments cover four models, but the scope of testing is uneven: GPT-5.6 Sol’s first-stage evolution was repeated three times, while only that model was evaluated on the five out-of-distribution benchmarks. The second stage involved two models and one new domain. Some benchmark comparisons rely on relatively small held-out sets, and some reported differences have confidence intervals that include zero. The study also does not isolate the effect of each design choice with separate ablation experiments.

The paper is a preprint, so its claims should be treated as provisional rather than as settled consensus. Its results show that some models can produce useful harness changes under these experimental conditions—and that the same process can introduce regressions. They do not show that agents can reliably improve themselves in general, or that a self-edited harness is safe to deploy without review. The authors recommend keeping safety safeguards outside the editable harness and reviewing evolved code before use.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Can AI agents improve how they work, not just their answers?

    Shared method: Both studies iteratively revise an agent harness using task-run evidence: the origin paper has the same frozen model solve tasks and then edit its harness from run records, while Flex-RSI has an improver revise the executor and its own harness after each round. The loops differ: Flex-RSI uses held-out validation to accept solution changes and evaluates on hidden tests, whereas the origin describes multi-benchmark harness evolution and separate held-out and out-of-distribution evaluations; this is a methodological connection, not a direct performance comparison.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2609.38372v3 — Original paper

      Excerpt reference: static/papers/2609.38372v3.md:13-59
      Basis: Paper text
      Source SHA-256: a429a8552660acbda432e997ae52dd615e186ea51210c663754e72a1be702be7

    • 2609.38372v3 — Original paper

      Excerpt reference: static/papers/2609.38372v3.md:209-307
      Basis: Paper text
      Source SHA-256: a429a8552660acbda432e997ae52dd615e186ea51210c663754e72a1be702be7

    • 2611.08946v1 — Original paper

      Excerpt reference: static/papers/2611.08946v1.md:12-124
      Basis: Paper text
      Source SHA-256: f3abcb8c20c1998a95c8c615f58625d3dbe2aa77b395764e92e43dd859279d54

    • 2611.08946v1 — Original paper

      Excerpt reference: static/papers/2611.08946v1.md:125-176
      Basis: Paper text
      Source SHA-256: f3abcb8c20c1998a95c8c615f58625d3dbe2aa77b395764e92e43dd859279d54

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.