TL;DR
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
A preprint reports that Terminal-RSI-27B raised its score on Terminal-Bench 4.0 from 0.00% to 19.84% through five training stages. Researchers selected the tasks, rewards and checkpoints, and the system still struggled with long tasks and sometimes passed tests without building what was requested.
A 27-billion-parameter terminal agent improved from 0.00% to 19.84% on Terminal-Bench 4.0 after five training stages, according to a preprint from Tencent’s Hy Frontier lab and four universities. The results describe a human-designed training pipeline that learns from verified successes and reinforcement learning, rather than an agent that independently rewrites and retrains itself without people.
The paper, Terminal-RSI, uses an open model identified as Qwen3.8-27B and a pool of 3,000 tasks. Its sequence has five stages: a base model, two rounds of Recursive Self-Rewrite (RSR), and two rounds of Recursive Policy-Refine (RPR), alternating between the methods. The final checkpoint is named Terminal-RSI-27B. Researchers chose the stages, rewards and learning rates, ran the training, and decided which checkpoints to keep.
In RSR, the model attempts a task and only attempts accepted by a verifier are retained. A successful attempt is rewritten as a plan, screened for leaked answers, and run again from scratch; runs that pass again become training examples for supervised fine-tuning. In RPR, the model receives scores for its attempts and is trained to make higher-scoring behavior more likely. The researchers also used a critic network to estimate progress, carrying it between stages and recalibrating it before each refinement phase.
The paper reports an equal-weight average of 50.58% across four Terminal-Bench suites for the final model, compared with 20.68% for the base model. Scores were averages of three evaluation runs. On Terminal-Bench 3.0, the score rose from 0.00% to 16.95%; on 2.1, from 51.70% to 86.52%; and on Terminal-Bench Hard, from 31.00% to 79.00%. On a long-horizon benchmark, the final model completed an average of 5 of 46 tasks, up from zero. The paper also reports a 6.00% score on SWR100, a set of tasks kept out of training, compared with 3.00% for the base model; that result had been flat since the third stage.
Did Terminal-RSI improve itself? What the study shows
A human-designed training pipeline raised a terminal agent’s benchmark score. Researchers selected the stages, rewards and checkpoints, so the result does not demonstrate improvement without people.
How the training worked
Verified successes became training examples before reinforcement learning refined the agent’s behavior.
The model worked through terminal tasks set by the researchers.
A protected verifier checked the machine’s final state; only accepted attempts were retained.
Researchers used successful examples and reinforcement learning across five planned stages.
Where scores improved
The paper reports gains across several Terminal-Bench suites.
| Benchmark | Base model | Final model |
|---|---|---|
| Terminal-Bench 4.0 | 0.00% | 19.84% |
| Terminal-Bench 3.0 | 0.00% | 16.95% |
| Terminal-Bench 2.1 | 51.70% | 86.52% |
| Terminal-Bench Hard | 31.00% | 79.00% |
What the result does—and does not—show
- Scores rose on the reported benchmark suites.
- The final model completed an average of 5 long-horizon tasks, up from zero.
- Researchers chose training stages, rewards, learning rates and checkpoints.
- The model sometimes passed tests without building what the task requested.
- Independent replication and peer review are not established by the supplied material.
Why Verified Completion Changed the Results
The paper’s most practical contribution may be its approach to rewarding task completion. A terminal agent works through a command line, running programs and changing files. It can stop before finishing, or report success prematurely. The researchers say 748 failed attempts in one set of recorded runs declared the task complete within ten turns.
Terminal-RSI defines success through the complete protected verifier: hidden checks examine the machine’s final state after the agent stops. The paper says this is required “rather than an agent declaration or a subset of passed checks.” That distinction matters for teams evaluating coding agents: a confident completion message is not evidence that the requested change worked.
The researchers also report that, under an earlier reward design, failed attempts received 50.09% of all reward. Their revised reward placed every failure below every success. In a control experiment, reinforcement learning directly from the base model stayed at 0.00% on Terminal-Bench 4.0 at the recorded checkpoints. When the self-rewrite stage came first, the following reinforcement-learning stage reached 16.67%. This suggests the order and reward design contributed to the reported results, though the experiment does not establish that the approach will transfer to other settings.
Products Worth Considering

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

Logitech MX Keys S Combo Wireless Keyboard and Mouse, Graphite
As an affiliate, we earn on qualifying purchases.
How the Five Training Stages Worked
“Recursive self-improvement” can refer to systems that change their own design or training process. In this paper, the term describes a narrower loop: the model generates attempts, researchers retain verifier-approved examples, and those examples feed later training. People set up and supervise that process. The reported work is therefore evidence about a particular training pipeline, rather than a demonstration of unsupervised self-improvement.
Terminal benchmarks pose tasks such as repairing a broken build or fixing a data pipeline, with the agent acting through a shell. The verifier checks the result against tests. This setup is intended to distinguish a working solution from a response that merely says the task is done. The paper’s reported scores are benchmark measurements, not evidence that the agent can reliably complete arbitrary software work.
The findings are from version 3 of a 26-page preprint, listed as posted October 30, 2026. A preprint is a research report that has not necessarily been peer reviewed. The results described here are those reported by the paper; independent replication and review are not established by the supplied material.
Limits in Long Tasks and Evaluation
The long-horizon result remains limited: the final model completed an average of 5 of 46 tasks, and the supplied account does not establish how well it performs on a broader range of real-world work. The paper also describes a failure in which the final model passed its tests without building what the task requested. That case shows that passing checks can still fall short of the intended outcome.
The available source material does not establish independent replication, peer review, or performance outside the reported benchmarks. It also does not provide enough detail here to assess the cost of training or whether the gains persist under different task distributions. The 6.00% SWR100 score is a reported result on tasks kept out of training, but the comparison basis and benchmark design should be consulted in the paper before drawing broader conclusions.
What Further Checks Could Show
The next useful evidence would include independent evaluations of the benchmark results and tests on tasks designed to check whether an agent built the requested outcome, not only whether selected tests passed. Further reporting could also clarify training costs, replication results and performance across different kinds of terminal work. The supplied material does not state a date for peer review or a follow-up release, so those milestones remain unknown.
Key Questions
Did Terminal-RSI improve itself without human involvement?
No. The paper describes a five-stage pipeline whose stages, rewards, learning rates and retained checkpoints were selected by people. The model contributed training examples from its own verifier-approved attempts.
How much did its Terminal-Bench 4.0 score change?
The paper reports a rise from 0.00% to 19.84%. Each score is the average of three evaluation runs.
What was the main training idea?
Researchers trained the model first on plans derived from its own verified successes, then used reinforcement learning. They changed rewards so that failures scored below successes.
Can the agent reliably complete long tasks?
The reported long-horizon result was an average of 5 completed tasks out of 46, up from zero for the base model. The paper also describes a case where the model passed tests without building what the task asked for.
Has the result been independently confirmed?
The supplied material identifies the work as a preprint and does not establish independent replication or peer review. The reported scores should be understood as the paper’s own benchmark results.
Source: Thorsten Meyer AI
