arXiv(opens in a new tab)cs.AISep 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2609.01481

Harness-of-Harness: Multi-Day Autonomous Software Development with Continual Improvement

Haoyang Yan, Min-le Su, Hangfan Zhang, Zhanhao Li, Chen Zhang, Shao Zhang, Yang Chen, Lei Bai, Shuyue Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This paper studies autonomous software development, in which LLM-based coding agents transform high-level requirements into complete, functional, and usable software systems without human intervention. We introduce Harness-of-Harness (HoH), a framework that enables coding agents to continually improve software during autonomous development. HoH operates on existing coding-agent harnesses, and organizes their executions into iterative planning-coding-testing loops. To sustain improvement across loops, HoH balances repair with capability growth, scopes development into small and verifiable increments, separates implementation-time testing from independent evaluation, and constrains verifiable outputs rather than prescribing agent workflows. It progressively exposes deliverables, role-specific tools, and skills, encourages reuse rather than recreation, and maintains versioned project histories. On GameCraft-Bench, FrontierSWE, and ProgramBench, three harness-model pairs (Codex with GPT-5.5, OpenCode with DeepSeek-V4-Pro, and Pi with MiniMax-M3), HoH consistently outperforms the corresponding standalone harnesses, achieving an average relative gain of 52.25% and a maximum gain of 82.86% after three iterations. In a multi-day deployment with more than 70 iterations, HoH autonomously develops a first-person-shooter game, featuring a coherent storyline, fully implemented core mechanics, human-playable experience, polished visuals and integrated audio.

GitHub: Flesymeb/HarnessOfHarness

Project Page: HarnessOfHarness

Autonomous Development of an FPS Game via Harness-of-Harness

Figure

Figure 1 | Across successive iterations by Harness-of-Harness, the resulting First-Person-Shooter game features a coherent storyline, implemented combat, weapon and enemy-interaction systems, player guidance, heads-up display and menu systems, cinematic animation, and polished visual and audio presentation, yielding human-playable experience. The game, development traces, and gameplay videos are available on GitHub.

†^{\dagger}Equal contribution. {yanhaoyang, suminle, zhanghangfan, lizhanhao, hushuyue}@pjlab.org.cn

1 Introduction

Software development has become a prominent application of large language models (LLMs) [4, 37]. As LLM capabilities have advanced, LLM-based coding agents have progressed from localized assistance, such as function completion [2, 22], to increasingly complex tasks, including navigating large codebases and resolving repository-level issues [12, 25, 29, 36, 39]. Despite their growing adoption, most coding agents still largely operate under a human-in-the-loop setting (Figure 2a): developers must define tasks, guide intermediate decisions, review generated changes and intervene when failures occur [1]. In this study, we pursue a more ambitious goal: autonomous software development (Figure 2b); given only high-level requirements as human input, coding agents start from scratch and independently transform the requirements into complete, functional, and deployable software systems, without further human guidance or intervention.

Such autonomous development poses a fundamentally longer-horizon problem than conventional agentic coding tasks [14, 28]. Building a software system from scratch requires agents not only to generate code snippets, but also to translate high-level requirements into executable plans, coordinate interdependent tasks, design and integrate components, and continuously test and debug the evolving system [8, 32, 36]. As these interdependent decisions and modifications accumulate, development naturally unfolds over increasingly long trajectories [14, 28]. As trajectories grow, agents may lose track of earlier requirements and design decisions, or introduce local fixes that violate constraints elsewhere [3, 26]. Failed attempts and suboptimal decisions may accumulate, while new evidence from testing can invalidate earlier assumptions [5, 24, 33]. Long trajectories can also lead to repetitive cycles of inspection and repair, redundant verification of completed components, or premature declaration of completion despite missing or incorrect functionality [3, 11]. Together, these challenges suggest that autonomous software development is not simply a problem of longer execution; the real challenge is sustaining coherent and effective progress over time.

