MEnvAgent: Scalable Polyglot Environment Construction for Verifiable Software Engineering
Not on the map. Why?
Abstract (arXiv)
The evolution of Large Language Model (LLM) agents for software engineering (SWE) is constrained by the scarcity of verifiable datasets, a bottleneck stemming from the complexity of constructing executable environments across diverse languages. To address this, we introduce MEnvAgent, a Multi-language framework for automated Environment construction that facilitates scalable generation of verifiable task instances. MEnvAgent employs a multi-agent Planning-Execution-Verification architecture to autonomously resolve construction failures and integrates a novel Environment Reuse Mechanism that reduces computational overhead by incrementally patching historical environments. Evaluations on MEnvBench, a new benchmark comprising 1,000 tasks across 10 languages, demonstrate that MEnvAgent outperforms baselines, improving Fail-to-Pass (F2P) rates by 8.6% while reducing time costs by 43%. Additionally, we demonstrate the utility of MEnvAgent by constructing MEnvData-SWE, the largest open-source polyglot dataset of realistic verifiable Docker environments to date, alongside solution trajectories that enable consistent performance gains on SWE tasks across a wide range of models. Our code, benchmark, and dataset are available at https://github.com/ernie-research/MEnvAgent.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 27 of its 38 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
27 of 38 references.
References · 27
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2025Kimi K2: Open Agentic Intelligencecited by 567
- 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 467
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
- 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 282
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 203
15 more
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 142
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmarkcited by 123
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 90
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 58
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
- 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
- 2025SWE-Mirror: Scaling Issue-Resolving Datasets by Mirroring Issues Across Repositoriescited by 31
- 2025Automated Benchmark Generation for Repository-Level Coding Taskscited by 29
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projectscited by 21
- 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Mannercited by 20
- 2025Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agentscited by 18
- 2023FlaPy: Mining Flaky Python Tests at Scalecited by 4
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Designcited by 12
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2026Change2Task: From Repository Changes to Executable Coding Agent Tasks and Environmentscited by 1
- 2026SWE-Stream: Scaling Executable Training Data for SWE Agents via Progressive Construction and Elastic Streamingcited by 0
- 2026SWE-Stream: Scaling Executable Training Data for SWE Agents via Progressive Construction and Elastic Streaming14 Oct 2026
- 2026Change2Task: From Repository Changes to Executable Coding Agent Tasks and Environments30 Jul 2026
- 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Design14 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026