Metraipolis › archive › dc_8726158c222c
HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents — arXiv:2611.06254
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.06254
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-05T18:16:58.344Z
- SHA-256 of the archived text
d270483378015a18887081bf8c369c0cc48636bac7e67bf563744e259aaa5ee4- Stable URL of this page
https://metraipolis.com/documento/dc_8726158c222c
How to cite
HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents — arXiv:2611.06254 — arXiv (en), https://arxiv.org/abs/2611.06254 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8726158c222c (Metraipolis archive dc_8726158c222c, sha256 d270483378015a18887081bf8c369c0cc48636bac7e67bf563744e259aaa5ee4)
BibTeX
@misc{dc8726158c222c,
title = {HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents — arXiv:2611.06254},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.06254},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8726158c222c; sha256 d270483378015a18887081bf8c369c0cc48636bac7e67bf563744e259aaa5ee4},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.06254. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The performance of large language model (LLM) agents depends on both the underlying model and the harness that governs interaction with tools and the environment. Yet harness design remains largely manual, and automating it requires navigating an open-ended search space through costly end-to-end evaluations. We introduce HarnessFlow, a framework for optimizing complete executable harnesses under a limited candidate-evaluation budget, with the model and task environment held fixed. HarnessFlow organizes candidates and their evaluation histories in a refinement tree, using a Monte Carlo Tree Search (MCTS)-based policy to balance exploitation and exploration. A coding agent refines selected harnesses using archived code, execution feedback, and a library of reusable harness mechanisms. With 15 refinement attempts per benchmark, HarnessFlow achieves the highest mean test scores among the compared methods on six benchmarks spanning agentic tasks, coding, and web interaction. The optimized harnesses achieve an average score of 69.48%, outperforming the initial harnesses and Meta-Harness by 10.89 and 3.95 percentage points, respectively, while incurring lower average per-task execution costs than hand-engineered baselines. These results suggest that structured harness search offers a promising route toward automating the design of capable and efficient LLM agents. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2611.06254 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-05T18:12:49.008Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).