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.
Figures & tables
Figure 1: Architectural patterns of representative agent harnesses and the design of openJiuwen. Existing harnesses expose increasingly rich mechanisms through different architectural choices, while openJiuwen organizes harness complexity around Structural Composability and Runtime Adaptivity.
Figure 2: System overview of openJiuwen. Structural composability combines capability composition through the Rail mechanism with scale reuse from single agents and delegated sub-agents to Swarm Flow. All agent instances reuse the shared Inner Loop/Outer Loop execution core, while runtime adaptivity is realized through Context Management, Goal Mode, LSP-Driven Passive Feedback, and Self-Reflection. The illustrated Rails and runtime mechanisms are representative rather than exhaustive.
Figure 3: A Coding Agent implemented with openJiuwen Swarm Flow. The example illustrates how the provided coordination operators can be composed into a task-specific multi-agent workflow.
Figure 4: Conceptual view of constrained single-task runtime adaptation under a fixed model policy π . An effective runtime configuration Θt=(κt,Φt,ιt) captures context construction, acceptance/stopping, and diagnostic-feedback injection. The surface is a schematic projection used to visualize relative configuration quality, while the trajectory-level objective J(Θ0:T) evaluates the execution trajectory as a whole. Runtime evidence induces state-dependent adaptation subject to context-budget, semantic-feedback, and stopping constraints.
Rank
Agent / Harness
Agent Org.
Model
Model Org.
Effort
Date
Accuracy (%)
10
Claude Code
Anthropic
Sonnet 5
Anthropic
high
2026-07-09
74.6±1.6
9
Codex
OpenAI
GPT-5.6 Luna
OpenAI
max
2026-07-11
75.7±1.3
6
Codex
OpenAI
GPT-5.6 Terra
OpenAI
max
2026-07-11
78.4±1.3
5
Claude Code
Anthropic
Opus 4.8
Anthropic
high
2026-07-09
78.9±1.3
3
Terminus 2
Terminal-Bench
Fable 5
Anthropic
high
2026-06-05
80.4±1.2
2
Codex
OpenAI
GPT-5.5
OpenAI
xhigh
2026-05-01
83.1±1.1
Table 1: Comparison with leading systems on Terminal-Bench 2.1 . Prior results are taken from the official leaderboard.
Rank
Agent / Harness
Org.
Model
Date
Resolved (%)
16
Lingxi-v1.5 Yang et al. [2026]
Lingxi
Claude 4 Sonnet
2025-07-20
74.60
8
ACoder
ACoder
Multiple
2025-08-19
76.40
6
EPAM AI/Run Developer Agent
EPAM
Claude 4 Sonnet
2025-08-04
76.80
4
live-SWE-agent Xia et al. [2025b]
UIUC
Gemini 3 Pro Preview
2025-11-20
77.40
3
TRAE Trae Research Team et al. [2025]
TRAE
Doubao-Seed-Code
2025-09-28
78.80
2
Sonar Foundation Agent
Sonar
Claude 4.5 Opus
2025-12-05
79.20
Table 2: Comparison with leading systems on SWE-bench Verified . Bash-only mini-SWE-agent entries are excluded.
Task Type
# Tasks
openJiuwen Fable 5
openJiuwen GPT-5.6 Sol
Claude Code Fable 5
Terminus 2 Fable 5
data-processing
4
1.00000
1.00000
1.00000
0.95000
data-querying
1
1.00000
1.00000
1.00000
1.00000
data-science
8
0.72500
0.95000
0.87500
0.87500
debugging
5
1.00000
0.96000
0.92000
1.00000
file-operations
5
0.76000
0.72000
0.56000
0.52000
games
1
1.00000
1.00000
0.80000
1.00000
Table 3: Category-level task success scores on Terminal-Bench 2.1 . The full benchmark contains 89 tasks. Bold indicates the best score in each row (ties included).
Figure 5: Model-matched comparison on representative Terminal-Bench 2.1 categories using Fable 5. openJiuwen is particularly strong on tool-intensive categories such as file operations and system administration.
Fix Duration
# Tasks
Opus 4.5 (high) mini-swe-agent
Opus 4.5 (med.) mini-swe-agent
Opus 4.5 (med.) live-SWE-agent
Opus 4.5 (med.) Sonar Foundation
Opus 4.5 (high) openJiuwen
<15 min fix
194
0.89175
0.84536
0.88660
0.88144
0.91753
15 min–1 hour
261
0.74713
0.72414
0.76628
0.77778
0.81226
1–4 hours
42
0.35714
0.42857
0.54762
0.50000
0.52381
>4 hours
3
0.33333
0.33333
0.33333
0.33333
0.33333
Table 4: SWE-bench Verified success rates grouped by estimated fix duration. Bold indicates the best score in each row (ties included).
Multi-agent coding systems are designed to tackle complex software engineering tasks through collaboration. However, existing evaluations typically assume configured organizations are followed faithfully, whereas reality differs. This behavioral gap, combined with differences in underlying system components, prevents clear attribution of observed gains. To this end, we introduce OpenCollab, a multi-agent coding framework that provides a unified infrastructure for programmable collaboration and controllable runtime. Specifically, OpenCollab unifies organization design, enforces experimental control on a shared runtime, and tracks execution through fine-grained event streams. On this basis, we define Adherence to quantify whether the declared organization is actually realized. Our experiments reveal that agents collaborate very differently across configurations: changing any single dimension shifts Adherence, from 47.2% to as high as 97.2%. Furthermore, extensive agentic coding benchmarks show that OpenCollab (Duo) establishes new SOTA performance compared to the mainstream harnesses such as Mini-SWE-agent, OpenHands, Codex CLI, and Claude Code, showing that a well-designed organization can outperform strong existing harnesses, while OpenCollab's single-agent configuration uses the fewest tokens across all evaluated suites. OpenCollab establishes a unified multi-agent infrastructure for easy programmable collaboration and controlled causal evaluation.
Chun-Wah Hsu, Kai Gong, Yu Wu +12
Shanghai Jiao Tong University · University of Cambridge · Nanyang Technological University +4
Coding harnesses shape how autonomous coding agents translate model capabilities into long-horizon software-engineering performance, yet existing work typically evaluates harnesses as monolithic systems, leaving the effectiveness of individual components unclear. To enable component-level comparisons, we study this question with a lightweight coding harness whose execution loop is fixed while three components are varied: planning, action space, and context management. Across four models evaluated on SWE-Bench Verified and Terminal-Bench 2.1, we evaluate 176 matched settings spanning five context-management strategies, four context-window budgets, and targeted ablations of planning and action space. We find that: (1) Context management becomes increasingly valuable as the context-window budget tightens, with most of its benefit coming from preventing context-overflow failures. (2) Staging rule-based elision before LLM-based summarization provides the strongest overall efficiency among the context-management strategies, whereas making elided content recoverable adds machinery that models rarely use and yields no accuracy gain. (3) Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger models, with little change in accuracy. (4) Predefined tools improve performance for models with weaker bash proficiency, whereas bash-capable models can operate effectively with a bash-only interface and achieve substantially lower cost, especially on command-line-centric tasks. Trajectory-level analysis explains these effects: context management extends execution trajectories without substantially altering agent behavior, planning changes where trajectories stop, and the action space changes the granularity at which code is written. These findings inform model- and budget-aware harness design and provide a modular framework for evaluating future harness components.
A coding agent combines a model with a harness, which decides what the model sees, which tools it can use, and how the work continues. We ask whether changing the harness changes the result when the model and task stay fixed. We compare two configurations of the same harness on three coding benchmarks. The control supplies the full conversation in time order, while the treatment keeps the same record but mechanically shortens older tool results as the context fills and responds to repeated or stalled work. Under tight context, the treatment raises mean per-task fail-to-pass fraction (F2PF) in all three pressure comparisons and increases complete solutions on SWE-bench Verified and SWE-bench Pro. The tight-window Verified comparison uses 169 tasks, a 20,480-token window, and a fixed 480-second attempt endpoint; on this cohort, treatment raises mean per-task F2PF from 28 percent to 49 percent and complete solutions from 43 to 72. Without model-specific retuning, the same frozen treatment also raises both endpoints on the same cohort for three additional models with different designs. In the wide-window Qwen3.6 comparisons, observed arm outcomes are close on Verified and Pro, while FeatureBench retains a higher mean per-task F2PF under treatment. On the wide-window Verified cohort, treatment also serves fewer prompt tokens per turn. Because changing the harness changed what unchanged model weights could accomplish, coding-agent evaluations should treat the model and harness together as the tested solver.