Recursive self-improvement

Dream-RSI and Harness² in brief. 2026-10-20.

Recursive self-improvement: a system improves the process by which it improves, in a loop that can run iteratively and continuously; it is one road to automated AI R&D. The idea goes back to I. J. Good [3]. Dream-RSI [1] and Harness² [2] do this for AI agents without training. The model's weights stay fixed; only the code and text around the model change, as in STOP [4] and the Darwin Gödel Machine [5].

New to both? How it works explains them step by step, in pictures.

Dream-RSI
Learns how an agent spends its search budget. Google, Google DeepMind, University of Maryland, University of Virginia; September 2026.
Harness²
Learns the agent's harness: prompt, rules, memory, tools and skills. Google Cloud AI Research, Northwestern University; October 2026.

Dream-RSI: new strategies, tested on past searches

An agent that searches for better code, such as a faster GPU kernel, runs hundreds or thousands of propose-and-test cycles. Its exploration policy decides which attempts to build on, how many to run in parallel and when to stop. Testing a new policy for real means running the whole search again.

The key idea: a finished search is a tree of attempts whose scores are all stored. Another policy would walk the same tree differently: other branches, another order, an earlier stop. Its result can be read off the stored scores, without running the agent or the evaluator again. The agent "dreams" in its own history, much as a reinforcement-learning agent can learn inside a world model [6].

Fig. 1. The loop. (1) The current policy explores online and stores its discovery tree. (2) The tree becomes a replay simulator. (3) The agent writes new policy versions, tests them in the simulator pool and deploys the best one. Source: [1], Fig. 1, from github.com/zhengkid/Dream-RSI.

Each round, an agent rewrites the policy code, every version is replayed on all stored trees, and the best version, which may be the old one, runs the next search. Only the policy changes; the model, the coding agent, the evaluator and the task stay fixed. The baseline, Recursive Fixed Exploration, runs the same rounds and keeps the starting policy.

Fig. 2. One recorded tree scores many policies. Each alternative policy replays a different part of it and gets a score for quality, cost and latency. Source: [1], Fig. 2, from dream-rsi.com.

Results

Fig. 3. GPU kernels: speed of the best kernel so far (1/ms, higher is better) against the number of generations. Blue: Dream-RSI; grey: the fixed policy. Source: [1], Fig. 3, from dream-rsi.com.

Harness²: a harness that improves harnesses

A harness is everything around a model that lets it act as an agent. Harness² edits eight parts of it: system prompt, guardrails, memory, tool guidance, subagents, skills, scripts and plugins. It does so on tasks the harness was not built for, where no answer key exists to check an edit against.

Fig. 4. The eight components around the frozen model, grouped by their role at run time. Source: [2], Fig. 2, from github.com/google-research/harness2 (Apache 2.0).

Two loops run on top of each other, with the model's weights fixed:

Fig. 5. The pipeline. Task level (blue): run, propose, probe, compose. Harnessing level (purple): reflect, then update the improvement harness for the next task. Source: [2], Fig. 3, from github.com/google-research/harness2 (Apache 2.0).

Results

Fig. 6. Left: WorkBuddy-Bench by domain, Gemini 3.5 Flash with the OpenCode harness; base harness, Meta-Harness and Harness² (parallel, k = 5). Right: the code domain as the budget k grows. Source: [2], Fig. 1, CC BY 4.0.

Side by side

Dream-RSI Harness²
Changes exploration policy (code) harness (8 components)
Feedback stored scores, replayed contrast between probe runs
Needs a scorer yes, a fixed evaluator no
Carries over replay worlds, across rounds improvement harness, across tasks
Stays fixed model, agent, evaluator, task model weights
Tested on kernels, Lasso, math, harness office, web, code, jobs, law
Code google-research/dream-rsi google-research/harness2

In σ‑Bench


References

  1. [1] T. Zheng et al. Dream-RSI: Recursive Self-Improvement through Evolving Worlds. arXiv:2609.14858, 2026. Code: github.com/google-research/dream-rsi. Project: github.com/zhengkid/Dream-RSI, dream-rsi.com.
  2. [2] R. Xu et al. Harness²: Recursive Agent Harnessing for an Open World. arXiv:2610.14224, 2026. Code: github.com/google-research/harness2. Project: harness2.github.io.
  3. [3] I. J. Good. Speculations concerning the first ultraintelligent machine. Advances in Computers 6, 1965.
  4. [4] E. Zelikman, E. Lorch, L. Mackey, A. T. Kalai. Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generation. COLM, 2024. arXiv:2310.02304 .
  5. [5] J. Zhang, S. Hu, C. Lu, R. Lange, J. Clune. Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents. ICLR, 2026. arXiv:2505.22954.
  6. [6] D. Ha, J. Schmidhuber. World Models. arXiv:1803.10122 , 2018.

Figures by the papers' authors, quoted with their sources; resized, otherwise unchanged.

Not affiliated with the authors, LSEG or any model provider.

Static HTML. No cookies, no tracking. Updated November 2026.