HerAgent: A Block-Level Checkpointing Harness for Coding-Agent Environment Setup
Xiang Li, Siyu Lu, Federica Sarro, Claire Le Goues, He Ye
Key points
From the paper's conclusion- We present HerAgent (Harness EnviRonment Setup Agent), a block-level harness for coding-agent environment setup.
Abstract
Modern coding agents rely on establishing executable software environments before they can perform software engineering tasks such as testing, debugging, and patch validation. Existing setup agents typically control progress at either single-command or whole-script granularity, making recovery either too local to remove polluted state or too coarse to preserve useful progress. We present HerAgent (Harness EnviRonment Setup Agent), a block-level harness for coding-agent environment setup. HerAgent's main contribution is semantic setup blocks: a single progress-control abstraction used for execution, validation, checkpointing, repair, and rollback. Evaluated against six prior agents on four environment-setup datasets, HerAgent improves setup success in every comparison, achieving the largest gains on Installamatic-Bench (52.0% to 85.0%) and SetupBench (46.3% to 70.4%). It also reduces setup costs by up to 94.5%, showing that block-level progress control improves reliability and efficiency.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Compositional Exploits in Autonomous Coding Agents: Attack Mechanics and Ephemeral DefensearXiv · 2026
- Built on Broken Assumptions (BOBA): Why Coding Agents Cannot Be Left AlonearXiv · 2026
- SWE-Residual: Evaluating Starting-State Robustness of Coding AgentsarXiv · 2026
- From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding AgentsarXiv · 2026
- Speculative Forking: Turning Idle Wait into Parallel Exploration for Repository Environment SetuparXiv · 2026
- Harness Engineering for Software Engineering via Modular Executable Dev-PrimitivesarXiv · 2026