HM-ROUTER: Joint Model and Harness Routing for Agentic Systems
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Reinforcement learning for LLM agents
Abstract (arXiv)
Agent performance depends on both the underlying model and the harness that manages its tool use and execution. Selecting a suitable pair requires accounting for their compatibility, yet training samples may cover only a subset of the growing combination space. We introduce HM-Router, a routing method that jointly selects a model and harness for each query. It learns separate model and harness representations shared across routes, with an interaction term inspired by canonical polyadic (CP) tensor decomposition to capture how their compatibility varies with the query. This sharing allows training samples from observed pairs to inform predictions for unobserved combinations. We curate a benchmark from 12 public agent benchmarks, covering 293 routes, 73 models, and 25 harnesses. HM-Router exceeds the strongest evaluated learned baseline by 7.3 percentage points in mean routing accuracy and leads at all seven evaluated cost budgets on the six-benchmark subset. When 90% of routes have their training outcomes withheld, allowing unobserved combinations improves normalized accuracy by 15.8 points over restricting the same router to observed routes. HM-Router has also demonstrated training sample efficiency for new routes and components and generalization to unseen benchmarks. Our code and data are open-sourced at https://github.com/hmarkc/HM-Router.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 35 of its 45 references that are in the map. First posted on arXiv 26 Sep 2026.
Builds on
35 of 45 references.
Closest ancestors · 5
Same direction, newest first
- 2026Agentic Routing: The Harness-Native Data Flywheel13 Jul
- 2026Agent-as-a-Router: Agentic Model Routing for Coding Tasks22 Jun
- 2026Workspace-Bench 1.0: Benchmarking AI Agents on Workspace Tasks with Large-Scale File Dependencies5 May
- 2025Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation13 Oct
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains17 Jun
Other references · 30
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2023GAIA: a benchmark for General AI Assistantscited by 1,084
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 547
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
18 more
- 2024AFlow: Automating Agentic Workflow Generationcited by 395
- 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Taskscited by 289
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
- 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 208
- 2024SciCode: A Research Coding Benchmark Curated by Scientistscited by 172
- 2025An Illusion of Progress? Assessing the Current State of Web Agentscited by 165
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 154
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 119
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmarkcited by 115
- 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 63
- 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflowscited by 44
- 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
- 2025The Avengers: A Simple Recipe for Uniting Smaller Language Models to Challenge Proprietary Giantscited by 37
- 2025Beyond GPT-5: Making LLMs Cheaper and Better via Performance-Efficiency Optimized Routingcited by 32
- 2026Agents' Last Examcited by 25
- 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streamscited by 20
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Taskscited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AgentRouter: Heterogeneous Model Routing for Cost-Optimal Multi-Step Agentic Workflows
- 2026CASTER: Breaking the Cost-Performance Barrier in Multi-Agent Orchestration via Context-Aware Strategy for Task Efficient Routing
- 2026RouteMoA: Dynamic Routing without Pre-Inference Boosts Efficient Mixture-of-Agents
- 2026Learning Agent Routing From Early Experience
- 2026Learning Compositional Meta-Routing for Agentic Workflows: An Executable Benchmark
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systems
- 2026TwinRouterBench: Fast Static and Live Dynamic Evaluation for Realistic Agentic LLM Routing
- 2026RSI-Router: Evolving Subtask-Level LLM Routing and Skills for Cost-Efficient Agents