HarnessDev:LLM能否创建并进化自己的智能体框架?

·

研究论文 · 2026/09/03

随着智能体从研究原型走向部署工具,其能力越来越依赖于模型外部的执行基础设施,即智能体框架。在保持模型权重不变的情况下改变框架会显著影响任务性能。当前的智能体评估通常在选定框架下报告下游性能,而较少探索模型自身开发框架的能力。我们提出了HarnessDev基准,将评估单元从任务输出转向可运行的框架。HarnessDev涵盖两个阶段:创建阶段,智能体从最小种子和少量案例开始,构建完整执行系统;进化阶段,智能体从自身创建的框架出发,利用下游执行反馈迭代修改,以提高基准性能。我们评估每个构建框架的能力(在保留基准上的任务成功率)和效率(执行令牌成本)。创建结果涵盖六个创建者LLM、四个领域和五个下游基准,共2207个独特下游实例,并保留隐藏评估任务。我们发现生成的框架在代码、搜索和研究方面仍远落后于成熟的人工工程参考,但在写作和机器学习实验方面达到或超过所选参考,执行成本差异大。进化带来一些性能提升,但不稳定且仅部分迁移到保留任务。使用固定运行时模型的实验进一步表明,收益强烈依赖于执行框架的模型,表明跨模型迁移有限。

该论文提出新颖的HarnessDev基准,聚焦于智能体框架的自动构建与进化,填补了现有评估忽视框架开发能力的空白。通过多领域、多模型实验揭示生成框架的性能差异与进化不稳定性,对智能体基础设施的自动化和可迁移性研究具有重要参考价值。

As agents move from research prototypes to deployed tools, their capability increasingly depends on model-external execution infrastructure, commonly termed the agent harness. Changing this harness while holding model weights fixed can substantially alter task performance. Current agent evaluations typically report downstream performance under a chosen harness, leaving a model's ability to develop the harness itself comparatively underexplored. We introduce HarnessDev, a benchmark that shifts the unit of evaluation from task outputs to runnable infrastructure. HarnessDev covers two stages. In Creation, the agent starts from a minimal seed and a small number of cases, then builds a complete execution system. In Evolution, it starts from its own created harness and iteratively revises it using downstream execution feedback, with the goal of improving benchmark performance. We then evaluate each constructed harness on capability (task success on held-out benchmarks) and efficiency (execution-token cost). The reported Creation results cover six creator LLMs, four domains, and five downstream benchmarks totaling 2,207 unique downstream instances, with hidden evaluation tasks withheld from development. We find that generated harnesses remain substantially behind mature human-engineered references on code and on search and research, while matching or exceeding the selected references on writing and machine-learning experimentation, with large variation in execution cost. Evolution produces some performance gains, but they are unstable and transfer only partially to held-out tasks. Experiments with a fixed runtime model further show that the gains depend strongly on the model executing the harness, indicating limited transfer across models.

阅读原文

参与讨论