Manuscript Offprint
arXiv:2610.35348Toward Evidence-Based Agentic Software Engineering
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Sebastian Baltes
Heidelberg University
Heidelberg, Germany
sebastian.baltes@uni-heidelberg.de
Christoph Treude
Singapore Management University
Singapore
Abstract—Task success rates and execution costs of agentic coding tools depend on both model and harness. The harness manages context, provides tools, and runs the agent loop. In empirical software engineering (SE) studies, comparisons that change model and harness together cannot isolate their effects. We qualitatively annotated 325 experiments reported in 146 peer-reviewed full papers published between 2025 and 2026. We examined the reported configurations and whether comparisons isolated harness effects, including harness configuration and version, model, tasks, and user interaction. The exact version of every harness used was reported for only 15 experiments. For five, the paper reported when the experiments were run, and for 31, authors shared execution traces for every session. Of the 226 experiments comparing harnesses, 35 never varied the harness in isolation. Based on this analysis, we derive requirements for a reference harness that the SE community can use for experiments. We call on the community to report all degrees of freedom of experiments with agentic coding tools and on SE venues to pilot dedicated tracks or special issues around a specified reference harness release. In these tracks, papers would hold the harness version fixed and vary features through separately versioned extensions to isolate feature effects and test their interactions.
I. INTRODUCTION
Task success rates and execution costs of agentic coding tools depend on both model and harness. An empirical software engineering (SE) study can attribute an outcome difference to the model or to the harness only if it identifies which model and which harness ran. The harness manages context, offers tools, enforces permissions, and runs the agent loop, in which a model chooses an action and receives its result. The inner harness comprises the code, including the built-in system prompt and tool schemas, while the outer harness is the configuration that users add, such as context files, settings, and hooks [1]. Model and harness interact as well. Zhang et al. ran three models on three harnesses and found that changing the harness reversed the ranking of two models in six of nine comparisons [2]. Kapoor et al. found that Claude models scored highest with one harness and OpenAI models with another [3].
Existing reporting guidelines only partially cover the model and the harness together. For example, Zhang et al. propose a Harness Card with seven layers, among them tools, the loop, traces, and the execution environment, but the card omits the harness version, the date of the experiments, and the cost [2]. The guidelines for studies involving large language models (LLMs) in SE ask for model versions, the date of the experiments, and execution traces [4]. Kapoor et al. demand that agent evaluations control for cost [5], and the ACM SIGSOFT Empirical Standards add method-specific checklists [6]. Williams et al. annotated which models and benchmarks the studies in 177 ICSE papers used [7], and Sallou et al. identified threats that LLMs pose to SE research [8], but neither study reported the role of harnesses. The evaluation harnesses HAL [3] and lm-eval [9] standardize benchmark execution, and Terminus 2 [10] and mini-SWE-agent [11] hold a minimal harness fixed to compare models. Estimating harness effects requires the reverse, that is, comparisons that change the harness and hold the model and the tasks fixed.
For this paper, we qualitatively annotated 325 experiments involving agentic coding tools to assess what configurations the papers reported and which comparisons isolated harness effects (Section III), organized by five degrees of freedom (Section II). From our findings, we derive four requirements for a reference harness, a pinned, extensible baseline shared by research groups across experiments so they can compare feature effects and interactions and build cumulative evidence. We assess which of 11 open-source harnesses meet these requirements (Section IV). We further suggest creating dedicated tracks or special issues around a specified reference harness release, so that teams can compare changes against the same baseline, and we plan an experiment on one of the harnesses in which five features are added as separately versioned extensions, to estimate feature effects and interactions while holding the harness fixed (Section V).
Outer harness (OH). Exhaustively comparing outer harness configurations is impractical. Related work documents eight repository-level configuration mechanisms across five agentic coding tools, including context files, hooks, and Model Context Protocol (MCP) servers [12]. The documentation for Claude Code, one of the most popular harnesses, listed 185 settings keys as of October 2026 [13]. If one were to treat these keys as independent binary choices, this would yield potential combinations for experiments.
Inner harness (IH). Harness updates can change outcomes even when the model is held fixed. Ben Sghaier et al. compared 35 Qwen Code releases with the same model and found that tokens per task rose from about 391K to nearly 668K with no gain in task resolution rate [14]. The same study found 1.5 to 18 releases per week across five harnesses. Thus, a harness name can refer to different implementations even in a short period. Evaluating a component change alone does not establish how the harness will perform when other components change too. For example, Lin et al. evaluated changes to tools, middleware, memory, and the system prompt separately and in combination. On hard tasks, the memory changes alone resolved more tasks than combining all four changes [15].
Model (MO). A comparison of two conditions that differ in both model and harness cannot isolate a harness effect. We record the model that chooses actions and any additional models that the harness uses to produce or assess solutions. For each model, we include the version and the sampling and reasoning settings, such as temperature and reasoning effort.
Tasks (TA). Different task sets can produce different success rates even when the harness and model are held fixed. For example, Shayanfar et al. found that agents passed benchmark tests more often on tasks with reference solutions that changed files close together in the repository's directory tree [16]. Per experiment, we record the task sets and versions, the selected instances, and the task descriptions supplied to the agent. We include instructions that researchers added to the initial task prompt and any fixed follow-up prompts that researchers sent through a script during the session. We distinguish benchmark-provided execution environments from environments that researchers or the harness create. For example, a Docker image supplied with the benchmark is part of TA, while a container configured by researchers or the harness is part of the harness.
User interaction (IN). Per experiment, we record whether a human, a model acting as the user, or no one answers agent requests during a session. We also record what task information the human or model receives and when they are allowed to answer an agent request.
An experiment is a set of conditions that a paper compares, possibly in the main text or across tables or figures. For example, Badertdinov et al. compared 13 models using one harness in Table 1 of their paper [17]. To compare performance across benchmarks, Table 2 of the same paper presents their SWE-rebench results for seven of these models alongside their SWE-bench Verified results. We count both tables as

