Command Palette
Search for a command to run...
Weekly Paper Report | 8 Papers Highlight New Developments in Agent Harness, Covering Coding Agents/Embodied Control/Image and Video Generation

As AI Agents move from simple Q&A to complex task execution, Agent Harness is gradually becoming an important direction in agent research. It is a runtime framework that connects large language models, tools, and execution environments, organizing task flows, managing context and memory, coordinating tool calls, and handling errors and result validation during execution. Simply put, the model determines what an Agent can think, while the Harness largely affects whether these capabilities can be translated into stable, reliable real actions.
Why is Harness attracting more and more attention? As model reasoning and generation capabilities continue to improve, the challenges faced by agents are no longer just generating correct answers, but also how to continuously complete multi-step tasks, reduce erroneous operations, adapt to different execution environments, and control risks during autonomous action. Harness is gradually evolving from a basic framework supporting model operation into critical infrastructure that affects Agent execution effectiveness, application boundaries, and safety.
Around these issues, more and more recent research has begun to explore the design, evaluation, and optimization of Harness from different perspectives: some studies analyze the roles of planning, tools, and context management through controlled experiments; some explore more reliable execution mechanisms in terminal operation, robot control, and visual generation; others focus on safety constraints, automatic construction, and recursive self-improvement, trying to make Harness not only able to run, but also continuously optimize based on task feedback.
In this issue, we have carefully selected 8 papers related to Agent Harness, bringing together relevant explorations from NVIDIA, Google Cloud AI Research, as well as universities and research institutions such as Northwestern University and the University of Science and Technology of China, covering directions such as framework design, execution control, embodied intelligence, visual generation, safety governance, engineering capability evaluation, recursive optimization, and self-evolution. Let's take a look together!
In addition, the "Papers" section on the HyperAI official website will continue to track frontier achievements in artificial intelligence, helping you stay informed about relevant research developments ⬇️
View the latest papers:
Papers of the Week
1. Harness Design for Coding Agents
Paper Title:
An Empirical Study of Harness Design for Coding Agents
Paper and Detailed Explanation:
This study conducts a systematic empirical analysis of Harness design for coding agents, focusing on how different operating mechanisms affect task performance when the underlying model remains unchanged. The researchers conducted controlled experiments around three core components—planning mechanisms, action space, and context management—attempting to clarify the specific impact of each Harness component on task success rate, execution efficiency, and resource cost, thereby avoiding judging the effectiveness of a design solely based on the final performance of the complete system.
The research team conducted multiple matched experiments on benchmarks such as SWE-Bench Verified and Terminal-Bench 2.1. The results show that context management is especially important for long-horizon tasks; reasonably handling historical information can reduce failures caused by context overflow. Planning mechanisms can yield different benefits depending on model capabilities, and the choice of tool interfaces also needs to be adjusted according to model characteristics. The study shows that Harness is not better with more components; it should be designed according to task requirements, model capabilities, and resource budgets, providing an empirical basis for future quantitative Harness optimization research.
2. Mid-Harness
Paper Title:
Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents
Paper and Detailed Explanation:
Researchers from institutions such as NVIDIA and the Korea Advanced Institute of Science and Technology (KAIST) propose Mid-Harness, exploring how to insert action sampling and validation mechanisms between large language models and execution frameworks to improve the execution reliability of terminal agents. Traditional terminal Agents usually directly execute commands generated by the model, but erroneous operations may change the runtime environment and affect subsequent tasks; even if the model itself is capable of generating better commands, it may not necessarily give the best choice on the first attempt. Mid-Harness generates multiple candidate actions before actual execution, then compares and filters them through validators, reducing the impact of inappropriate operations on task progress.
The research team conducted experiments around candidate action sampling methods, validator selection, and different execution strategies, analyzing the practical value of allocating additional computational resources between the model and Harness. The study shows that increasing candidate actions does not necessarily bring benefits; its effectiveness depends on whether the validator can identify better operations. Appropriate comparison and filtering mechanisms can improve action quality and increase the success rate of the entire task trajectory. This work advances the optimization focus from simply improving model generation capabilities to action selection before execution, offering a new perspective for building more reliable terminal agents.
3. Show-Harness
Paper Title:
Show-Harness: Just a VLM Agent Can Play Robots
Paper and Detailed Explanation:
Researchers propose Show-Harness, aiming to address how vision-language models (VLMs) can translate visual understanding and language reasoning into real-world robotic manipulation. Traditional robotic systems usually require specially trained vision-language-action models or rely on separate controllers to execute instructions generated by high-level models. Show-Harness instead designs a semantic action interface that represents robot operations as discrete action units that models can understand and reason about; an interpreter designed for specific robots then converts these actions into actual control commands. In addition, the research team developed GUMI (GUI Manipulation Interface), which supports collecting robot operation demonstrations through a graphical interface, reducing reliance on dedicated teleoperation hardware.
The research team evaluated across multiple tasks, robot embodiments, and environments, exploring the framework's performance in zero-shot control and lightweight fine-tuning scenarios. Results show that Show-Harness can help state-of-the-art VLMs perform a variety of robot manipulation tasks without specialized fine-tuning, and can also adapt smaller open-source models through relatively lightweight fine-tuning. The study also shows that mechanisms such as contextual planning, action history recording, and failure recovery can improve execution stability. This work suggests that carefully designing the interaction interface between models and environments can unlock the embodied capabilities already present in foundation VLMs, moving Harness from a software runtime framework toward an action control layer for the physical world.
4. MaLiang-Harness
Paper Title:
MaLiang-Harness: A Programmable Path to Image and Video Generation
Paper and Detailed Explanation:
Researchers propose MaLiang-Harness, exploring how to extend the Harness design philosophy to image and video generation. Although traditional programmatic generation can provide explicit composition and animation control, successful program execution does not mean the final visual result meets user expectations. To address this issue, the framework organizes multimodal large language model-driven visual generation as a continuous process of construction, inspection, and revision. By preserving executable programs and task context, tracking edit history and rendering evidence, and validating the current version, it makes the visual generation process more traceable, recoverable, and iterable.
The research team built MaLiang-IBench and MaLiang-VBench to evaluate image and video generation capabilities, respectively, and tested several state-of-the-art multimodal large language models. The results show that GPT-6-Astra achieved a 100% generation success rate on both benchmarks, but only 96.0% of image tasks and 76.9% of video tasks met all visual quality thresholds. This result indicates that successful program execution and meeting final visual quality are still different evaluation dimensions; similar general model capability scores do not imply equivalent performance on visual generation tasks. This study provides a systematic runtime framework for programmable visual generation and expands the application scope of Harness in generative AI scenarios.
5. EvoSafeHarness
Paper Title:
EvoSafeHarness:Evolving Model- and Domain-Specific Harnesses for Securing Agents
Paper and Detailed Explanation:
Researchers propose EvoSafeHarness, aiming to address the security protection of agents when facing directly harmful requests and indirect prompt injection. Traditional security constraints are usually pre-designed by experts and applied across different models and task domains, but different models have different behavioral characteristics, and different domains have different risk requirements; fixed rules may over-constrain normal tasks or miss security risks in specific scenarios. EvoSafeHarness turns the design of security constraints into an optimizable process, jointly adjusting natural-language security policies and executable code logic, and combining behavioral feedback from the target model, domain norms, and adversarial review to generate constraint suites better suited to specific deployment environments.
The research team conducted evaluations on multiple agent safety benchmarks. In the relevant test settings of DecodingTrust-Agent, the method reduced the average attack success rate from 45.6% to 10.0%, with a utility loss of about 3.3 percentage points; under the specific evaluation setting of AgentDojo, the attack success rate dropped to 0.0%, while normal task utility reached 82.8%. These results show that tailoring security mechanisms to models and domains can improve the balance between security and task utility. However, security performance still depends on attack type, task environment, and evaluation scope. This work extends the role of Harness from task execution to risk control, exploring how agents can comply with corresponding security boundaries while completing tasks.
1. Doc 2 Harness
Paper title:
Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents
Paper and detailed analysis:
Researchers proposed Doc2Harness to directly evaluate the engineering capability of large language models to build complete Agent Harnesses. Previous studies usually test agent task performance in pre-designed runtime frameworks, but rarely examine whether models can independently construct truly executable execution frameworks according to development documents and interface agreements. Doc2Harness designs the evaluation in two stages: first, a building model generates candidate Harnesses based on interface contracts and development documents; then, the research team runs the framework in an isolated environment and checks whether its actual behavior meets requirements through observable information such as model requests, disk files, process exit codes, and command output.
The research team used this benchmark to evaluate 19 frontier models, with each model performing 3 independent builds across 328 test cases. The results showed that the best-performing model, GPT-6 Astra, had a pass rate of 53.05%, while the weakest model reached 27.44%; even the best model failed nearly half of the test cases. Failures were concentrated in functionality requiring implementation across multiple modules and in the division of responsibilities between different modules. The study shows that a model’s ability to generate code does not mean it already has the complete engineering capability to build complex runtime infrastructure. Doc2Harness provides a deterministic evaluation benchmark for measuring long-horizon Harness engineering capability and offers a reference for future improvements in the automatic construction of agent frameworks.
2. Harness²
Paper title:
Harness²:Recursive Agent Harnessing for an Open World
Paper and detailed analysis:
When agents face real tasks that are constantly changing and difficult to define in advance, traditional Harnesses that rely on manual design and fixed configurations often struggle to adapt in a timely manner. To address this issue, the study proposes Harness², which attempts to let agents not only complete tasks but also continuously improve their own runtime frameworks during execution. The method constructs two interrelated recursive levels: task-level recursion uses a Propose–Probe–Compose process to propose candidate framework modifications for the current task, perform comparison tests, and decide whether to adopt them based on actual execution traces and task outputs; framework-level recursion extracts reusable experience from these modifications and gradually updates the approach to future framework optimization. Even without a ground-truth answer that can directly judge task correctness, the system can provide evidence for framework adjustments by comparing execution performance under different configurations.
The research team conducted evaluations on three specialized benchmarks and four model–framework configurations. Experiments showed that single-step framework improvements can enhance the performance of GLM-5 and Gemini 3.5 Flash on multiple benchmarks: up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB; as the task-level recursion budget increases, the performance gains can expand further. The significance of Harness² is that it attempts to connect “completing the current task” with “accumulating experience and improving subsequent tasks,” transforming Harness from a one-time configuration into a runtime system capable of continuously adapting to new tasks, and offering a new approach to agent self-improvement in open environments.
3. Self-Evolving Agent Harness
Paper title:
Self-Evolving Agent Harness
Paper and detailed analysis:
If the previous studies focused on how to design Harnesses, control actions, or recursively optimize task performance, this study raises a more holistic question: when an agent needs to operate over the long term, can a Harness form a mechanism for continuous self-update? The study defines “self-evolution” as a feedback-driven process of continuous revision: without changing the underlying model weights, the system can adjust prompts, memory, workflows, and executable components based on execution experience, and retain accepted changes for subsequent runs. The adjustable objects include not only individual modules, but also tools and code, repository-level control logic, and the compositional relationships among different plugins and components. At the same time, the study emphasizes that proposing changes, judging whether changes are effective, and deciding whether to formally adopt them are three stages that must be handled separately; one should not conclude that a change has long-term value merely because task performance improved once.
At the theoretical level, the paper combines evolutionary optimization and continual PAC learning to analyze the generalization and performance-regression problems that a Harness may face during continuous updates, and discusses, under explicit assumptions, expected generalization bounds, retention bounds related to historical regression budgets, and admission rules for candidate changes based on fresh independent validation data. Rather than simply comparing scores on a benchmark, this study focuses more on how a Harness can preserve effective experience through repeated iterations while reducing overfitting, forgetting, and degradation of performance on old tasks. The paper also discusses deployment issues such as task-distribution shifts, evaluator bias, scientific reliability, physical safety, and organizational accountability, and notes that continuous validation and independent safety safeguards remain indispensable. The direction it outlines is that a Harness is no longer merely a static software structure built around a model, but may become a system that accumulates feedback, prudently modifies itself, and undergoes continuous verification.




