arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27969

openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents

openJiuwen Team, 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

Abstract

Long-horizon coding agents operate over evolving repository states while increasingly relying on heterogeneous capabilities, delegated agents, and multi-agent coordination. These trends pose two complementary challenges for the agent harness. First, developers need to compose capabilities, reconfigure execution logic, and scale increasingly complex agent systems without repeatedly rebuilding orchestration. Second, complex coding tasks continuously produce new evidence—such as semantic diagnostics, execution outcomes, task progress, and changing context relevance—that should dynamically influence subsequent runtime decisions. We characterize these challenges as Structural Composability and Runtime Adaptivity. We present openJiuwen, an open-source harness designed for both developer composability and adaptive task execution. openJiuwen provides a shared execution substrate and Rail-based capability composition across single agents, delegated sub-agents, and Swarm Flow, enabling developers to construct sophisticated agent harnesses under common execution semantics. It further adapts framework-controlled runtime decisions around a fixed model policy, allowing evolving evidence to dynamically affect context, feedback, and task control toward successful completion. We systematically evaluate openJiuwen on SWE-bench Verified and Terminal-Bench 2.1, where it achieves 82.6% and 87.19%, respectively, exceeding the strongest selected official-leaderboard point estimates by 3.4 and 3.39 percentage points. These results show that openJiuwen achieves strong performance on complex coding tasks while providing a composable and adaptive harness design.

Keywords: Long-Horizon Coding Agents, Agent Harness, Structural Composability, Runtime Adaptivity, Large Language Models

1. Introduction

Large language models (LLMs) are transforming automated software engineering from single-turn code generation into long-horizon coding agents that interact with repositories, tools, and execution environments over extended trajectories. Complex coding issues require more than locally correct actions: an agent must maintain coherent behavior while code state, diagnostics, task progress, and relevant context evolve throughout the run. As agents incorporate planning, memory, verification, context engineering, delegation, and multi-agent coordination, the agent harness increasingly becomes a first-class systems layer that determines how these capabilities are assembled and how execution is controlled.

Recent agent harnesses already expose increasingly sophisticated mechanisms, but they organize them through distinct architectural choices. Pi 1^{1} emphasizes a minimal, provider-flexible coding runtime whose advanced behaviors are introduced via extensions. DeepSeek Harness 2^{2} pushes further toward plugin-level composability, making core components—such as model adapters, tools, session states, and

1^{1}https://github.com/arendil-works/pi

2^{2}https://github.com/deepseek-ai/deepseek-harness

References (22)