mlsanityData to 24 Nov 2026

EnvOpt: Automated Optimization for Agent Environments

arXiv 2611.07372 ↗Submitted 5 Nov 2026cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks

Abstract (arXiv)

An LLM agent's cost and success depend on its model, its harness, and its environment. In addition to the widely studied directions of parameter tuning and harness optimization, we propose the third direction: optimization over stationary environments. Agents are often deployed in rich environments shared by many tasks, such as a company's Slack workspace or a complex collection of data sources, documents or tickets. We call these environments stationary environments. We introduce EnvOpt, a method for automated end-to-end optimization of stationary environments for any given model and harness, using real or synthetic tasks without needing any graders or reference answers. On AutomationBench, EnvOpt reduces the cost of Claude Haiku 4.5 by 72.7% and raises its pass rate by 14.34%. The same environment transfers to Opus 5, cutting its cost by 68.1% with a 1.34% gain. Added on top of Meta-Harness's optimized harness for Haiku 4.5, it lowers cost by a further 83.4% and adds 11.17% accuracy over Meta-Harness alone. Across 5 benchmarks, EnvOpt significantly reduces the cost of agents while improving or maintaining pass rate, and is transferable to different models and different harnesses. We also discuss common successful and rejected environment optimization strategies during automated optimization. More broadly, our results show that how information is represented to an agent shapes both its cost and its success, making the environment worth optimizing in addition to the parameters and the harness.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 25 references that are in the map. Submitted 5 Nov 2026.

Builds on

13 of 25 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026Is Bash All You Need? An Empirical Study of Tool Interfaces for Enterprise Digital Worker Agents10 Sep
  2. 2026The Devil Is in the Interface: Evaluating How Tool Architecture Shapes Coding Agent Behavior11 Aug
  3. 2026Libra: Training the Environment for Agentic Information Retrieval26 May
  4. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 8

  1. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
  2. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
  3. 2025How to Train Your Advisor: Steering Black-Box LLMs with Advisor Modelscited by 27
  4. 2025Aegis: Taxonomy and Optimizations for Overcoming Agent-Environment Failures in LLM Agentscited by 13
  5. 2026Corpus2Skill: Distilling Enterprise Knowledge into Navigable Agent Skills for QA and RAGcited by 9
  6. 2026optimize_anything: A Universal API for Optimizing any Text Parametercited by 6
  7. 2026Studying Without a Syllabus: Task-Agnostic Environment Preprocessingcited by 1
  8. 2026SlackBench: Benchmarking Agents on Collaborative Projects Grounded in Real Code Repositoriescited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
  2. 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks
  3. 2026EnvHarness: Awakening Static Worlds for Agent Learning
  4. 2026EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL
  5. 2026Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
  6. 2026AgentHPOBench: A Benchmark For Evaluating LLM Agents as Sequential Hyperparameter Optimizers
  7. 2026Environment-Grounded Automated Prompt Optimization for LLM Game Agents
  8. 2026AT-AT: Automatic Tool Optimization from Agent Traces