HarnessFlow is a framework that automates the optimization of executable harnesses for large language model agents using a Monte Carlo Tree Search policy to balance exploration and exploitation. It refines harness candidates through a coding agent that leverages archived code, execution feedback, and reusable mechanisms, operating within a limited evaluation budget. Across six benchmarks covering agentic tasks, coding, and web interaction, HarnessFlow achieves the highest mean test scores, improving average performance by 10.89 percentage points over initial harnesses and 3.95 over Meta-Harness, while also reducing per-task execution costs.
By Zhi Hong, Qianlong Wang, Hongchen Wei, Aidan Wu, Daohong Ying, Mingze Kong, Bei Liu, Chong Luo
arXiv:2607. 03691v2 Announce Type: replace-cross Abstract: Coding agents, autonomous systems that use large language models (LLMs) to resolve software engineering tasks, rely on agent harness: a middleware layer in between a developer and a large language model that orchestrates system prompts, tool execution, context management, and iterative reasoning loops.
By Oussama Ben Sghaier, Hao Li, Bram Adams, Ahmed E. Hassan
arXiv:2608. 06301v1 Announce Type: new Abstract: As LLMs are increasingly deployed within agentic systems, their capabilities depend not only on the model weights but also on the harness: the prompts, tools, control flow, memory, and orchestration code surrounding them.
By Varun Ursekar, Apaar Shanker, Yash Maurya, Shehab Yasser, Vijay S. Kalmath, Veronica Chatrath, Yuan Xue
openJiuwen is an open-source harness that addresses two key challenges for long-horizon coding agents: Structural Composability and Runtime Adaptivity. It offers a shared execution substrate and Rail-based capability composition for single agents, delegated sub-agents, and Swarm Flow, enabling developers to build sophisticated agent systems without repeatedly rebuilding orchestration. The harness also adapts runtime decisions based on evolving evidence such as diagnostics and execution outcomes, and it achieves strong performance on SWE-bench Verified and Terminal-Bench 2.1, surpassing the best official leaderboard points by 3.4 and 3.39 percentage points.
By Tao Yu, Xinyu Zhang, Qianqian Chen, Xiaoneng Xiang, Chia Kwangyang, Xingchen Huang, Ran Chen, Yangkai Ding, Zheng Wang, Yeo Boon Hong, Bingzheng Gan, Enrui Hu, Shuo Cheng, Deyang Li, Ruifeng Shi, Hongbo Wang, Qi Ye, Xuefeng Jin, Zhangchun Zhao
The paper introduces a rule‑based parser that converts raw execution traces of coding agents into high‑level actions such as repository search, file editing, and test execution. Using this parser, the authors analyze 143,209 trajectories from 125 agent configurations across 117 models, revealing that agents with similar success rates can differ markedly in their exploration, modification, and verification behaviors. The study also shows that behavioral profiles can identify agent stacks without relying on task outcomes or token counts, and that scaffold choice and reasoning effort systematically influence search, editing, and testing patterns.
By Ibragim Badertdinov, Alexander Golubev
arXiv:2604. 01527v4 Announce Type: replace-cross Abstract: Production deployment of AI coding agents requires fast, reproducible evaluation signals.
By Smriti Jha, Matteo Paltenghi, Chandra Maddila, Vijayaraghavan Murali, Shubham Ugare, Satish Chandra