SelfSearch: A Self-Improving Agent Search Method Without Reward SignalsSelfSearch: Reward-Free Search for Self-Improving Agents
SelfSearch performs reward-free search with modification records, and the population means across six groups all increase; under the public setting, V4 Flash solves 82.0% of TB 2.1.
- Existing agent self-improvement search relies on repeated downstream evaluation to select candidates, with costs growing with the number of tasks and improvement signals tied to the evaluated tasks. SelfSearch aims to avoid using downstream rewards during the search period, rewriting the agent implementation based solely on records from the self-modification process.
- The same editable repository is used for both downstream tasks and self-modification, with weights fixed. The capability and adaptive lineages each run for ten generations, using the previous round's trajectories, code changes, and inspection results to modify themselves, without looking at downstream scores during the search period. The model, inference strength, and budget are placed in the runtime outside the repository.
- Across two configurations and three benchmarks, population-average success rates after ten generations all exceeded the initial agent. Under the public settings, the harness searched with DeepSeek and executed by V4 Flash solves 73/89 (82.0%) on TB 2.1, with a search cost of $4.03. Individual lineages fell below the initial value on some benchmarks.
- The Discussion suggests checking whether gains are stable across independent searches and experimenting with combining with evaluation-guided selection under the same total search budget. The experiments consist of one dual-lineage ten-generation search for each of two configurations; ablations and cross-model transfer focus on SWE-bench Verified; the comparison with evaluation-guided baselines is not budget-aligned.
- Evaluated models
- GPT-5.6 Sol (gpt-5.6-sol)GPT-5.6 Luna (gpt-5.6-luna)DeepSeek V4 Pro (deepseek-v4-pro-0813)DeepSeek V4 Flash (deepseek-v4-flash-0731)
- Benchmarks
- SWE-bench VerifiedSWE-bench MultilingualTerminal-Bench 2.1
- Metrics
- success ratepopulation successaverage execution cost per taskshared-success cost reductionsearch cost
The researchers propose SelfSearch, a reward-free search pipeline that lets LLM agents use records from previous self-improvement processes—including reasoning, tool actions, and results—to modify their own instructions, tools, and execution flows. Across six model-benchmark combinations, SelfSearch improves population average success rates, with a single agent improving by up to 11.2 percentage points on Terminal-Bench 2.1; on SWE-bench Multilingual, one agent improves success by 5.0 percentage points while reducing execution costs by 38.5% on tasks solvable by both the initial and evolved agents.
Paper analysis
What problem does this paper attempt to solve?
Search for improvable agent implementations using self-modification records rather than downstream rewards.
Self-improvement search for coding agents currently relies on repeated downstream evaluation, with costs rising with the number of tasks and signals tied to the evaluated tasks; SelfSearch instead uses only the records of self-modification rounds to change the implementation.
- Scenario: LLM agents can already inspect and modify their own instructions, tools, and execution processes. The authors draw on metacognition discussions to ask: can agents use experience of "how to discover weaknesses, try solutions, and respond to failures" to become better at improving themselves?
- Current shortcomings: The authors state that existing methods use downstream evaluation to guide search, with signals tied to the task distribution; each candidate must be executed on the development set, and costs grow with the number of evaluation tasks.
- Observation and hypothesis: A modification leaves not only a candidate implementation but also a record of how limitations were identified, revisions were constructed, and effects were checked. The authors hypothesize that abilities such as inspecting unfamiliar code, diagnosing failures, implementing changes, and checking effects are also useful for downstream tasks, so records can provide evidence before seeing downstream tasks.
- This paper's approach: Propose SelfSearch: no downstream tasks or rewards are used during the search period; the same agent both solves and self-modifies, the entire repository is editable, and weights are fixed. Downstream evaluation and candidate selection occur outside the search.
What related research exists?
Related work covers evaluation-guided search, self-modifying agents, and using improvement history to guide revision.
Following the grouping in Section 5, the paper discusses three categories of work and compares search designs in a table in Appendix F.
Evaluation-guided agent search
- Modify implementation then evaluate (Hu et al., 2025; Zhang et al., 2025; 2026a): Propose changes to agent implementations and workflows, evaluate candidates, then continue searching with feedback; archives can retain early designs as starting points for later work.
- HGM (Wang et al., 2026): Selection considers not only current task performance but also the potential to produce useful successors.
- Cross-lineage experience (Weng et al., 2026; Liu et al., 2026): Records from multiple agents, tasks, or lineages can guide new modifications and combine complementary improvements. The paper notes that SelfSearch also transfers experience across generations, but the experience comes from the self-improvement process, and no downstream benchmark evaluation is performed during the search period.
Self-modifying agents
- Solving and modification by the same agent (Robeyns et al., 2025): Revisions to tools and instructions also change how it subsequently makes improvements.
- The improvement program itself can be modified (Zelikman et al., 2024; Zhang et al., 2026b): Apply the improvement program to its own implementation, or let a meta-agent modify itself.
- Timing of effect (Xia et al., 2025): Some evolve across generations, others modify the scaffold within a single task. The paper describes SelfSearch as: a single agent that both solves and self-improves, with the entire repository editable, and the revised implementation left together with the round records. The authors also state that the lineage's line-by-line viewing, precise replacement, and bounded search output resemble SWE-agent's interface design (Yang et al., 2024).
Treating the improvement process as experience
- Using modification history and evaluation results to guide subsequent revisions (Zhang et al., 2026b; Lee et al., 2026; Qu and Lu, 2026): Retain lessons across generations, or revise the search program itself.
- The paper's distinction: SelfSearch's round records contain reasoning, tool calls, and intermediate results during modification; failed edits, incomplete observations, and difficulty inspecting earlier records can all prompt changes to its own tools and processes, and there is no downstream task evaluation during the search period.
Baselines and benchmarks
- B0 is adapted from DGM's released implementation, with changes to policy routing and the execution loop (Appendix A). The evaluation-guided baselines are linear search (revising the latest candidate) and archive search (selecting parents from existing candidates). Benchmarks are SWE-bench Verified, SWE-bench Multilingual, and Terminal-Bench 2.1.
- Appendix F Table 13 compares DGM, HGM, Hyperagents, SICA, and SelfSearch on four dimensions: whether the task agent evolves across generations, whether the meta-agent evolves, whether they are the same agent, and whether the search does not use downstream evaluation rewards to guide revision or selection. In the table, only SelfSearch has all four.
The authors position this paper alongside these works as: experience comes from the self-modification process rather than downstream evaluation, and the improver and task solver are the same evolving implementation.
How does the paper address this problem?
SelfSearch rewrites the repository using past self-improvement records, without using downstream scores during the search period.
SelfSearch lets the same repository both solve tasks and modify itself: each generation uses records from past self-improvement turns to decide what to change, and the search period provides no downstream tasks or scores.
Turns and modifiable scope
- Object: The initial agent B0 is a repository containing instructions, tools, and execution logic. The same implementation does downstream tasks and self-modification; any part of the repository can be changed, model weights are fixed.
- One-step modification: In turn k, Bk receives an editable copy of its own repository and a read-only record Ek, inspects the records, decides on changes, edits, and verifies. The running agent is unchanged within the turn; the edit defines the successor Bk+1 and leaves a record ek.
- Record content: ek contains the trajectory (reasoning, tool actions, and results) and code changes. The Figure 1 caption also states the record includes inspection results.
- Direction is not scored: The search direction d only states which class of changes to investigate. The paper writes this step as (Bk+1, ek)=SelfImprove(Bk; Ek, d).
Lineages, directions, and record sharing
- capability: Finds capability limitations in inefficient behavior, failed actions, or hard-to-complete operations, and makes reusable tools or procedures.
- adaptive: Improves how to change approach when actions fail, evidence contradicts assumptions, or better strategies appear. The two directions are used to prompt investigation of different kinds of limitations.
- Cold start: First runs B0 once in each direction to obtain E0. Records are kept, and the implementations produced at that time are discarded, so both lineages start from the same B0.
- Each subsequent generation: Each lineage does one self-improvement turn. Both lineages receive the two records from the previous generation, while implementations remain separate, allowing absorption of findings from the other direction. All generated agents enter the archive C.
Search loop
Algorithm 1 maintains W lineages and K generations. This paper uses W=2, K=10, executed in parallel each generation. Evaluation uses each lineage's final agents Bc and Ba, not checkpoints selected from the archive by downstream performance. The stacked boxes in Figure 1 represent parallel lineages.
Search-period feedback and runtime boundaries
- No downstream reward: Available during search are past self-improvement turns, current tool results, and local checks. No downstream benchmark tasks or evaluation results are received. Downstream evaluation happens only after checkpoints are frozen.
- Fixed loop: The model–tool interaction loop is outside the editable repository, and the agent calls it via respond(message). The runtime fixes the model, reasoning strength, generation settings, and execution budget; call count and tool-step limits cover the entire run, including multiple respond calls. Trajectories are written outside the repository, and past records are mounted read-only (Appendix A).
- Search budget in this paper: At most 513 model calls, 512 tool steps, and 4 hours per turn, with the container offline and tools callable in parallel. Search and downstream both use temperature 1. Search uses medium reasoning; gpt-5.6-sol has a per-call output cap of 8192 tokens, and deepseek-v4-pro-0813 has 16384 (Appendix C.1).
- Prompts: A shared template plus model-specific objectives and one of the two directions above. GPT's objective text says to improve the ability of the improving agent (including itself); DeepSeek's objective text says to improve expected task-solving ability (including the improving agent), with additional design guidance. These texts were fixed after pilot searches, inspecting improver trajectories and code changes; pilot agents were not evaluated on downstream benchmarks. Appendix B gives the full prompts.
What experiments did the paper conduct?
Across six model–benchmark settings, the population-average success rates all exceeded the initial agent, though individual lineages declined in some cases.
Experimental setup
- Models: GPT configuration uses gpt-5.6-sol for self-improvement and gpt-5.6-luna for downstream; DeepSeek configuration uses deepseek-v4-pro-0813 for self-improvement and deepseek-v4-flash-0731 for downstream. Within the same configuration, the initial and evolved agents share the downstream model and execution limits, differing only in implementation. Downstream uses medium reasoning, temperature 1, and a per-call output cap of 16384 tokens (Appendix C.1).
- Search: Two lineages per configuration, ten generations. Reports final Bc and Ba, and the average of their success rates (population success). Checkpoints are not selected by downstream performance.
- Downstream sets: SWE-bench Verified 120 problems (DGM small, with a 60-problem subset, then 60 problems drawn from its large subset); SWE-bench Multilingual 60 problems (seed 42, with C, C++, Go, Java, JavaScript, PHP, Ruby, Rust at 6, 2, 8, 9, 9, 9, 8, 9 problems respectively); all 89 problems of Terminal-Bench 2.1 (Appendix C.2).
- Metrics: Success rate is judged by the reference grader, including cases where execution terminates after producing a valid patch (Appendix C.3). Per-task average execution cost is the model's total execution cost divided by the number of attempted tasks, including failures, excluding search cost. The definition of cost change on jointly solved tasks is in Appendix C.4.
- Baselines: B0; linear search revises the latest candidate; archive search, after a shared first revision, uniformly samples a parent on even iterations, takes the development-set highest scorer on odd iterations, and takes the earliest candidate on ties. Each performs ten revisions, with a development set of ten DGM problems from the small subset. The final pick is the highest scorer, with the latest on ties: GPT's 8th and 10th revisions, DeepSeek's 6th and 9th.
- Unstated review details: The paper does not state LLM review or human agreement, nor does it report the number of downstream evaluation repetitions.
Main results
Per Table 1, success rates (%) after ten generations. Rows are downstream execution models.
Swipe horizontally to read the table
Downstream model / benchmark B0 Bc Ba gpt-5.6-luna / Verified 120 75.0 77.5 75.0 gpt-5.6-luna / Multilingual 60 53.3 60.0 58.3 gpt-5.6-luna / TB 2.1 89 43.8 55.1 44.9 V4 Flash / Verified 120 81.7 86.7 86.7 V4 Flash / Multilingual 60 68.3 66.7 73.3 V4 Flash / TB 2.1 89 65.2 73.0 71.9 - Authors' report: Population-average success rates across all six settings exceeded B0, with the stronger lineage varying by benchmark and model configuration. The text states that individual agents improved by up to 11.2 percentage points on Terminal-Bench 2.1; that figure does not exactly match the difference between GPT's capability lineage and B0 in Table 1, so the table's success rates take precedence.
- Cells at or below baseline: DeepSeek's capability lineage on Multilingual is below B0; GPT's adaptive lineage on Verified is equal to B0.
- Cost: In Table 1, both DeepSeek lineages on all three benchmarks have per-task costs below B0. On GPT's Multilingual, Bc and Ba are $0.0135 and $0.0133, with B0 at $0.0131; on TB 2.1, Bc is $0.0219, with B0 at $0.0212. The authors state that in Figure 2 the two DeepSeek lineages average cost reductions of 12.1% and 16.9%, GPT's capability lineage rises 3.1%, and the adaptive lineage falls 6.2%; these percentages do not exactly match direct division of the four-decimal values in Table 1. Legend is Initial B0, Adaptive Ba, Capability Bc, with axes Success (%) and Cost per task (US cents). The transcription did not preserve point positions.
Comparison with evaluation-guided search
- Protocol: Both baselines use a ten-problem development set to guide ten revisions, then select one candidate by development-set score. SelfSearch directly reports the tenth-generation two lineages. The Verified comparison excludes those ten problems, leaving 110, and additionally evaluates Multilingual. Appendix C.3 states this comparison is not budget-aligned.
- Success rates (Table 2): On GPT, Bc is 78.2% / 60.0%, not below either baseline; Ba is 75.5% / 58.3%, with Verified below B0's 76.4% and both baselines. On DeepSeek, both lineages on Verified are 87.3%, above linear's 81.8% and archive's 86.4%; on Multilingual, Ba is 73.3%, equal to linear, and Bc is 66.7%, below B0's 68.3% and both baselines.
- Search cost: Combined across both lineages, GPT is $6.52 and DeepSeek is $4.03. Baselines, including editing plus development-set evaluation, are $12.35 and $7.53 for GPT, and $8.59 and $7.90 for DeepSeek. The authors state SelfSearch is 13.4–47.2% (GPT) and 49.0–53.2% (DeepSeek) lower than these baselines.
Cross-model transfer and other harnesses
- Switching the execution model without further search (Table 3, SWE-bench Verified): Bc and Ba searched with GPT-5.6 Sol, executed by DeepSeek V4 Flash, are 83.3% and 85.0%, with B0 at 81.7%. Those searched with DeepSeek V4 Pro, executed by GPT-5.6 Luna, are 79.2% and 76.7%, with B0 at 75.0%. The authors state both lineages in both transfer directions are above the initial agent.
- Nine-harness comparison (Section 3.5, Appendix D.3): Bc searched with DeepSeek V4 Pro, executed under settings aligned with the public comparison against Apache Maka (2026) (DeepSeek V4 Flash, xhigh reasoning, task-specific time limits, 100000 tool steps, 100001 model calls, not the Table 1 settings), solves 73 of 89 problems (82.0%), tying with what the authors call the highest in that comparison, Codex. Each solved 7 problems the other did not, with 66 solved jointly. Search cost is $4.03.
Turn records and the evolved improver
- What was tested: Two ablations, both using the same search configuration as the full method, evaluated at generation ten on SWE-bench Verified (Table 4). One removes past turn records, with the implementation still accumulating across generations; one lets B0 read the records and edit the latest implementation, but B0 itself is unchanged.
- Results: The full method has the highest population mean: GPT 76.2%, DeepSeek 86.7%. Removing records: GPT 74.2% (c/a at 75.0/73.3), DeepSeek 83.8% (82.5/85.0). Fixed improver: GPT 74.6% (73.3/75.8), DeepSeek 83.8% (82.5/85.0). On GPT's adaptive lineage, the fixed improver at 75.8% is above the full method's 75.0%; removing records at 73.3% is below the initial 75.0%.
- Authors' interpretation: The authors state removing records lowers the mean by 2.1 (GPT) and 2.9 (DeepSeek) percentage points, and the fixed improver by 1.7 and 2.9 percentage points. After rounding in Table 4, GPT's mean differences are 2.0 and 1.6 percentage points, and DeepSeek's is 2.9. The authors also state GPT's fixed improver is slightly better than the full method on the adaptive lineage.
Other ablations and analyses
- Cost on jointly solved tasks (Table 10): DeepSeek adaptive on Multilingual has an overall success rate 5.0 percentage points higher, with cost down 38.5% across 39 jointly solved tasks; its capability lineage is down 52.9% across 37 jointly solved tasks, but the overall success rate in Table 1 is below B0. On Verified, both DeepSeek lineages are down 36.1% and 19.7% (95 problems each), and GPT is down 8.7% and 13.6%. GPT's capability lineage on TB 2.1's 33 jointly solved tasks is -2.4% (cost increase).
- Downstream tool calls (Table 12, 269 problems, counted if at least one per task): Averaged across both lineages, GPT and DeepSeek text search shares are 8.6% and 23.6%, with per-row views at 40.3% and 33.8%. GPT's trajectory reader is 0.0%.
- Cross-generation changes (Table 5, Table 11): GPT in generations 6–7 mutually absorbs text search with output limits and the trajectory reader, and in generation 8 adds a total output limit. DeepSeek adaptive in generation 5 keeps line starts and ends to shorten search output; the capability lineage in generation 6 switches to match-centered excerpts, and adaptive incorporates that fix in generation 7.
- Search resources (Table 8, excluding downstream evaluation): GPT-5.6 Sol is 281 calls, 5.48M input tokens, 101.4k output, $6.52; DeepSeek V4 Pro is 832 calls, 36.89M input, 578.7k output, $4.03.
- Per-task calls (Table 9, including failures): DeepSeek on Verified drops from 44.1 to 33.2 (Bc) and 35.8 (Ba), and Multilingual from 56.3 to 41.3 and 42.1. GPT's Multilingual rises from 17.1 to 18.3 and 18.6.
- Figure 3: The authors use a Sphinx task to illustrate that a truncated turn record prompted the addition of text search, which was later used to locate relevant tests and call sites. The figure contains truncation observations and tool field names; call text is not transcribed.
What are some points that can be further explored?
The Discussion suggests examining whether independent searches are stable and experimenting with combining with evaluation-guided selection.
Limitations and future directions noted by the authors
The paper does not have a separate Limitations section. The Discussion (Section 6) lists two future directions, not framing any particular experimental number as a limitation.
- Stability of independent searches: The authors write that further work should check whether these gains appear consistently across independent searches.
- Combination with evaluation-guided selection: The authors write that future work could, under the same total search budget, experiment with combining SelfSearch with evaluation-guided selection to see if better agents can be obtained. The same section envisions: in evaluation-guided search, extending a single-step modification into several generations of revisions guided by round records, then evaluating whether that candidate is retained.
Experimental coverage
- The searches reported in the paper are one dual-lineage, ten-generation pipeline for each of two model configurations; downstream models are gpt-5.6-luna and deepseek-v4-flash-0731, and search models are gpt-5.6-sol and deepseek-v4-pro-0813 (Section 3.1, Appendix C.1).
- Downstream sets are SWE-bench Verified with 120 problems, SWE-bench Multilingual with 60 problems, and Terminal-Bench 2.1 with 89 problems; in the comparison with evaluation-guided baselines, Verified excludes ten development-set problems, leaving 110 (Section 3.1–3.3, Appendix C.2–C.3).
- Evaluation-guided baselines are linear search and archive search, each with ten revisions; Appendix C.3 states that this comparison is not budget-aligned. Reports of both ablations and cross-model transfer focus on SWE-bench Verified (Section 4.1, Table 3, Table 4).
- The comparison with other harnesses uses the capability lineage searched with DeepSeek V4 Pro, with execution settings of xhigh and extended step limits, aligned with Apache Maka (2026)'s nine-harness, DeepSeek V4 Flash, Terminal-Bench 2.1 settings (Section 3.5, Appendix D.3).
- The paper does not report the number of independent repeated searches, the number of downstream evaluation repetitions, or statistical significance tests.
Summarize the main content of the paper
Self-modification search without downstream rewards improved population-average success rates across six settings.
SelfSearch is an agent rewriting pipeline that does not look at downstream rewards during the search period: subsequent implementations are guided by the process records of the previous round of self-modification, and the model weights are not changed.
- Problem: The authors believe that repeatedly filtering candidates with downstream evaluations ties improvement signals to the task distribution and makes search costs scale with the evaluation size; the trajectories left by the modification process have not yet been used as search signals.
- Method: From the same initial repository, two lineages, capability and adaptive, are pulled, each modified for ten generations. Each generation only reads the two round records from the previous round and modifies an editable copy; the model, inference strength, and step budget are outside the repository. The final implementation of each lineage is evaluated, and checkpoints are not selected by downstream scores.
- Success rates: The authors report that across six combinations of two downstream models and three benchmarks, both lineages average higher than the initial implementation (Table 1). The GPT capability lineage on Terminal-Bench 2.1 goes from 43.8% to 55.1%; both DeepSeek lineages on SWE-bench Verified go from 81.7% to 86.7%. The DeepSeek capability lineage on Multilingual is 66.7%, lower than the initial 68.3%.
- Cost, transfer, and external comparison: The DeepSeek adaptive lineage has a success rate 5.0 percentage points higher on Multilingual, and execution costs drop by 38.5% on tasks jointly solved (Table 10). When executed with a different model family and without further search, all cross cells in Table 3 are higher than the corresponding initial values. In the xhigh setting aligned with the public nine-harness comparison, the DeepSeek-searched capability lineage solves 73/89 (82.0%) with V4 Flash, tying with Codex; this search cost $4.03.
- Authors' conclusion: The authors believe that the process of rewriting the agent itself can provide experience for subsequent improvements; in Table 4, removing round records or fixing the improver to the initial implementation results in population average success rates lower than the full pipeline. The Discussion describes downstream evaluation as complementary to this experience but a component whose cost should be accounted separately.