mlsanityData to 7 Oct 2026

HerAgent: Rethinking the Automated Environment Deployment via Hierarchical Test Pyramid

arXiv 2602.07871 ↗First posted 8 Feb 2026cs.SEcited by 2

Not on the map. Why?

Abstract (arXiv)

Automated software environment setup is a prerequisite for testing, debugging, and reproducing failures, yet remains challenging in practice due to complex dependencies, heterogeneous build systems, and incomplete documentation. Recent work leverages large language models to automate this process, but typically evaluates success using weak signals such as dependency installation or partial test execution, which do not ensure that a project can actually run. In this paper, we argue that environment setup success should be evaluated through executable evidence rather than a single binary signal. We introduce the Environment Maturity Hierarchy, which defines three success levels based on progressively stronger execution requirements, culminating in successful execution of a project's main entry point. Guided by this hierarchy, we propose HerAgent, an automated environment setup approach that incrementally constructs executable environments through execution-based validation and repair. We evaluate HerAgent on four public benchmarks, where it outperforms all related work, achieving up to 79.6% improvement due to its holistic understanding of project structure and dependencies. On complex C/C++ projects, HerAgent surpasses prior approaches by 66.7%. In addition, HerAgent uniquely resolves 11-30 environment instances across the benchmarks that no prior method can configure.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Feb 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents
  2. 2025EnvBench: A Benchmark for Automated Environment Setup
  3. 2026Code That Works, Environments That Don't: Measuring Environment Reproducibility in AI-Generated Software
  4. 2025Multi-Docker-Eval: A `Shovel of the Gold Rush' Benchmark on Automatic Environment Building for Software Engineering
  5. 2025TENET: One Step Toward Test-Driven Development for Repository-Level Code Generation
  6. 2025SetupBench: Assessing Software Engineering Agents' Ability to Bootstrap Development Environments
  7. 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agents
  8. 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projects