Tencent's Terminal-RSI lifts a 27B model from 51.7% to 86.5% on terminal agent tasks

GabGarrett · x · 2026-10-19

Tencent Hunan's open-source Terminal-RSI paper shows recursive self-improvement (RSI) can steadily boost terminal agents built on Qwen3.8-27B.

Method: Alternates Recursive Self-Rewrite (RSR) of verified trajectories with critic-inheriting Recursive Policy-Refine (RPR) across five stages (Base→RSR-1→RPR-1→RSR-2→RPR-2), where each stage's model generates training data for the next. Supporting techniques include TB-GAE turn-boundary credit assignment, Family Dense Reward, and Success-Prioritized Reward to convert partial progress into strict task completion.

Results:

The takeaway: a 27B model with RSI can match or beat larger models on terminal agent benchmarks.

Original post →

More from coding & agent

coding & agent channel →