🛰️ Daily AI Frontier
‹ back to 2026-10-17

Terminal-RSI: Recursive Self-Improving Terminal Agents via Recursive Self-Rewrite and Policy-Refine

arXiv cs.AI LLM Agents Junyao Yang, Zongxia Li, Yucheng Shi, Zhongzhi Li, Ruhan Wang, Ruiwen Zhou, Haitao Mi, Shuicheng Yan, Leowei Liang 2026-10-15

TL;DR - Terminal-RSI is a training framework that recursively rewrites verified agent trajectories and refines policies using inherited critics. It improves terminal-agent task completion by converting verifier feedback and partial progress into stronger behaviors across training stages.

  • Alternates Recursive Self-Rewrite (RSR) with critic-inheriting Recursive Policy-Refine (RPR).
  • Introduces TB-GAE for token-specific baselines across interaction turns, plus dense and success-prioritized reward schemes.
  • The resulting 27B model scores 19.84% on Terminal-Bench 4.0, 86.52% on 2.1, 16.95% on 3.0, and 79.00% on Terminal-Bench Hard.
  • On additional benchmarks, LHTB strict completions rise from 0/46 to 5/46, while SWR100 success doubles from 3% to 6%.

view merged work →