ResearchEnvBench: Benchmarking Agents on Environment Synthesis for Research Code Execution
Organizations: Shanghai Innovation Institution · College of Computer Science and Artificial Intelligence, Fudan University · OpenMOSS · Wuhan University ·
Abstract
Autonomous agents are increasingly expected to support scientific research, and recent benchmarks report progress in code repair and autonomous experimentation. However, these evaluations typically assume a pre-configured execution environment, which requires resolving complex software dependencies, aligning hardware and framework versions, and configuring distributed execution, yet this capability remains largely unbenchmarked. We introduce ResearchEnvBench, a benchmark for environment synthesis in research code execution. Given a research repository, documentation, and a target execution setting, agents must construct an environment that successfully executes at runtime. Evaluations on diverse research repositories reveal a substantial gap in current SOTA agents, with failures dominated by incomplete dependency resolution and brittle version coupling. ResearchEnvBench provides a realistic testbed for advancing autonomous agents toward reproducible scientific research.
Figures & tables
| Benchmark | Repos | Langs | Domain | HW Aware | Evaluation |
| Installamatic [ 17 ] | 40 | Py | Gen. SWE | ✗ | Build success |
| EnvBench [ 5 ] | 994 | Py, JVM | Gen. SWE | ✗ | Missing imports |
| SUPER [ 18 ] | 45 | Py | ML | ✗ | CPU execution |
| Multi-Docker-Eval [ 6 ] | 40 | 9 langs | Gen. SWE | ✗ | Build + tests |
| SetupBench [ 16 ] | 54 | 7 langs | DevOps | ✗ | Functional checks |
| ResearchEnvBench (Ours) | 44 | Py, C++ | AI/HPC | ✓ | Runtime pyramid ( – ) |
| Agent | missing/total | CPU SR | CUDA SR | 1-GPU SR | DDP SR | path | version | cap. | total |
| Codex (GPT-5.1-Codex) | 675/2858 (23.6%) | 17/29 (58.6%) | 35/44 (79.5%) | 19/43 (44.2%) | 11/32 (34.4%) | 0 | 0 | 4 | 4 |
| Claude Code Agent (GLM-4.7) | 761/2858 (26.6%) | 16/29 (55.2%) | 40/44 (90.9%) | 21/43 (48.8%) | 12/32 (37.5%) | 0 | 1 | 17 | 18 |
| Claude Code Agent (Sonnet 4.5) | 728/2858 (25.5%) | 15/29 (51.7%) | 41/44 (93.2%) | 18/43 (41.9%) | 12/32 (37.5%) | 0 | 0 | 20 | 20 |
| NexAU (DeepSeek-V3.1-Nex-N1) | 722/2858 (25.3%) | 16/29 (55.2%) | 41/44 (93.2%) | 21/43 (48.8%) | 11/32 (34.4%) | 1 | 1 | 14 | 16 |
| Agent | Avg. Tokens (k) | Avg. Setup Time (min) | Avg. Env Size (GB) | Success Rate (%) |
| Codex (GPT-5.1-Codex) | 48.4 | 6.8 | 6.06 | 34.4 (11/32) |
| Claude Code (GLM-4.7) | – | 9.8 | 6.65 | 37.5 (12/32) |
| Claude Code (Sonnet 4.5) | – | 13.3 | 6.88 | 37.5 (12/32) |
| NexAU (DeepSeek-V3.1-Nex-N1) | 957.1 | 9.2 | 6.55 | 34.4 (11/32) |
AI Agent Benchmarks
AI agent benchmarks measure how reliably autonomous systems plan, use tools, interact, and complete tasks across controlled and real-world settings.
See all 1,482 papers