Here, we introduce Harness-of-Harness (HoH), a framework that equips coding agents with continual improvement capabilities for autonomous software development. Modern coding agents operate within a harness—the surrounding system that provides tools, manages execution and mediates the LLM's interaction with the development environment [36, 39, 45]. HoH builds upon existing harnesses and organizes development into iterative planning–coding–testing loops. At each iteration, the planner synthesizes the high-level requirements and evidence from previous iterations into a development plan. Each plan must both address outstanding problems and deliver a small yet concrete new capability, following the principle of iterative and incremental development [13]. This helps prevent development from collapsing into repetitive local repairs, while the limited scope makes progress easier to verify and reduces the risk of uncontrolled changes. The developer then implements the plan and embeds focused testing throughout implementation, creating immediate feedback around local changes. After passing these tests, a tester independently evaluates the resulting system against both the overall requirements and the development plan, using complementary white-box and black-box tests. The tests are conducted from multiple perspectives, such as functional correctness, completeness, usability, and visual and audio quality (if any). The resulting structured test report is returned to the planner as evidence for the next iteration, closing the loop.

Throughout this process, HoH specifies the artifacts and evidence that agents must deliver, but does not prescribe a rigid workflow for producing them. Each role must return a structured artifact, and outputs that violate the required schema trigger a retry. This constrains verifiable outcomes while preserving agent autonomy over reasoning, tool use and implementation strategy. To maintain continuity without overwhelming the context window, HoH adopts progressive disclosure rather than a dedicated memory module: plans, reports, histories and other artifacts are persisted in the file system.

(a) Human-in-the-loop Development

(b) Autonomous Software Development

Figure

Figure 2 | Two different modes of software development. In human-in-the-loop development, coding agents generate code under continuous human oversight, guidance, review, and intervention. In autonomous software development, agents independently transform high-level requirements into complete, functional, and deployable software systems without human guidance or intervention.

and initially exposed through a concise, categorized index, with detailed contents retrieved only when relevant. Tools, such as MCP servers, expert models and domain-specific algorithms, are organized by role, with lightweight Markdown-based skills providing concise, on-demand guidance for their use. Agents are encouraged to draw on existing resources rather than recreate standard capabilities, reducing redundant effort on routine engineering tasks. Finally, HoH maintains a versioned record of project evolution at both the agent role and iteration levels. By preserving the software state together with concise accounts of how it changes, HoH can return to previously verified states after major regressions and draw on evidence from earlier attempts when similar failures recur to inform the diagnosis and resolution.

We evaluate HoH in two complementary settings: three controlled benchmarks (GameCraft-Bench [23], FrontierSWE [6], and ProgramBench [40]), and open-ended game development that spans over multiple days. First, we evaluate the HoH loop under the original benchmark specifications, without additional tools, skills or version-control mechanisms. We consider three harness-model configurations: Codex with GPT-5.5 (high), OpenCode with DeepSeek-V4-Pro, and Pi with MiniMax-M3. Across all three benchmarks, HoH consistently outperforms the corresponding standalone harnesses. After three iterations, it yields absolute gains of 16.62–22.08 points on GameCraft-Bench, 19–29 points on FrontierSWE, and 6.09–16.85 points on ProgramBench. On FrontierSWE, HoH with Codex and GPT-5.5 (high) continues improving over ten iterations, from 22% to 72.67%. In our second setting, HoH autonomously builds a complex game from scratch, given only high-level product requirements, which exposes challenges that are largely absent from conventional benchmarks. Different from benchmark evaluation, we additionally implement HoH with role-specific tools and skills, supporting development engine interaction, asset acquisition and generation, reference retrieval, testing, and project-state management. Code changes and role-specific artifacts are committed to a public GitHub repository after each agent stage, making the complete development trajectory traceable. Over multiple days of autonomous development, HoH transforms the initial requirements into a complete, human-playable game with a coherent storyline, fully implemented core mechanics, polished visuals and integrated audio.

References (49)