智能体工具调用(agent harness)在工具反馈后会反复调用推理,即便更早的调用已确定了下一步动作。我们提出HarnessMM(Harness Minus Minus),一种通过受保护决策复用和递归自我改进(RSI)提升工具调用效率的方法。RSI从训练反馈中迭代优化配套工具调用配置,经验证后选择配置部署。模型-工具边界处的控制器复用已解决的决策,以替换后续的推理回调,而执行器权重保持固定。可执行决策图存储精确动作、字面参数、因果依赖和公共保护条件。受保护决策复用从观测到的回执中激活这些持久决策;认证回调替换通过原生接口执行这些决策,并记录已注册慢速回调的移除。新语义决策、不支持的证据和选择器弃权(不执行)会再次调用原始执行器。该表示限制了反馈可改变的内容,而完整任务测量确定了质量和成本。在HumanEval上,HarnessMM保留Codex的90.82%成功率,同时将每任务令牌数(千)从66.72降至47.02(节省29.54%);在DeepSeek工具调用上,成功率从71.43%升至85.71%,每任务令牌数(千)从96.28降至11.62(节省87.93%)。单独的MBPP ablation实验显示,其成本比单次使用决策图低26.91%,比保留回调低19.52%。这些结果确立受保护决策复用是减少现有工具调用中重复推理的实用方法。
英文摘要:
HarnessMinusMinus (HarnessMM) is a research project on improving the efficiency of agent harnesses, the software coordinating model reasoning, tool execution, and feedback. This technical report consolidates its shared framework, implementations, and empirical studies across coding, tool-based, and visual-agent settings. Agent harnesses often invoke reasoning after each tool result, even when earlier calls have already determined subsequent actions. HarnessMM addresses this overhead through guarded decision reuse and recursive self-improvement (RSI). RSI refines author prompts, context settings, and adapter rules using training feedback, with validation selecting deployment configurations. At inference time, a controller reuses resolved decisions while keeping actor weights fixed. Executable Decision Graphs encode actions, arguments, dependencies, and guards. Guarded Decision Reuse activates eligible decisions from observed feedback, while Certified Callback Substitution executes them through native tool interfaces, replacing redundant reasoning callbacks. The original actor resumes when new reasoning is required or reuse conditions are unmet. On HumanEval, HarnessMM preserves Codex success at 90.82\% while reducing tokens per task from 66.72k to 47.02k (29.54\% saving). For DeepSeek Harness, success improves from 71.43\% to 85.71\% while tokens decrease from 96.28k to 11.62k (87.93\% saving). An MBPP ablation shows 26.91\% lower cost than single-use graphs and 19.52\% lower cost than retained callbacks. The report also summarizes the HarnessMM-V visual-agent study and documents optimization overhead and execution time where measured. Together, these studies investigate guarded decision reuse across diverse agent harness settings. Code is available at https://github.com/YuhuaJiang2002/HarnessMM.
Recursive Harness Self-Improvement for Frontier Reasoning Data Synthesis
University of Science and Technology of China(中国科学技术大学);Shanghai University of Finance and Economics(上海财经大学);University of Cambridge(剑桥大学);Nanyang Technological University(南洋理工大学);EPIC Lab, Shanghai Jiao Tong University(上海交通大学EPIC实验室);Fudan University(复旦大学);University of Electronic Science and Technology of China(电子科技大学);Imperial College London(伦敦帝国理工学院)
MaD-RSI: Model-as-Data for Recursive Self-Improvement of Agent Harnesses
Beijing Institute of Technology(北京理工大学);Tsinghua University(清华大学);Chengdu Institute of Computer Applications, Chinese Academy of Sciences(中国科学院成都计算机应用研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing University of Technology(北京工业大学);Yangtze Delta Region Institute of Tsinghua University, Zhejiang(浙江清华长三角研究院)
Scaling Trajectories for Complex Tasks through Recursive Self-Rewrite
Tencent HY LLM Frontier(腾讯HY大语言模型前沿);University of Maryland, College Park(马里兰大学帕克分校);University of Georgia(佐治亚大学);National University of Singapore(新加坡国立大学);Indiana University(印第安纳大学);Washington University in St. Louis(圣路易斯华盛顿大学);Nanyang Technological University(南洋理工大学)
VideoHarness-SRSI: Structured Recursive Self-Improvement for Video Understanding Harness
University of California, Davis(加州大学戴维斯分校);Meta MRS Research(Meta MRS 研究);Duke University(杜克大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Cornell University(康奈尔大学);Purdue University(普渡大学)
ChartEvo: Self-Evolving Agent Harnesses for Long-Tail Chart Reasoning
State Key Laboratory of Multimodal Artificial Intelligence Systems, CASIA(中国科学院自动化研究所多模态人工智能系统国家重点实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);New Laboratory of Pattern Recognition, CASIA(中国科学院自动化研究所模式识别新实验室);Zhongguancun Academy(中关村学院)
Does Recursive Knowledge Construction Help Agents Verify Consensus Claims in Science?
European Bioinformatics Institute (EMBL-EBI), European Molecular Biology Laboratory(欧洲生物信息研究所(EMBL-EBI),欧洲分子生物学实验室);Institute for Computational Biomedicine, Heidelberg University, Faculty of Medicine, and Heidelberg University Hospital(海德堡大学医学院计算生物医学研究所及海德堡大学医院);EMBL Rome, European Molecular Biology Laboratory(欧洲分子生物学实验室罗马分部)
EvoCowork: A Benchmark for Real-World Office Tasks
Peking University(北京大学);Sun Yat-sen University(中山大学);Shanghai Jiao Tong University(上海交通大学);Minzu University of China(中央民族大学);Beihang University(北京航空航天大学);University of Science and Technology of China(中国科学技术大学)
AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems
The University of Chicago(芝加哥大学);Fudan University(复旦大学);TensorBlock, Inc.(TensorBlock公司);Tsinghua University(清华大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Beneath the Surface: What We Overlook When We Talk About Agent Evolution
University of Science and Technology of China(中国科学技术大学);University of California, Berkeley(加州大学伯克利分校);Beijing Institute for General Artificial Intelligence(北京通用人工智能研究院);Shanghai Jiaotong University(上海交通大学)
RSIFlow: Adaptive Self-Improvement Workflows with an Evolving Meta-Agent
Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing(未来区块链与隐私计算北京高精尖创新中心);School of Artificial Intelligence(人工智能学院);Beihang University(北京航空航天大学);Tsinghua University(清华大学);Beijing Academy of Artificial Intelligence (BAAI)(北京人工智能研究院)
VibeTraining-Bench: Data-Trainer-Harness Co-Design for Iterative System Improvement
Zhejiang University(浙江大学);Westlake University(西湖大学);Alibaba Group(阿里巴巴集团);South China University of Technology(华南理工大学);The Chinese University of Hong Kong(香港中文大学)
ScienceBuddy-PV: A Verifier-Governed Recursive Improvement Protocol for Panvascular Intervention Research
Zhongshan Hospital, Fudan University(复旦大学中山医院);Shanghai Institute of Cardiovascular Diseases(上海市心血管病研究所);State Key Laboratory of Cardiovascular Diseases(心血管疾病国家重点实验室);NHC Key Laboratory of Ischemic Heart Diseases(国家卫生健康委缺血性心脏病重点实验室);National Clinical Research Center for Interventional Medicine(国家介入医学临床研究中心);Key Laboratory of Viral Heart Diseases, Chinese Academy of Medical Sciences(中国医学科学院病毒性心脏病重点实验室);Institutes of Biomedical Sciences, Fudan University(复旦大学生物医学研究院);College of Biomedical Engineering, Fudan University(复旦大学生物医学工程学院);Shidong Hospital(上海市市东医院);University of Nottingham(诺丁汉大学)
Who Improves the Robot? Toward Physical Recursive Self-Improvement
Shanghai Jiao Tong University(上海交通大学);Google(谷歌);Microsoft(微软);University of California, Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学);Massachusetts Institute of Technology(麻省理工学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Nanyang Technological University(南洋理工大学);Nvidia(英伟达);Virginia Tech(弗吉尼亚理工大学);Xiaomi(小米);University of California, Davis(加州大学戴维斯分校);Tongji University(同济大学);University of Tokyo(东京大学);Singapore Management University(新加坡管理大学);Technical University of Munich(慕尼黑工业大学)
WorkRover: Scaling Long-Horizon Cowork Agent Training Via Recursive Environment Evolution
Fudan University(复旦大学);East China Normal University(华东师范大学);Renmin University of China(中国人民大学);Shanghai Qiji Zhifeng Co., Ltd.(上海齐骥智峰有限公司);Shanghai Innovation Institute(上海创新研究院)
Ouroboros: A Self-Developing Frontier Coding Agent with Reviewed Core Evolution
Lomonosov Moscow State University(莫斯科罗蒙诺索夫国立大学);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所);Artificial Intelligence Research Institute(人工智能研究所)