---
title: "Agent-Reflex taught an 8B model to recover from tool errors, preprint says"
canonical: "https://aiaulis.com/en/juttu/agent-reflex-taught-an-8b-model-to-recover-from-tool-errors-preprint-cfdcb02a4dcc/"
language: "en"
published: "2026-10-15T04:10:00.320176+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# Agent-Reflex taught an 8B model to recover from tool errors, preprint says

**AI GENERATED** · Written by AI

arXiv · Source published: 13 October 2026 at 11:36 (UTC+03:00)

Agent-Reflex, from researchers at Renmin University, trains the Qwen3-8B model to act correctly when a tool returns an error or a user corrects the agent. In the authors' own tests, the model beat comparison models of the same size but fell behind large commercial models.

Researchers from Renmin University and the National University of Singapore present Agent-Reflex, a training method, in an arXiv preprint. The method teaches a language-model-based agent to notice when a tool returns an error or a user corrects it, and then to change what it does. The results are the authors' own measurements.

The authors say agents are usually trained in environments where tools always respond flawlessly, even though real MCP services return timeouts and server errors. MCP is a protocol that agents use to call external tools. The authors ran agents on nine public benchmarks and sorted the 24,510 errors that tools returned into eight groups. The most common was a server or gateway that could not be reached (33.6 per cent). The groups differ in whether the same call is worth retrying. For a permission error, for example, simply trying again does not help.

The method has three stages. First, the authors built 557 database-based training environments and injected artificial tool errors into them. Several different models worked on the same tasks, and an analyser model compared the successful runs with the failed ones. These comparisons produced 1,170 recovery guidelines. Each guideline describes how to recognise the error, what kind of error it is, and whether the agent should retry, switch service, ask the user or abandon the task.

In the second stage, the authors fine-tuned Qwen3-8B on 54,000 runs. The data included the model's own successful runs, as well as examples in which the agent notices its own mistake, fixes it with the help of a guideline, or responds to a correction from a simulated user. The simulated user also gave deliberately wrong advice so that the model would not learn to obey blindly.

In the third stage, the model trained with reinforcement learning, receiving a reward for completing a task. A quarter of the training runs took place in an environment with injected disruptions. The authors also re-scored the model's own choices with the environment's recovery guideline visible to the model. The difference in scores showed which choices the guideline would have favoured. The finished model works without the guideline library.

| Model | Combined score, five tool benchmarks | AgentNoiseBench, overall score |
| --- | --- | --- |
| Agent-Reflex-8B | 58.6 | 29.1 |
| Agent-World-8B | 53.6 | – |
| EnvScaler-8B | 50.9 | 18.2 |
| NoisyAgent-8B | 43.4 | 25.9 |
| Qwen3-8B | 40.2 | 12.3 |
| GPT-5.2 | 64.4 | 55.8 |
| Claude-4.5-Sonnet | 72.6 | 51.0 |

The figures come from Tables 1 and 2 of the preprint. Figures the authors measured themselves are averages of three runs. The columns represent different metrics.

The table shows that Agent-Reflex beat the comparison models of the same size both on standard tool benchmarks and on AgentNoiseBench, which measures disruptions. The large commercial models still did better. The comparison is not entirely consistent: most comparison models' figures are taken from their own publications, and the Agent-Reflex authors re-measured some of the figures themselves. NoisyAgent's AgentNoiseBench figure is quoted from its own publication, which does not break results down into tool and user disruptions. The authors re-measured its combined tool benchmark score themselves.

The authors also compared the model with the Reflexion and ExpeL methods, in which the agent generates assessments for itself or retrieves earlier experience only at run time. On the VitaBench benchmark, for example, Agent-Reflex scored 17.5 and Reflexion-8B scored 6.8. The authors suggest that training on recovery runs shown to work may help the model turn its reasoning into corrective actions more reliably.

When the authors removed one part of the training at a time, the results got worse every time. The biggest drop came when training on noticing its own mistakes was removed. The authors say they will release the model, training data, guideline library and code on GitHub.

## What this is based on

1. [Agent-Reflex: Teaching Language Agents to Act Reflectively](https://arxiv.org/abs/2610.17953)
   Dong, Guanting, Yang, Xinyu, Jin, Jiajie, Hu, Yuyang, Song, Xiaoshuai, Chen, Yifei, Li, Xiaoxi, Tan, Jiejun, Zhu, Yutao, Chua, Tat-Seng, Wen, Ji-Rong, Dou, Zhicheng · Publisher: arxiv.org · published 13 October 2026 at 11:36 (UTC+03:00) · Paper version published: 13 October 2026 at 11:36 (UTC+03:00) · retrieved 15 October 2026 at 06:09 (UTC+03:00) · discovery channel: web

Canonical: <https://aiaulis.com/en/juttu/agent-reflex-taught-an-8b-model-to-recover-from-tool-errors-preprint-cfdcb02a4dcc/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
