header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

ECHO Debut: Allowing CLI Agent to Learn Error Anticipation While Typing Commands

According to Project Insight Beating's monitoring, the command-line agent training has found a more data-efficient path. A Microsoft research team has introduced ECHO, enabling the CLI agent in reinforcement learning to learn not only "what command to type next" but also "what the terminal will output after executing that command".

In the past, when training such agents, terminal outputs like errors, logs, file contents, and test results would typically only enter the context to help the model decide the next action. However, the training loss mainly focused on the commands generated by the agent itself, and the terminal output content did not directly participate in the training.

Here is where ECHO makes a change: during the same training process, it additionally requires the model to predict the terminal output. For example, if the agent fails a test run, traditional training would only know that this trajectory did not pass; ECHO will also let the model learn about the specific error returned during this failure, what clues were revealed in the files, and what consequences the command led to.

This is equivalent to extracting training value even from failure trajectories. Experimental results from the paper show that on TerminalBench-2.0, the pass@1 of Qwen3-8B increased from 2.70% to 5.17%, and Qwen3-14B increased from 5.17% to 10.79%, almost doubling compared to GRPO-only training.

In terms of training efficiency, ECHO achieved up to about 2.3 times fewer training steps in some 8B experiments compared to equivalent internal scores. It also reduced the reliance on expert demonstration data: based on Qwen3-8B, the ECHO agent, in internal evaluations, matched the performance of the OpenThoughts-Agent fine-tuned with about 15,000 expert trajectories.

However, ECHO is not a universal replacement for reward signals. Self-improvement without a validator is only effective on tasks with clear feedback, such as a 10.0 percentage point improvement in PyTerm and a 5.2 percentage point improvement in ITD; it actually decreased by 3.9 percentage points in the more complex TBLite. What it truly proves is that errors, logs, and test outputs from the terminal are not just context but can also directly become training data for the agent.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish