When Successful Strategies Fail: Adaptation to Environmental Novelty in Terminal Agents
Janvijay Singh, Vaishnavi Shrivastava, Dilek Hakkani-Tur, Ece Kamar, Asli Celikyilmaz
Abstract
LLM agents increasingly solve long-horizon tasks by autonomously interacting with their environment. In doing so, their strategies rely on assumptions about that environment: which resources and tools exist, where they are located, and how they behave. When these assumptions no longer hold, reliable agents must detect the change and adapt while pursuing the same goal. We study this adaptation capability through environmental novelty: a change that keeps the task objective fixed while invalidating an assumption underlying an otherwise successful trajectory. We introduce AGNI, an automated pipeline that extracts trajectory-relevant assumptions, injects targeted environmental changes, and validates that the resulting novel tasks remain solvable. Across three terminal benchmarks, AGNI produces diverse novelties spanning resources, interfaces, constraints, and execution semantics. Evaluating multiple LLM agents reveals a substantial adaptation gap between base and novel tasks. Trajectory analysis suggests that agents often encounter evidence of the change but fail to diagnose its cause and revise their strategy. Finally, post-training for environmental novelty improves adaptation to held-out novel tasks while also improving performance on base tasks. Our results highlight a gap between task competence and adaptive capability and motivate environmental variation as a core dimension of agent training and evaluation.
Create a lesson
Metadata
- Comments
- 53 pages, including references and appendices; 10-page main text with 5 figures
Related papers
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
PEARL: Adaptive Prefill-Decode Execution with Elasticity for Agentic Reinforcement Learning
Shared title terminologycs.AIJiaan Zhu, Wei Gao, Youhui Bai et al.
Environmental requirements for the use of social information by artificial life agents using evolved plastic artificial neural networks
Shared title terminologycs.AIHugh Charterton, James M. Borg, Aniko Ekart
Same Winners, Different Success Rates: Evaluating How LLM Agents Recover from Failures
Shared title terminologycs.AIDong Xu, Zhangfan Yang, Jiantao Wu et al.
Same Tasks, Different Apps: Why Mobile GUI Agents Fail to Generalize?
Shared title terminologycs.AITien Tran, Namho Koh, Daiki E. Matsunaga et al.
From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents
Shared title terminologycs.AIMingxi Zou, Langzhang Liang, Zhuo Wang et al.