Field guide · 16 sources

Field guide: Agent self-improvement

How agents that rewrite their own prompts, skills or harness actually improve, and the gates that keep them honest.

Bottom line

Self-improvement loops pay off when something outside the model decides which edits are kept: held-out tasks, a noise-aware acceptance test, checks the optimizer cannot see, and a record of each edit, its diagnosis and its outcome. Without that, loops keep bad edits and learn to game their evaluator.

The upside is real. One editing step with no ground-truth verifier lifted GLM-5 from 64.2 to 75.7, past a stronger model on its original harness (R121-f1, R121-f2). A harness written once by GPT-5.6-Sol took Llama3-8B from 15.14 to 79.32 on long-context tasks, above a model trained for 128K context (R025-f1). So are the risks. A greedy keep-if-better gate kept non-improving updates 45.59% of the time (R066-f1). A harness evolved on a stronger model scored below the unevolved seed on a weaker one in all four domains, one run each (R131-f1). And of 131 ideas agents proposed for a live RL run, 110 were grading or data fixes; none of the 3 learning-rule ideas was adopted (R114-f7).

Expect loops to find fixes and tuning, not new methods, and spend your effort on the gate.

Each id points to the entry and names a section or table in the source.

Decide first

QuestionIf yesIf noEvidence
Can you score outcomes automatically, on tasks the optimizer never sees?Run an automated loop with a statistical gateKeep a person at the merge; use deterministic evals against golden outputs and feedback only from domain expertsR066-f1, R229-f2, R229-f6
Is the task rule-like, so code can do the work?Expect large gains from written harnessesSemantic tasks barely move; RAG changed by -4.93 and -0.55 against the self-improvement baselineR025-f3
Is a strong model available to write the harness?Let it build the harness for a weaker executorSmall models building their own harness did sharply worseR025-f7, R121-f1
Will the executing model change?Carry the edit log, not only the evolved harness, and re-optimizeKeep the tuned harness; this evidence is only about model changesR131-f1, R131-f3, R221-f6
Is the validation set small or reused every round?Correct for reuse; greedy gates overfit itGreedy gates still kept many non-improving updates in the tested setup; correction matters most with reuseR066-f6, R066-f8

Do

  1. Gate every kept edit on evidence the model did not produce. A statistical noninferiority gate cut non-improving acceptances from 45.59% to 2.78% and mean worst drawdown from 4.963 to 0.047 points (R066-f1, R066-f5). A regression gate on memory and rule edits reached 0.924 update correctness with 0.167 pollution (R164-f2). InfraRSI promotes a candidate only after back-to-back baseline re-runs beat measured noise, and otherwise reports 1.00x (R024-f5).

  2. Keep evaluators private and add checks outside the model. Exposing the evaluator raised the original benchmark score by 0.093 but the out-of-distribution score by only 0.009 (R103-f4). An offline verifier rejected 400 of 1,212 stored runs, 39 of them caught only by the numerical layer (R024-f3). Stress-input checks dropped a 1.62x kernel that overflowed in FP16 (R129-f5).

  3. Carry a record of each edit, its diagnosis and its outcome. With that log, continuation beat harness-only continuation by 3.60 to 11.33 points across models (R131-f3); over ten independent coding runs the gain was 2.36 points (95% CI 1.05 to 3.68), positive in nine (R131-f5). Root-cause notes without outcomes ranged from 1.82 points worse to 2.40 better (R131-f4).

  4. Give the editor reference runs, probes and a narrow scope. Removing scoped editors cost 2.9 and 3.7 points (R121-f5); editing without reference runs, probes or library dropped Code from 73.4 to 63.2 (R121-f6).

  5. Specialize, but keep the base harness as a route. A hierarchy of specialized harnesses beat the base on all three held-out benchmarks, 77.41 vs 61.62 on AutomationBench (R108-f1). Routing worked better when the router saw the base run (R108-f4), and keeping the base as an option protects unfamiliar tasks (R108-f7).

  6. Optimize for accuracy first, then prune. Pruning straight from the seed skill stalled at 3.6% on SpreadsheetBench against 72.5% when it followed accuracy optimization (R221-f4). Against accuracy-only optimization, the two-phase order cut output tokens in 11 of 12 model-benchmark pairs, by up to 79.7% (one pair rose 4.4%) (R221-f1), and serving cost by 25 to 67% in 10 of 12 (R221-f5).

  7. Use a decision model as a teacher, not an actor. Acting, it finished 42.9% of ALFWorld tasks; its scores, added to GRPO, raised a 1.5B policy from 72.8% to 82.9% (the GRPO baseline is taken from prior work) (R069-f6, R069-f5). Ask whether an action helped, not whether the task will succeed (R069-f3).

  8. Let agents supervise long runs. A role-specialized supervisor repaired a deliberately flawed RL recipe, 65.53% to 73.16% while the unchanged run fell to 56.05% (R114-f3), and kept a 14.7-day run going through 11 failures (R114-f4).

Avoid

Where the evidence disagrees

DisagreementSide ASide BWhat reconciles itWhat would settle it
Statistical gate or greedy?The statistical gate had the highest average gain, 24.84 pp, and almost no non-improving acceptances (R066-f1)Greedy gained more in two of six settings (R066-f2)Greedy won two settings outright, but its worst drawdown averaged 4.963 pp against 0.047 for the gate; why it won those two is not reportedLong runs where validation data is not reused
Must the loop be prescribed?An Opus-5 teacher with no real games roughly matched an optimizer using 20 real games, at matched rollout budgets (R144-f2)Only newer model generations improved without a prescribed loop (R144-f1); small models building their own harness did sharply worse (no number given) (R025-f7)Strong models can design the loop; weak ones need it designed for themThe same loop task across model sizes
Do learned improvements transfer?Text artifacts transferred between model families both ways, 25.4 to 47.5 (R144-f7); a library helped on another benchmark (R121-f7)An evolved harness fell below the seed on a new model (R131-f1)Learned knowledge travels; tuned harness code is fitted to one modelHarness code and text artifacts transferred in the same study
Elaborate gate or a simple rule?The gate declined 20 of 21 risky attempts (the one admitted was GPT-5.6 Luna's autonomy edit), and no template repair passed (R175-f1, R175-f5)A broad handwritten rule matched the LLM repair: 0 flags, 87 safe completions (R175-f3)The gate's value is refusing edits; in the one admitted repair a handwritten rule did as well, and the repair prompt already supplied general authorization rulesGates compared on edits no one anticipated

Nearly every result is run by its authors on their own setup, often once, and none is an independent replication.

Numbers

ClaimResultValueConditionsWhere in source
R066-f1Non-improving updates kept45.59% greedy vs 2.78% gated6 settings, 5 seeds, 30 rounds§6.1, Table 1
R066-f2Final gain24.84 pp gated average; greedy ahead in 2 of 6same§6.1, Table 1
R121-f1One improvement step, no verifierGLM-5 64.2 to 75.7Opus 4.8 editor, 3 runs§3.2, Table 1
R025-f1Written harness vs long-context trainingLlama3-8B 15.14 to 79.32 vs 70.15 trained59,826 test examples, single run§4.2.1, Table 1
R108-f1Specialized harness hierarchy77.41 vs 61.62 baseAutomationBench, 300 tasks, 3 runs§4.2, Table 1
R131-f1Evolved harness on a new model0.60 to 5.48 below the seed4 domains, one run each§4.3.1, Figure 3
R131-f5Edit log carried forward+2.36 (CI 1.05 to 3.68), 9 of 10 runscoding, Gemini 3.8 Flash§4.4, Table 3
R024-f1Contract-locked tuning1.83x vs 1.37x best baseline4 workloads, authors' benchmark§6.1, Table 4
R024-f3Stored runs rejected on re-verification400 of 1,212106 searches§3.4, §6.3
R103-f4Exposed vs private evaluator+0.093 in-distribution, +0.009 OOD3 runs per configuration§6.3, Table 3
R164-f2Gated memory edits0.924 correctness, 0.167 pollution12 memory families§6.1, Table 1
R221-f1Accuracy first, then pruneup to 79.7% fewer output tokens4 models, 3 benchmarks§5.1, Table 1
R221-f4Prune from the seed3.6% vs 72.5%SpreadsheetBench§5.3, Figure 3
R069-f6Weak actor, good teacher42.9% acting vs 82.9% trained policyALFWorld, 1.5B policy§3.3.2
R114-f7What agents proposed110 of 131 grading or data fixesone GPT-driven run§4.3, Table 3
R114-f4Unattended RL run52.29% to peak 65.13%, final 63.20%14.7 days, 11 failures§3.5, Figure 5
R144-f7Artifacts across model families25.4 to 47.53 seeds§5.3, Table 1
R175-f1Risky prompt edits declined20 of 21 attempts3 models, 2 edits§6, Figure 3
R129-f2LLM controller vs coded tree search35 of 38 problems, 2.4x correct attemptsequal wall timeAbstract, §1

How this was made

The guide draws on fifteen sources: fourteen arXiv papers and Warp's article. A Sonnet model extracted 120 claims, each tied to a section, table or figure; R164's claims come from the agent memory guide. Opus wrote this guide from those claims.

Limits. R229 is a vendor story with no before-and-after numbers (R229-f7). Most results are single author-run experiments.

Checking showed our entries were off for 14 of the 15 sources. For example, R066's 2.78% is an average over six settings, and greedy had the higher final gain in two of them; R069's "three general LLMs" were two readouts of one model; and R175 declined 20 of 21 attempts, not 21. Those entries are being corrected at the source and logged in the corpus corrections file. A second reader then checked every cited sentence against its claim, and 17 overstatements were fixed.

Sources in this guide

A field guide synthesizes the Research entries it cites. Each claim id links to the entry it comes from.