Back to AI Research

AI Research

Harness-of-Harness: Multi-Day Autonomous Software D... | AI Research

Key Takeaways

  • Harness-of-Harness (HoH) is a framework designed to enable AI coding agents to build complex software systems from scratch without human intervention.
  • 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.
  • It progressively exposes deliverables, role-specific tools, and skills, encourages reuse rather than recreation, and maintains versioned project histories.
Paper AbstractExpand

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 percent and a maximum gain of 82.86 percent 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: this https URL Project Page: this https URL

Harness-of-Harness (HoH) is a framework designed to enable AI coding agents to build complex software systems from scratch without human intervention. While many existing coding agents require constant human guidance to manage tasks and fix errors, HoH allows agents to work autonomously over long periods. By organizing development into iterative loops of planning, coding, and testing, the framework ensures that the software consistently improves, remains functional, and avoids the common pitfalls of long-term autonomous projects, such as losing track of original requirements or introducing conflicting code.

How the Framework Works

HoH operates by breaking down the development process into a repeating three-step cycle. First, a Project Planner reviews the high-level requirements and the current state of the project to define a small, manageable goal for the next iteration. Second, a Developer implements that specific goal, building upon the existing codebase. Finally, a QA Tester independently evaluates the new changes to ensure they work as intended and do not break previously finished parts of the system.
Crucially, HoH maintains two types of records between these loops: the "artifact state" (the actual code and files) and the "evidence state" (a history of what has been tested, what failed, and what was successfully validated). This ensures that the agents always know what has already been achieved, preventing them from repeating work or forgetting previous design decisions.

Maintaining Continuity

A major challenge in autonomous development is that AI agents often struggle to maintain focus over long trajectories. To solve this, HoH uses "progressive disclosure." Instead of trying to keep the entire project history in the AI’s active memory, the framework stores project documents, histories, and reports in a file system. These are indexed and only retrieved when the agent specifically needs them. This allows the system to scale to complex projects—such as building a full-featured game—without overwhelming the AI’s context window or losing track of the project's evolution.

Performance and Results

The researchers tested HoH across three established coding benchmarks and a real-world, multi-day project. In the benchmarks, HoH consistently outperformed standalone coding agents, achieving an average relative performance gain of over 52%. In a more practical test, the framework was tasked with building a first-person shooter game from scratch. Over the course of more than 70 iterations, the system autonomously developed a playable game that included a coherent storyline, combat mechanics, a heads-up display, and polished audio and visual elements, demonstrating the framework's ability to handle complex, long-horizon software engineering tasks.

Key Design Principles

HoH succeeds by enforcing a strict separation of roles while allowing the agents autonomy in how they achieve their goals. By constraining the "what" (the required output and verifiable goals) rather than the "how" (the specific workflow or tools), the framework remains flexible. It encourages the reuse of existing tools and skills rather than forcing the agent to recreate standard engineering solutions from scratch. This approach ensures that the development process remains structured and verifiable, even as the software grows in complexity.

Comments (0)

No comments yet

Be the first to share your thoughts!