Large language models (LLMs) embedded in multi-turn agentic harnesses are reshaping software engineering (SWE), but routing every task to a frontier model is wasteful when many issues admit cheap fixes. Existing LLM routers operate on the task description alone, which inherits an information-theoretic Bayes-error floor in agentic settings: a similar issue can hide either a localized typo or a multi-module refactor, and the prompt does not separate the two. We introduce SWE-Router, a value-based temporal approach that lets a cheap model run for a few exploratory turns and reads the resulting partial trajectory before deciding whether to continue cheaply or to escalate to an expensive model. We provide a Bayes-optimality theorem showing that conditioning on the partial trajectory never harms routing and is strictly better whenever exploration is informative. Across the LLM pairs of weak and strong models spanning the contemporary cost--capability frontier, we show that SWE-Router greatly improves the cost efficiency of SWE tasks, while maintaining the majority of the performances of the stronger model. We additionally release a multi-LLM trajectory dataset which allows reproduction of our trajectory-level routing.
Agent-as-a-Router: Agentic Model Routing for Coding Tasks
National University of Singapore(新加坡国立大学);DAMO Academy, Alibaba Group(阿里巴巴达摩院);University of California, Berkeley(加州大学伯克利分校);The Hong Kong University of Science and Technology(香港科技大学);Zhejiang University(浙江大学)
Where Is the Cost of Third-Party API Routers in Agentic Software Development?
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);School of Software, Beihang University(北京航空航天大学软件学院);School of Computer Science, Peking University(北京大学计算机科学学院)
研究第三方 API 路由器在代理软件开发中的影响,通过实证研究编码代理中路由器端注入的四个干预级别,开发 SIDEL 框架评估代理,发现路由器端干预难测,客户端缓解措施未完全恢复控制,强调需提供商端输出完整性保证。
Agentic Router: An Execution-Grounded Continual Learning Approach With Memory
Zhejiang University(浙江大学);Zhejiang Lab(之江实验室);State Grid Hebei Electric Power Co., Ltd.(国网河北省电力有限公司);Macau University of Science and Technology(澳门科技大学)
OctoT2I: A Self-Evolving Agentic Text-to-Image Router
School of Electronic and Computer Engineering, Peking University(电子与计算机工程学院,北京大学);Guangdong Provincial Key Laboratory of Ultra High Definition Immersive Media Technology, Shenzhen Graduate School, Peking University(广东省超高清沉浸媒体技术重点实验室,北京大学深圳研究生院)
Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks
Singapore Management University(新加坡管理大学);University of Alberta(阿尔伯塔大学);Nanjing University of Science and Technology(南京理工大学);Tel Aviv University(特拉维夫大学)
TwinRouterBench: Fast Static and Live Dynamic Evaluation for Realistic Agentic LLM Routing
Gradient;Soochow University(苏州大学);Independent Researcher(独立研究者);University of Southern California(南加州大学);Rice University(Rice大学);Carnegie Mellon University(卡内基梅隆大学);Shanghai Jiao Tong University(上海交通大学);University of California, Berkeley(加州大学伯克利分校);University of the Chinese Academy of Sciences(中国科学院大学);University of California, Los Angeles(加州大学洛杉矶分校)
Phase-Aware Mixture of Experts for Agentic Reinforcement Learning
School of Computer Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院,南京,中国);College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学 computing and Data Science学院,新加坡)
SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding
University of Waterloo(滑铁卢大学);University of Toronto(多伦多大学);The Hong Kong University of Science and Technology(香港科学与技术大学);McGill University & MILA(麦吉尔大学及MILA);Verdent AI, Inc.(Verdent AI公司)
SWE-Mutation: Can LLMs Generate Reliable Test Suites in Software Engineering?
State Key Laboratory of Cognitive Intelligence(认知智能国家重点实验室);University of Science and Technology of China(中国科学技术大学);Beihang University(北航);School of Mathematical Sciences, Peking University(北京大学数学科学学院);NeoShell AI;Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment
Centre for Software Excellence, Huawei Canada(华为加拿大软件卓越中心);Department of Computer Science, University of Manitoba, Canada(曼尼托巴大学计算机科学系);School of Computing, Queen’s University, Canada(皇后大学计算科学学院)
Meta Superintelligence Labs(Meta超级智能实验室);University of Washington(华盛顿大学);New York University(纽约大学);Google DeepMind(谷歌DeepMind);Carnegie Mellon University(卡内基梅隆大学);Princeton University(普林斯顿大学)