When Successful Strategies Fail: Adaptation to Environmental Novelty in Terminal Agents
cs.AI
Submitted: 2026-09-27
Updated: 2026-09-27
Comments: 53 pages, including references and appendices; 10-page main text with 5 figures
License: http://creativecommons.org/licenses/by/4.0/
The gist: LLM agents increasingly solve long-horizon tasks by autonomously interacting with their environment.
Terminology
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.
Sources
- Learning to Act under Noise: Enhancing Agent Robustness via Noisy Environments
- Improved Regularization of Convolutional Neural Networks with Cutout
- Agents Explore but Agents Ignore: LLMs Lack Environmental Curiosity
- Endless Terminals: Scaling RL Environments for Terminal Agents
- Can LLMs Perceive Time? An Empirical Investigation
- SEAL: Synergistic Co-Evolution of Agents and Learning Environments
- Tmax: A simple recipe for terminal agents
- Agent Meltdowns: The Road to Hell Is Paved with Helpful Agents
- RMA: Rapid Motor Adaptation for Legged Robots
- RepoMirage: Probing Repository Context Reasoning in Code Agents with Perturbations
- PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystems
- Paying Less Generalization Tax: A Cross-Domain Generalization Study of RL Training for LLM Agents
- SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- ECHO: Terminal Agents Learn World Models for Free
- Beyond Function Calling: Benchmarking Tool-Using Agents under Tool-Environment Unreliability
- OpenAgentSafety: A Comprehensive Framework for Evaluating Real-World AI Agent Safety
- PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases
- OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems