What Happened When Terminal-RSI Tried AI Self-Improvement?
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: What Happened When Terminal-RSI Tried AI Self-Improvement? on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

TL;DR

A preprint on Terminal-RSI reports that a 27-billion-parameter command-line agent improved on several benchmarks after five training stages using verified successes and reinforcement learning. The process was designed and managed by researchers; it was not an AI autonomously rewriting and retraining itself. The paper also reports modest results on long tasks and documents a gap between passing tests and building what a task requested.

A 26-page preprint about Terminal-RSI reports that a 27-billion-parameter command-line agent improved its scores across several software-task benchmarks after five training stages. Despite online descriptions of an AI improving itself without human involvement, the paper describes a researcher-designed training pipeline: people selected the stages, rewards, learning rates and checkpoints, while the agent learned from verifier-approved attempts and reinforcement learning.

The paper starts with Qwen3.8-27B, an open model, and names its final checkpoint Terminal-RSI-27B. The stages were Base, Recursive Self-Rewrite (RSR-1), Recursive Policy-Refine (RPR-1), RSR-2 and RPR-2. Training used a pool of 3,000 tasks. In the RSR stages, researchers retained attempts accepted by a task verifier, turned successful attempts into plans, screened those plans for leaked answers and ran them again. Passing examples were then used for supervised fine-tuning. In the RPR stages, the agent tried tasks and received rewards that guided reinforcement learning.

On Terminal-Bench 4.0, the reported score rose from 0.00% to 19.84%. The paper’s equal-weight average across four Terminal-Bench suites increased from 20.68% at the base to 50.58% at the final stage. Scores are Mean@3, the arithmetic mean of three evaluation runs. The authors also report a control in which reinforcement learning started directly from the base model: it remained at 0.00% on Terminal-Bench 4.0 at recorded checkpoints, while reinforcement learning after RSR-1 reached 16.67%.

Results varied by test. On the long-horizon benchmark, the final model completed an average of 5 of 46 tasks, compared with none at the base. On SWR100, a scientific-workflow test, the score rose from 3% to 6% but did not increase after the third stage. Terminal-Bench 2.1 also showed no gain in the final stage. The source report says the preprint’s reward analysis found that, under an earlier reward design, failed attempts still collected 50.09% of all reward; the revised reward kept every failure below every success.

At a glance
reportWhen: Preprint described November 8, 2026; th…
The developmentA preprint reports benchmark gains from Terminal-RSI, a terminal agent trained in five human-directed stages using verified task successes and reinforcement learning.
Thorsten Meyer AI
Terminal-RSI-27B

Infographic 01 · The results, stage by stage

Real gains on the benchmarks, and a small long-horizon result

A 27 billion parameter open model, trained in five stages that alternate learning from its own verified successes with reinforcement learning.

Terminal-Bench 4.0 · final model0.00% → 19.84%

From solving nothing to about one task in five, over five training stages. Each score is the mean of three evaluation runs (Mean@3).

Base → final, per benchmark

Bar = final score; base in the label

  • Terminal-Bench 4.0base 0.00%19.84%
  • Terminal-Bench 3.0base 0.00%16.95%
  • Terminal-Bench 2.1base 51.70%86.52%
  • Terminal-Bench Hardbase 31.00%79.00%
50.58%the paper's own equal-weight average of the four suites (base 20.68%)
5/46long-horizon tasks completed, on average over three runs (base 0/46)
6.00%SWR100, tasks kept out of training (base 3.00%), flat since the third stage
5stages: Base, RSR-1, RPR-1, RSR-2, RPR-2

Source: Yang et al., Terminal-RSI, arXiv 2610.22192 v3 (30 Oct 2026), Table 2 and Figure 5. All values as printed in the paper.
Powered by Thorsten Meyer AI

Why Verified Completion Matters

The result bears on a practical problem for command-line agents: a system can make progress, report success and still leave the requested work unfinished. Terminal-RSI’s training approach attempts to make verified completion count more than partial activity. It uses a protected verifier to judge the final machine state, rather than relying on the agent’s own declaration or a subset of checks.

That distinction matters to developers considering agents for software maintenance, data pipelines or other multi-step work. A higher benchmark score is evidence of improved performance on the evaluated tasks, but it does not establish that an agent can reliably handle all real-world jobs. The paper’s long-horizon results—five completed tasks out of 46 on average—show how much remains unresolved when tasks require extended sequences of actions. Its reported case of a model passing tests without building what the task requested also illustrates that a verifier can be incomplete if it checks the wrong outcome.

The work is also relevant to claims about recursive self-improvement. The reported gains came from a structured training loop that incorporated the model’s successes, but the paper does not describe an independent system choosing and carrying out its own research program. Human decisions remained part of the process, so the findings support a narrower claim about iterative training, not unsupervised self-improvement.

Products Worth Considering

Logitech MX Mechanical Wireless Illuminated Keyboard, Tactile Quiet, Graphite

Logitech MX Mechanical Wireless Illuminated Keyboard, Tactile Quiet, Graphite

Apple MacBook Air 13.6-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Sky Blue

Apple MacBook Air 13.6-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Sky Blue

As an affiliate, we earn on qualifying purchases.

How the Five Training Stages Worked

A terminal agent operates through a command-line interface: it reads files, runs commands, inspects results and tries to complete tasks such as repairing a build or changing a data pipeline. According to the source report, Terminal-RSI’s authors documented a recurring failure: in one set of recorded attempts, 748 failed runs declared the task complete within ten turns. The paper’s success definition instead requires the complete protected verifier to pass.

RSR and RPR address different parts of training. In Recursive Self-Rewrite, the model’s successful attempts are converted into plans and tested again before they can become training examples. In Recursive Policy-Refine, the model receives rewards as it attempts tasks; a separate critic estimates progress. The report says researchers carried that critic between stages and recalibrated it before each refinement phase. The sequence alternated the two methods, with people choosing the training settings and deciding which checkpoints to retain.

The authors’ reward change targets a trade-off in benchmark training. Partial-credit rewards can help when an agent rarely completes a task, but they can also pay for isolated checks even when the task fails. The revised scheme was designed so every failure earned less than every success. That makes the reported result about both model training and reward design; the preprint does not establish that the same gains will transfer to other agents or task sets.

“The new reward keeps every failure below every success.”

— ThorstenMeyerAI.com’s account of the preprint

Limits of the Reported Evidence

The source material describes a preprint, not a peer-reviewed result, and does not provide independent replication. The reported scores concern specific benchmarks and training choices; they do not establish how the agent would perform across a broader range of software work or in deployment. The equal-weight average covers four Terminal-Bench suites only, excluding the long-horizon benchmark and SWR100, and gives each suite the same weight regardless of its number of tasks.

It is also unclear from the supplied material how reliably the results would reproduce with different models, reward settings or task pools. Long-horizon performance remains limited, and the paper’s own example of passing tests without satisfying the requested task raises questions about verifier coverage. The experiments show gains on the reported measures, but do not establish autonomous, human-free self-improvement or general task completion ability.

Replication and Broader Testing

The immediate next step is independent scrutiny of the preprint’s methods, benchmark setup and reported scores. Replication would help establish whether the gains persist with the same evaluation protocol and whether the reward design is responsible for the difference seen when reinforcement learning follows the initial self-rewrite stage.

Further evaluations would also need to test more tasks and longer sequences, while checking whether an agent has actually fulfilled a request rather than merely passed available tests. The source material does not announce a publication decision, new experiment or deployment schedule. Until those details are available, the clearest conclusion remains limited to the reported experiments: iterative, human-managed training improved benchmark performance, while longer tasks and reliable verification remain open challenges.

Key Questions

Did Terminal-RSI improve itself without human involvement?

No. The preprint describes five human-directed training stages. Researchers set the stages and rewards, managed learning settings and selected checkpoints; the model contributed verified successes as training data.

How much did the agent improve on Terminal-Bench 4.0?

The paper reports a rise from 0.00% at the base to 19.84% for the final model. Each score is the mean of three evaluation runs.

What does the long-horizon result show?

The final model completed an average of 5 of 46 tasks, up from zero at the base. That is a reported gain, but the number also shows that success on these longer tasks remained limited.

Why did the researchers change the reward?

The source report says the earlier reward allowed failed attempts to collect substantial credit for partial progress. The revised design made every failure worth less than every success, aiming to reward verified completion rather than activity alone.

Are the findings independently confirmed?

The supplied source describes the work as a preprint and gives no independent replication. Its results should be read as findings reported by the paper, not as independently confirmed performance across other systems or tasks.

Source: ThorstenMeyerAI.com

You May Also Like

OpenAI’s Google TPU Plans Are Reported, Not Confirmed. Here’s The Nvidia Angle

Reports say OpenAI plans to buy Google TPUs, but neither company has confirmed a deal. The move could add leverage in chip supply talks.

The Ultimate Guide To Building Granite 4.2 LLMs For AI Enthusiasts

IBM releases Granite 4.2, a family of dense, reasoning-focused language models in 3B, 8B, and 30B sizes, supporting tool calls and reinforcement learning.

Kugelblitz – Mac-Native Google Earth Alternative

Metaebene Applications presents Kugelblitz, a Mac mapping app with a 3D globe, open geodata, terrain and an atlas view. Availability and pricing details are not provided.

The Reality Of Self-Engineered Agent Harnesses In LLMs: ByteDance Seed Explains

ByteDance Seed’s HarnessDev project tests if large language models can autonomously engineer agent scaffolding; results show limited generalization, raising questions about automation feasibility.