← Wednesday, October 14, 2026AgentsPaper

ReTerm trains terminal agents to recover from their own failures

huggingface.co by Wei Xie et al. Editor score 8/10

ReTerm-GRPO forks from failed task states to train independent recovery attempts; ReTerm-9B reaches 34.8% Pass@1 on Terminal-Bench 2.0, 14.6 points above its base model. The released code, data, and model make this recovery-training recipe directly testable.

What
ReTerm is a terminal agent trained to recover from failures in long-running coding tasks.
Method
ReTerm-10K supplies recovery demonstrations for supervised fine-tuning; ReTerm-GRPO generates independent attempts from the agent’s failure states.
Why it matters
Learning whether recovery attempts complete tasks aims to help engineers build agents that can self-correct during long-running terminal work.
reaches forks attempts learns from success agent failure states self-recoveryattempts
ReTerm-GRPO uses attempts from agent failure states to learn recovery. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.