Fig. 1. Contrasts (n = 782): Each path shows how the five degrees of freedom were coded in one contrast. Numbers and line widths count contrasts, and orange marks the most frequent combination of codes.
one experiment because Table 2 also extends the comparison of seven models to a second benchmark using the same harness.
Within an experiment, we count one contrast per pattern of changed and unclear degrees of freedom, not per pairwise comparison. When several degrees of freedom change together, we count a separate contrast for each cause that the authors identify for the outcome difference. For example, all comparisons among 13 models on the same harness and tasks count as one contrast because only MO changes. Comparing task sets with the model held fixed counts as a separate contrast because TA changes. When both IH and MO change, a comparison that attributes an improvement to IH is counted separately from one that attributes the improvement to MO.
For each contrast, we use treatment to denote the degree of freedom being tested. When only one degree of freedom changes, that change is the treatment. When several degrees of freedom change between the compared conditions, we assign the treatment code to the degree of freedom that the authors report as causing the outcome difference. We code the other changed degrees of freedom as confounded, because the comparison cannot separate the effects of those changes. For example, comparing Claude Code with Claude Sonnet 4.5 against Codex CLI with GPT-5 changes both harness and model. If the authors credit the harness, IH is the treatment and MO is confounded. When the compared conditions differ in several degrees of freedom and the paper does not attribute the outcome difference to a single degree of freedom, we code all changed degrees of freedom as confounded.
Some authors attribute an outcome difference to their complete system without identifying any particular degree of freedom as its cause. We code the claimed cause as whole system. For these contrasts, we assign treatment to IH when harness implementations differ or OH when implementations match but configurations differ. Other changed degrees remain confounded. This convention records the claim, not evidence that the harness effect was isolated.
We code a degree of freedom as held fixed when the paper reports the same value for both conditions or describes no change, even if one or both values are unreported. This reflects the reported comparison, not verified equality. We use unclear when it is uncertain whether a change applies to both conditions. For example, a paper may report raising the allowed tool-call limit for one condition without clarifying whether it also
TABLE I
REPORTING PRACTICES: Column ‘Yes’ () reports how many experiments answer each question. The percentage is the share among the experiments to which the question applies. A superscript refers to the question on which the marked question depends. Column ‘Disagreements’ () reports how many experiments found by both annotations received different codes.
| Disclosure question (DQ) | Yes | Disagreements | Disclosure question (DQ) | Yes | Disagreements |
|---|---|---|---|---|---|
| What did the study configure? | 11 How were modified or written tasks built? | 207 (75%) | 39 | ||
| 1 Can the outer harness be set up again? | 103 (32%) | 49 | What can be checked afterwards? | ||
| 2 Which tools could the model call? | 78 (24%) | 33 | 12 When were the experiments run? | 5 (2%) | 0 |
| Which harness ran the tasks? | 13 Are traces shared for every task attempt? | 31 (10%) | 1 | ||
| 3 Which version of each harness was used? | 15 (5%) | 5 | Are the outcomes comparable? | ||
| 4 Released, customized, or built? | 304 (94%) | 8 | 14 How was each measure computed? | 262 (81%) | 48 |
| 5 Which parts were customized or built? | 169 (77%) | 23 | 15 How much did repeated sessions vary? | 93 (29%) | 20 |
| 6 Is the source code shared or open? | 163 (50%) | 16 | 16 What did a session cost, in which unit? | 165 (51%) | 18 |
| Which model was used? | 17 Input and output tokens separately? | 28 (9%) | 4 | ||
| 7 Is every model named with its version? | 238 (73%) | 26 | 18 Can a reader derive the money spent? | 61 (19%) | 16 |
| 8 Which sampling and reasoning parameters? | 82 (25%) | 25 | What else affects validity? | ||
| Which tasks were run? | 19 Was contamination checked or mitigated? | 49 (15%) | 24 | ||
| 9 Which task set ran, in which version? | 309 (95%) | 10 | 20 Was an open-weight model included? | 152 (47%) | 7 |
| 10 Published, modified, or written tasks? | 317 (98%) | 1 | 21 Who answered agent requests? | 27 (8%) | 62 |
changed for the other. Comparing harnesses without identifying their models also makes MO unclear because the models may differ.
We assess the reporting of experiment configurations separately from changes between conditions (Section III). For example, Badertdinov et al. used the same harness throughout their model comparisons but did not report a harness version [17]. In this example, we code IH as held fixed because the paper describes no change in the harness, although the exact release is unreported.
III. REPORTING OF AGENTIC CODING TOOL STUDIES
We qualitatively annotated experiments in peer-reviewed full papers published in SE, AI/ML, and related fields. On September 22, 2026, we searched DBLP titles and arXiv abstracts for terms related to software, harnesses, and agentic tools. Merging the results yielded 21,654 records. Claude Opus 5 and Sonnet 5 independently screened all titles and abstracts to identify empirical studies of agentic coding tools on SE tasks. We obtained 3,673 full texts for candidate papers selected by at least one screening model. Both models independently read the full texts and applied our inclusion and exclusion criteria to decide which papers to keep. Claude Fable 5.1 read the full texts of the 561 papers with conflicting decisions and settled whether to include each one. After further validation checks, removal of duplicate study versions, and venue and length filters, we retained 146 peer-reviewed full papers published in 2025 and 2026. These 127 conference papers and 19 journal papers report 325 experiments. We then derived 21 disclosure questions (DQs) from the LLM guidelines [4], adapting and extending them to assess how papers report agentic coding tool configurations and outcomes. We developed a codebook for identifying experiments and contrasts, coding the five degrees of freedom as described in Section II, and answering the DQs. The supplementary material provides the search queries, inclusion and exclusion criteria, selection counts, codebook, prompts, and annotations [18].
We used Claude Code (Opus 5.5) subagents to annotate the paper full texts based on the codebook, a glossary, and a supplementary reference table documenting version formats for released harnesses encountered during the review. The subagents identified experiments and contrasts, recorded configurations and the authors' claimed causes, and answered the DQs with quotations. A script checked that quotations appeared on the cited pages and derived the codes for the five degrees of freedom deterministically from the subagents' contrast records. The first author resolved ambiguities, refined the codebook, and instructed the subagents to re-annotate papers affected by the rule changes. To assess coding reliability, we had GPT-6.1-Sol repeat the annotation through API calls using the same codebook, without sharing the Opus annotations.
To resolve disagreements about codes and experiment inclusion, we used separate Claude Code (Opus 5.5) subagents and GPT-6.1-Sol API calls as judges. The judges read the full papers and codebook without being told which model had produced each annotation. Where both judges recommended the same code, we applied it. After the first author clarified disputed codebook rules, the judges reconsidered remaining disagreements in two further rounds using each other's reasoning. The first author decided to mark 32 unresolved codes as unclear and include two experiments that the judges still disagreed about including. The final annotations contained 782 contrasts, grouped according to the rules in Section II.
Table I summarizes the DQ answers for these experiments and the annotation disagreements. Before disagreements were resolved, Opus 5.5 and GPT-6.1-Sol identified 358 distinct experiments in total. For the 278 experiments identified by both models, we compared their 21 DQ answers and codes for the five degrees of freedom. Disagreement was overall (95% CI [7.5%, 9.5%], papers resampled) and for the codes assigned to the five degrees of freedom. Figure 1 shows how the five degrees of freedom were coded in the 782 contrasts.
Exact versions of all harnesses run on the tasks were reported for 15 experiments (DQ3). Five reported experiment dates (DQ12), and 31 shared traces for every task attempt (DQ13).
In 238 experiments, the papers named the version of every model used (DQ7). In 30 of these experiments, all reported model versions included a date. For example, Badertdinov et al. reported the information requested by 14 of the 21 DQs for their main SWE-rebench experiment but did not report a harness version or experiment date or share traces for every task attempt [17].
For DQ3, we required a release number, tag, or commit identifier in the paper. We did not inspect linked repositories and archives. In the remaining 310 experiments, the papers did not give an exact version for one or more harnesses that the authors ran on the tasks. In 153 of these experiments, every harness was either open-source or had its source code linked in the paper (DQ6).
Of the 226 experiments that compared harness implementations or configurations, 191 included at least one contrast that changed only the harness, whereas 35 did not. However, 141 included a contrast changing model or tasks together with the harness. In 115 experiments, at least one contrast changed the model together with the harness. In 50 of these 115 experiments, the authors attributed an outcome difference to their proposed agent as a whole, including its model and harness. Of those 50 experiments, 43 included a separate contrast that changed the harness alone. Among the 298 contrasts that changed more than one degree of freedom, authors credited their proposed system as a whole in 111 contrasts, without separating the effects of the harness, model, or other changes. In seven contrasts, the authors specifically credited the inner or outer harness. In 118 contrasts, the papers did not report a cause for the outcome difference.
Our search could miss eligible papers with no arXiv record and no query term in their title. We did not search reference lists or citing papers. We excluded preprints without an eligible peer-reviewed full-paper version. We annotated only the paper full texts. Future work could include linked code and supplementary material to assess how much additional information about the experiments they provide. Screening, annotation, and judging relied mainly on Claude models, so their errors may be correlated. Because models can disagree less with each other than with human annotators [19], our 8.5% disagreement rate does not establish how often the models would agree with human annotators. We developed and applied the codebook on the same papers, without testing it on an independent set.
IV. REQUIREMENTS FOR A REFERENCE HARNESS
A shared, versioned reference harness would help independent teams test features on the same code and build comparable evidence about their effects and interactions across studies. Based on our results, we propose four requirements:
-
A pinnable release. Researchers must be able to select an exact harness release and keep it fixed throughout an experiment. Recording that release lets other studies use the same implementation. Only 15 of the 325 experiments that our study identified reported exact versions for all harnesses that the authors ran on the tasks.
-
Separately versioned extensions. An extension needs its own version identifier so that researchers can change a feature while keeping the core harness release fixed. In 40 of the 782 contrasts, the inner and outer harness changed together and no other degree of freedom changed, so their individual effects could not be separated.
-
Support for different models. The harness must support both open-weight and commercial models. Researchers can compare conditions with and without a feature using one model, then repeat that comparison with another model. In 115 experiments that we annotated, the model changed together with the harness.
-
Open-source. Closed harnesses such as Claude Code provide no source code for inspection or modification. A reference harness must therefore be open-source.
We assessed 11 open-source coding harnesses against the four requirements listed above by inspecting documentation, release records, and relevant source files for the latest releases. We selected 10 harnesses that accepted arbitrary tasks described in natural language and were frequently used in the papers we analyzed: Aider, Codex CLI*, Gemini CLI, mini-SWE-agent, OpenClaw*, opencode*, OpenHands*, Qwen Code*, SWE-agent, and Terminus 2. We added the pi* harness [20] because it is a popular open-source harness that focuses on minimality and extensibility. Superscript asterisks mark the six harnesses that satisfied all four requirements. We selected pi for the planned experiment (Section V) because its extensions can add native tools and replace the system prompt. For example, subagents and plan mode are provided as extensions rather than built-in features [20]. This allows us to evaluate each feature by adding its extension to a baseline in which that feature is absent.
V. FUTURE PLANS
We plan an experiment using the pi harness to estimate the effects and interactions of five separately versioned extensions: a permission gate, subagents, plan mode, a to-do list, and a compaction strategy. The first four add features absent from the inner harness, and the fifth replaces the built-in strategy. Prior studies varied one feature against a fixed harness, such as a codebase index [21], a permission mechanism [22], or harness rules [23]. We will test 16 of the 32 combinations in a resolution V fractional factorial design [24]. This halves the number of configurations while estimating each extension's average effect and pairwise interactions, assuming that interactions involving three or more extensions are negligible. Interactions between pairs of features were the most common in a study of configurable systems [25]. We will run each selected combination with one open-weight and one commercial model at dated snapshots on the same tasks, using executable oracles and a fixed execution environment. Repeated task attempts will estimate success, cost, and feature interactions. The experiment could be extended to opencode and to built-in features in Claude Code to test whether the findings generalize beyond pi.
We suggest that the SE community should agree on a reference harness. Then, SE venues could issue calls for dedicated tracks or special issues on features implemented as extensions to that harness. Before issuing a call, organizers would select a harness release, publish a baseline configuration, and choose tasks from published SE benchmarks with executable oracles. Submitted studies would compare their extensions against the baseline on those tasks, holding the harness release and model fixed within each feature comparison. Authors would report all five degrees of freedom and the execution dates and share traces for every task attempt. With a shared harness release and baseline, independent teams could repeat feature comparisons and combine evidence about their effects [26].
REFERENCES
[1] J. L. Lulla, V. Nersesyan, S. Mohsenimofidi, C. Treude, and S. Baltes, "Loop engineering: Building blocks, adoption, and impact," in 2nd Journal Ahead Workshop (JAWs@ASE), 2026, arXiv:2608.21884.
[2] Y. Zhang, J. Wang, Y. Ge, W. Xu, J. Hamm, and C. K. Reddy, "Stop comparing LLM agents without disclosing the harness," 2026, arXiv:2605.23950.
[3] S. Kapoor et al., “Holistic agent leaderboard: The missing infrastructure for AI agent evaluation,” 2025, arXiv:2510.11977.
[4] S. Baltes et al., “Guidelines for empirical studies in software engineering involving large language models,” 2025, arXiv:2508.15503v7, version 2026.06.
[5] S. Kapoor, B. Stroebl, Z. S. Siegel, N. Nadgir, and A. Narayanan, “AI agents that matter,” 2024, arXiv:2407.01502.
[6] P. Ralph et al., “ACM SIGSOFT empirical standards,” 2020, arXiv:2010.03525.
[7] D. Williams, M. Kechagia, M. Hort, A. Aleti, J. Petke, and F. Sarro, "Empirical and sustainability aspects of software engineering research in the era of large language models: A reflection," in Proceedings of the 48th IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER), 2026, pp. 141–145.
[8] J. Sallou, T. Durieux, and A. Panichella, “Breaking the silence: the threats of using LLMs in software engineering,” in Proceedings of the 46th ACM/IEEE International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER), 2024, pp. 102–106.
[9] S. Biderman et al., “Lessons from the trenches on reproducible evaluation of language models,” 2024, arXiv:2405.14782.
[10] M. A. Merrill et al., “Terminal-bench: Benchmarking agents on hard, realistic tasks in command line interfaces,” 2026, arXiv:2601.11868.
[11] SWE-agent contributors, “mini-SWE-agent,” https://github.com/SWE-agent/mini-swe-agent, 2026, v2.4.6, commit 04d809c.
[12] M. Galster, S. Mohsenimofidi, J. L. Lulla, M. A. Abubakar, C. Treude, and S. Baltes, “Configuring agentic AI coding tools: An exploratory
study," in Proceedings of the 3rd ACM International Conference on AI-Powered Software (AIware), 2026, pp. 11–20.
[13] Anthropic, “All settings: Claude Code settings reference,” https://code.claude.com/docs/en/settings-reference, 2026, documentation snapshot retrieved October 17, 2026.
[14] O. Ben Sghaier, H. Li, B. Adams, and A. E. Hassan, “Don’t blame the large language model: How agent harness evolution shapes coding agent quality,” 2026, arXiv:2607.03691.
[15] J. Lin et al., “Agentic harness engineering: Observability-driven automatic evolution of coding-agent harnesses,” 2026, arXiv:2604.25850.
[16] R. Shayanfar, K. Gallaba, and A. E. Hassan, “What does an agentic software engineering benchmark measure? Profiling task demands and agent behaviour beyond what category labels reveal,” 2026, arXiv:2609.01271.
[17] I. Badertdinov et al., “SWE-rebench: An automated pipeline for task collection and decontaminated evaluation of software engineering agents,” in Advances in Neural Information Processing Systems 38 (NeurIPS), Datasets and Benchmarks Track, 2025. [Online]. Available: http://papers.nips.cc/paper_files/paper/2025/hash/21bec6ace947b1b58967b945c8ac0f10-Abstract-Datasets_and_Benchmarks_Track.html
[18] Anonymous, “Toward evidence-based agentic software engineering (supplementary material),” Zenodo, https://doi.org/10.5281/zenodo.23592942, 2026.
[19] T. Ahmed, P. T. Devanbu, C. Treude, and M. Pradel, “Can LLMs replace manual annotation of software engineering artifacts?” in Proceedings of the 22nd IEEE/ACM International Conference on Mining Software Repositories (MSR), 2025, pp. 526–538.
[20] Earendil Works, “pi coding agent,” https://github.com/earendil-works/pi, 2026, tag v1.0.4, October 5, 2026, MIT.
[21] I. Bhola, A. Krishnan, S. Kurmala, and M. NS, “Code isn’t memory: A structural codebase index inside a coding agent,” 2026, arXiv:2606.22417.
[22] D. S. Bouras, Y. Dai, and S. Mechtaev, “Authority is not a string: A capability-scoped harness for prompt-injection-resistant coding agents,” 2026, arXiv:2609.08371.
[23] S. Lewis, “Same model, different harness: Different coding-agent results,” 2026, arXiv:2608.26218.
[24] D. C. Montgomery, Design and Analysis of Experiments, 10th ed. Wiley, 2019.
[25] N. Siegmund, A. Grebhahn, S. Apel, and C. Kästner, “Performance-influence models for highly configurable systems,” in Proceedings of the 10th Joint Meeting on Foundations of Software Engineering (ESEC/FSE), 2015, pp. 284–294.
[26] B. A. Kitchenham, T. Dybå, and M. Jørgensen, “Evidence-based software engineering,” in Proceedings of the 26th International Conference on Software Engineering (ICSE), 2004, pp. 273–281.