← Blogs
Tech Report · November 2026

InfraEvolve: an AI-infrastructure-native self-evolving multi-agent framework

A single agent run narrows onto the first direction it picks, then keeps refining it, trapping the search in a local optimum. InfraEvolve, our implementation of ELLIS for AI-infrastructure work, schedules fresh agent runs on one optimization task, archives each run's patch, score and report, and builds each new run's context from that archive. Across Φ-Bench tasks, the orchestrated search framework reaches on average 1.88× the speedup of a single Claude Code run, and on the five MLSys 2026 problems it beats Claude Code and Codex at the same run count by 1.05× to 3.87×.

Main contributions

An open-source stack for long-horizon optimization. We release ELLIS, which runs and archives the search, EvolveVista, which visualizes the search tree as it grows, and TraceVista, which unfolds each run layer by layer, from system states down to the raw records.

The coordinated loop beats repeated sampling. Across Φ-Bench tasks the framework reaches on average 1.88× the speedup of a single Claude Code run, and on all five MLSys 2026 problems it outperforms Claude Code and Codex at an equal run budget.

Reports are what make gains compound across runs. Every run ends by writing down what it tried, what worked, what failed and what still looks promising. A fresh run reads these reports, investigates the search again and commits to the most promising direction. Inheriting only the best code is no better than repeated sampling, while reports alone carry more than half of the gain.

Introduction

As coding agents grow more capable, they are taking on longer and more autonomous engineering work. Performance engineering for AI infrastructure has become one of their most active fronts, where agents already use execution and profiling feedback to make real code faster. Within a single run, however, their progress tends to stall in the same way. A run picks one optimization strategy early and keeps refining it as the gains shrink. When those refinements start failing, it concludes the task is near its ceiling, even though only one direction has run out of headroom.

Human performance engineers work differently. They come back to a workload with notes from earlier experiments and use the recorded measurements to decide whether to refine what they have or chase a different bottleneck. Big speedups in AI infrastructure usually need several distinct strategies combined, and a gain in one direction often exposes an opportunity in another that nobody could see beforehand.

InfraEvolve gives an agent that habit. It treats a complete agent run as the unit of search, starts every run fresh, and gives it the record of everything tried so far.

The run as the unit of search

Evolutionary systems such as AlphaEvolve search over individual code proposals. A model suggests a diff, a separate evaluator scores it, and progress comes from selection over a large population. A coding agent already builds, tests and times its own changes, so one run proposes and measures many times on its own. InfraEvolve makes the whole run the node and leaves the inside of a run to the agent (Figure 1).

Figure 1Two units of search. Program-level search scores a large generation of single-diff candidates, keeps the best few as parents of the next generation, and lets selection do the work. InfraEvolve grows far fewer nodes, and each one is a complete run that locates, modifies and measures many times before it is scored.

With only a handful of runs per task, the outer loop cannot win by sampling more. Its real job is to decide what each new run should forget and what it should keep.

Fresh runs break context inertia. Long runs suffer from context inertia, where a model commits to a hypothesis in its context and keeps pursuing it after the evidence says to change course. Every failed attempt becomes one more example pulling the next attempt the same way, and compacting the context keeps exactly the work that drives the fixation. InfraEvolve ends each run and starts the next from an empty context, which resets the agent's sense of what is still possible.

Knowledge compounds across branches. Forgetting the context does not mean forgetting the lessons. Every run leaves behind its code, its score and a short report of what worked, what failed and what is still worth trying. The next run inherits that record from every branch of the search, so understanding accumulates far beyond any single run while the habits of one run stay behind.

Each round picks a starting node, launches a fresh run with that node's code and the reports of every node, then scores and reviews the result before it joins the archive (Figure 2). The loop stops after a fixed number of runs, or when the last few runs stop improving the best.

Figure 2One round of the loop. The archive holds one node per run; the teal node is the current best and the dashed orange node was flagged in review and is excluded from ranking. Accent marks code, orange marks reports.

The starting node is an anchor, not a constraint, and the loop can choose it in three ways (Figure 3). The best strategy always continues from the current best, baseline always restarts from the original code, and exploration samples nodes by score while discounting those already expanded many times, so a weaker node can still become a stepping stone.

Figure 3Three ways to choose where the next run starts, each shown on the kind of archive it grows, with scores inside the nodes and the current best in teal. Each panel picks a start three times. In exploration, the halo shows each node's chance of being picked, which rises with its score and falls with the number of runs that already started from it.

Results

Most tasks come from Φ-Bench, a set of 85 tasks from real codebases that range from operators and kernels to end-to-end training and serving, each graded Junior, Senior or Principal. The other five are the MLSys 2026 competition problems, which were never used while building InfraEvolve. Every run uses Claude Code with Claude Opus 5.5 at medium effort. To isolate the loop, Claude Code and Codex (GPT-6.1 Sol) are each run independently as many times as InfraEvolve on each problem, and we report their best.

1.88×

best speedup relative to the first run, geometric mean over Φ-Bench tasks

1.05–3.87×

over the better of Claude Code and Codex at the same run count, MLSys 2026

The loop reaches speedups a single run does not. On Φ-Bench tasks with a valid first run, the best score ends at 1.88× that of the first run in geometric mean (Figure 4a). The gain varies widely. It exceeds 2× on 18 tasks, and 10× on 6 of them, lies between 1.05× and 2× on 25 tasks, and stays below 1.05× on the other 28, where the first run is already close to the final score.

The results stay competitive with prior frameworks. On the Junior tier of Φ-Bench, InfraEvolve scores higher than KDA and AKO4X on most tasks (Figure 4b). Running time is not controlled across the three, at 24.4, 20.9 and 12.7 hours, since each framework decides for itself when a run is done. On the five MLSys 2026 problems, InfraEvolve is ahead of the scores reported by KDA and AKO4X on DSA Attention, GDN Prefill and MoE, and on par with KDA on DSA Indexer (19.3× against 19.1×) and AKO4X on GDN Decode (1.16× against 1.18×). On all five it beats both standalone agents, by 1.05× on GDN Decode up to 3.87× on GDN Prefill (Figure 4c).

Three panels. (a) Best score so far relative to the first run rises from 1x to 1.38x after run 2, 1.78x at run 6 and 1.88x by run 10. (b) On 11 Phi-Bench Junior tasks InfraEvolve's speedup over the oracle is highest on most tasks compared with KDA and AKO4X. (c) On five MLSys 2026 problems InfraEvolve is fastest or tied against KDA, AKO4X and single runs of Claude Code and Codex.
Figure 4(a) Best score so far relative to the first run over all Φ-Bench tasks. (b) Speedup over the oracle on Φ-Bench Junior tasks. (c) Speedup over the FlashInfer baseline on the MLSys 2026 problems. Diamonds and crosses are the best of as many independent Claude Code and Codex runs as InfraEvolve used. KDA and AKO4X values come from their own reports.

Gains accumulate as later runs change direction. In AI infrastructure, pushing one direction to its limit often exposes the next bottleneck. The next run investigates the archive and takes on that bottleneck, so the best score keeps climbing in steps. For example, on the cloud-catalog task, early runs refine a bitset dominance check, run 4 parallelizes the search, and run 7 moves the core into a C kernel with a thread pool. Run 9 then joins run 8's kernel with run 7's pool and reaches 135×, drawing on two branches of the archive at once (Figure 5).

Figure 5How the cloud-catalog lineage climbed, on a log scale. Labelled points are the values stated in the report; run 8's position is approximate, since it is reported only as not beating the best. The lineage was audited for reward hacking and found clean.

No fixed budget fits every task. The mean best score rises fastest in the first few runs, but 30% of tasks stop within four runs while 38% are still improving at run 8. Stopping on marginal gain spends runs where they still help.

Ablation

Which part of the loop produces this gain? Each run inherits two things, starting code in its workspace and an archive in its prompt. The ablation varies both across six configurations on 10 Φ-Bench tasks, with two campaigns of six runs per task (Table 1).

ConfigurationStarting codeArchiveWhat it tests
independent runsinitial codenonerepeated sampling alone (control)
best code onlycurrent bestnoneinheriting code alone
reports onlyinitial codereports, scoresinheriting reports alone
best + reportscurrent bestreports, scorescode on top of reports
fullcurrent bestreports, scores, patcheswhether patches help
exploration + reportssampled by scorereports, scoreswhether the starting node matters
Table 1The six ablation configurations, each combining one level of starting code with one level of archive content.
Ablation on 10 Phi-Bench tasks. (a) Best speedup so far over six runs for six configurations. (b) Best speedup after six runs: independent runs 8.7x, best code only 9.0x, reports only 10.3x, best plus reports 11.3x, exploration plus reports 11.0x, full 11.1x. (c) Agent time and input tokens over six runs relative to independent runs.
Figure 6Ablation on 10 Φ-Bench tasks, two campaigns per configuration, combined by geometric mean. (a) Best speedup so far over the first six runs. (b) Best speedup after six runs; bars start at independent runs (dashed line) and whiskers are 95% bootstrap intervals of the per-task ratio. (c) Agent time and input tokens over six runs, relative to independent runs. Best + reports uses only its second campaign, because the first stopped after three runs.

The archive-driven loop beats repeated sampling. Independent runs also improve with more attempts, but slowly after the second. At the same six runs, full reaches 1.28× their score, for 1.1× the agent time and 1.6× the input tokens (Figure 6c).

Reports are necessary. Inheriting only the best code scores 9.0×, no better than independent runs at 8.7×. The code shows the best solution so far, but not what earlier runs tried or which directions failed.

Code helps only on top of reports. Restarting from the original code but reading the archive already reaches 10.3×, more than half of the gain, so a run can rebuild earlier solutions from the written record alone. Adding the best code on top lifts this to 11.3×.

Patches and start selection show little difference at small run budgets. Once reports are in place, full and exploration + reports land at 11.1× and 11.0×, within the intervals of best + reports. With so few runs the archive holds few candidates to choose from, so these choices may well matter more at larger budgets.

Keeping the numbers honest

Selection favours high scores, so noise and reward hacking compound down a lineage unless they are stopped at the door.

Paired timing. The same code runs at different speeds on different machines, and on one machine at different times. Timing the candidate in alternation with the oracle or baseline on the same machine cancels that drift (Figure 7). Without a reference, every new best is measured again on other machines and ranked by the median, and leftover processes are killed before each measurement.

Figure 7Why the loop times in pairs. The shaded band is machine slowdown over time. Timed separately, drift lands in the ratio; timed in alternation, it cancels. Values are illustrative.

Two checks against reward hacking. A candidate that passes the task's verifier is still rejected if it edits outside the permitted scope, does not come from the code under evaluation, or uses means the task forbids. A trajectory review then reads the patch, the report and the file-access records to see which techniques the agent actually used. Both checks run after the run and are still partly manual. One way to automate them is to time each candidate again with a changed procedure, such as fresh inputs on every call, and flag speedups that do not survive.

Limitations

One model, one effort. Every run uses Claude Opus 5.5 at medium effort. A weaker model may not rebuild solutions from reports alone, so code inheritance could matter more there.

Performance tasks only. Each task has a scalar objective and an automatic check that takes minutes. Long-horizon work without a cheap score, such as feature development or research, is not yet covered.

Conclusion

Coding agents are already good at making code faster. What they lack is a way to keep going once a single run runs out of ideas. With InfraEvolve, every fresh run starts with what it needs to keep climbing.

The loop optimizes real AI infrastructure, the very stack that agents run on, so a model can turn the loop on itself. In Inkling 2 Mini for Inkling 2 Mini, the model made itself 1.495× faster by rewriting its own inference engine. We think this is where things are heading, agents that keep improving the systems beneath them, and through them, themselves.

Beyond performance, these findings point to cross-run coordination as a way to keep agents exploring on open-ended tasks.