Explore the research collection
1 entry · Follow this search
- Paper
Harness Engineering for Software Engineering via Modular Executable Dev-Primitives (HERMES)
Introduces Dev-Primitives: a modular, executable abstraction that pairs each repository component (artifact) with a resident LLM, giving the artifact an agent-native interface grounded in its own implementation and dependencies — enabling natural-language reasoning, inter-component communication, and localized self-modification. This addresses the brittleness of LLM+terminal agents on long-horizon workflows: repeatedly reconstructing program state scattered across files, configs, tests, dependencies, and runtime behavior causes context explosion and semantic drift. Built on Dev-Primitives, HERMES instantiates them at repository scale through (1) a dependency-aware dynamic activation mechanism that decides which component primitives to activate, and (2) a bug-diagnosis mechanism that maps execution evidence (test failures) back to the components that must be revised. On whole-repository migration (SWE Refactor Bench, all 20 tasks): with GPT-5.6 Sol, the composite score rises from 6.5% under Codex to 31.0% under HERMES at medium effort (+24.5 points) and from 19.0% to 36.5% at high effort (+17.5), same model and effort setting — the gain comes from the harness. Across four software engineering benchmarks (SWE-bench Verified, SWE Refactor Bench, Terminal-Bench 4.0, DevOps-Gym), HERMES beats matched baseline harnesses (mini-SWE-agent, Claude Code, Codex) by 12.4 percentage points on average; gains are largest where the baseline leaves room for coordination (up to +19.4 points for GPT-5 Mini on SWE-bench Verified). With strong activation and diagnosis models, HERMES using Qwen3-8B Dev-Primitives stays within 4.5 points of the homogeneous GPT-5.6 Sol configuration across all four benchmarks while cutting Terminal-Bench 4.0 inference cost by 26.2%.