Salvato in:
Dettagli Bibliografici
Autori principali: Ren, Jincheng, Wu, Siwei, Li, Yizhi, Zhu, Kang, Xu, Shu, Feng, Boyu, Yuan, Ruibin, Zhang, Wei, Batista-Navarro, Riza, Yang, Jian, Lin, Chenghua
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:https://arxiv.org/abs/2604.19572
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911687291961344
author Ren, Jincheng
Wu, Siwei
Li, Yizhi
Zhu, Kang
Xu, Shu
Feng, Boyu
Yuan, Ruibin
Zhang, Wei
Batista-Navarro, Riza
Yang, Jian
Lin, Chenghua
author_facet Ren, Jincheng
Wu, Siwei
Li, Yizhi
Zhu, Kang
Xu, Shu
Feng, Boyu
Yuan, Ruibin
Zhang, Wei
Batista-Navarro, Riza
Yang, Jian
Lin, Chenghua
contents As terminal agents scale to long-horizon, multi-turn workflows, a key bottleneck is not merely limited context length, but the accumulation of noisy terminal observations in the interaction history. Retaining raw observations preserves useful environment feedback, but also leads to context saturation and high token cost; conversely, naive compression may discard task-critical signals needed for subsequent actions. Because terminal environments are highly heterogeneous across repositories, commands, and execution states, heuristic-based or fixed-prompt compression methods are difficult to generalize. We propose TACO, a plug-and-play, training-free, self-evolving Terminal Agent Compression framework for existing terminal agents. TACO automatically discovers, refines, and reuses structured compression rules from interaction trajectories, enabling workflow-adaptive filtering of low-value terminal outputs while preserving task-relevant observations. Experiments on TerminalBench (TB 1.0 and TB 2.0) and four additional terminal-related benchmarks, including SWE-Bench Lite, CompileBench, DevEval, and CRUST-Bench, show that TACO consistently improves task performance and token efficiency across agent scaffolds and backbone models. On TerminalBench, TACO yields 1%-4% accuracy gains across strong agentic models and improves accuracy by around 2%-3% under the same token budget. On additional terminal-related benchmarks, it reduces total token consumption while maintaining or improving task success rates. These results suggest that self-evolving, workflow-adaptive observation compression is an effective path toward more reliable and efficient long-horizon terminal agents. The code is publicly available at https://github.com/multimodal-art-projection/TACO.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19572
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Self-Evolving Framework for Efficient Terminal Agents via Observational Context Compression
Ren, Jincheng
Wu, Siwei
Li, Yizhi
Zhu, Kang
Xu, Shu
Feng, Boyu
Yuan, Ruibin
Zhang, Wei
Batista-Navarro, Riza
Yang, Jian
Lin, Chenghua
Computation and Language
As terminal agents scale to long-horizon, multi-turn workflows, a key bottleneck is not merely limited context length, but the accumulation of noisy terminal observations in the interaction history. Retaining raw observations preserves useful environment feedback, but also leads to context saturation and high token cost; conversely, naive compression may discard task-critical signals needed for subsequent actions. Because terminal environments are highly heterogeneous across repositories, commands, and execution states, heuristic-based or fixed-prompt compression methods are difficult to generalize. We propose TACO, a plug-and-play, training-free, self-evolving Terminal Agent Compression framework for existing terminal agents. TACO automatically discovers, refines, and reuses structured compression rules from interaction trajectories, enabling workflow-adaptive filtering of low-value terminal outputs while preserving task-relevant observations. Experiments on TerminalBench (TB 1.0 and TB 2.0) and four additional terminal-related benchmarks, including SWE-Bench Lite, CompileBench, DevEval, and CRUST-Bench, show that TACO consistently improves task performance and token efficiency across agent scaffolds and backbone models. On TerminalBench, TACO yields 1%-4% accuracy gains across strong agentic models and improves accuracy by around 2%-3% under the same token budget. On additional terminal-related benchmarks, it reduces total token consumption while maintaining or improving task success rates. These results suggest that self-evolving, workflow-adaptive observation compression is an effective path toward more reliable and efficient long-horizon terminal agents. The code is publicly available at https://github.com/multimodal-art-projection/TACO.
title A Self-Evolving Framework for Efficient Terminal Agents via Observational Context Compression
topic Computation and Language
url https://arxiv.org/abs/2604.19572