arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.23258cs.SEcs.AI
收藏

EnvAgent:在云端构建科学环境的多智能体方法

EnvAgent: Multi-Agent Approach to Building Science Environments in the Clouds

Yiming Cheng, Chris Low, Binrui Huang, Mengshi Zhang, Zihao Chen, Kate Keahey, Paul Marshall, Kexin Pei

AI总结:

ENVAGENT是用于构建科学环境的多智能体框架,结合确定性工具与协调智能体,在ENVBENCH基准测试中,其构建可执行Docker环境的数量及综合评分均显著优于Codex和Claude Code。

摘要:

AI智能体正在变革科学计算与软件工作流,但生成和执行代码需要配置正确的执行环境。自动化环境构建仍存在困难,因为代码仓库编码了异构且通常不完整的操作系统、工具链、依赖项及构建流程需求。现有工作流依赖开发者维护的Dockerfile和安装脚本,导致准备工作耗时费力、难以扩展,还可能使评估产生偏差。我们提出ENVAGENT,这是一个合成、构建并验证代码仓库级Docker环境的智能体框架。ENVAGENT将用于Docker执行和状态管理的确定性工具,与负责代码仓库分析、规划、Dockerfile合成及迭代故障诊断与修复的协调智能体相结合。我们还推出ENVBENCH,这是一个包含54个科学制品和开源代码仓库的基准测试集,涵盖来自Chameleon Trovi和Multi-SWE-bench的七种语言。针对每个代码仓库,我们整理了所需结构、配置和功能的声明式标准,并有一个共享评估器对生成的环境应用2108项加权检查。在四种匹配的语言模型设置下,ENVAGENT平均在54个代码仓库中构建出43.5个可执行环境,而Codex和Claude Code分别为23.5个;在可执行性与标准满足度的综合评分上,ENVAGENT得分为62.02,而Codex和Claude Code为24.19。这些结果表明,针对环境的智能体编排能显著改进自动化环境构建。

英文摘要:

AI agents are transforming scientific computing and software workflows, but generating and executing code requires a correctly configured execution environment. Automating environment construction remains difficult because repositories encode heterogeneous, often incomplete requirements for operating systems, toolchains, dependencies, and build procedures. Existing workflows thus rely on developer-maintained Dockerfiles and setup scripts, making preparation labor-intensive, hard to scale, and potentially biasing evaluations. We present ENVAGENT, an agentic framework that synthesizes, builds, and verifies repository-level Docker environments. ENVAGENT combines deterministic utilities for Docker execution and state management with coordinated agents for repository analysis, planning, Dockerfile synthesis, and iterative failure diagnosis and repair. We also introduce ENVBENCH, a benchmark of 54 scientific artifacts and open-source repositories spanning seven languages from Chameleon Trovi and Multi-SWE-bench. For each repository, we curate a declarative rubric of required structure, configuration, and functionality, and a shared evaluator applies 2,108 weighted checks across generated environments. Across four matched language-model settings, ENVAGENT constructs 43.5 executable environments out of 54 on average, versus 23.5 for Codex and Claude Code, and scores 62.02 versus 24.19 on a composite of executability and rubric satisfaction. These results show that environment-specific agent orchestration substantially improves automated environment construction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