AI
OpenSWE: Largest Open-Source Framework for Training Software Engineering AI Agents
Researchers release a $1.47 million infrastructure dataset with 45,000+ executable environments to train more capable code-fixing AI systems.
Developing software engineering (SWE) agents that can autonomously fix code and solve programming tasks requires vast collections of realistic, executable test environments. Yet most open-source resources are limited in scope and diversity, while industry tools remain closed off—creating a steep hurdle for academic researchers. A new study introduces OpenSWE, an effort to democratize this landscape.
What is OpenSWE?#
OpenSWE is described as the largest fully transparent framework for training SWE agents, built entirely in Python. It comprises 45,320 executable Docker environments spanning over 12,800 distinct repositories. Crucially, all Dockerfiles, evaluation scripts, and infrastructure are open-sourced for reproducibility—removing the opacity that typically guards proprietary industrial systems.
How it was built#
The infrastructure was constructed via a multi-agent synthesis pipeline deployed on a 64-node distributed cluster. This automated approach handled repository exploration, Dockerfile generation, evaluation script creation, and iterative test refinement. The project invested approximately $891K on environment construction alone, with an additional $576K on trajectory sampling and difficulty-centric filtering, totaling a $1.47 million investment that yielded roughly 13,000 curated trajectories from 9,000 quality-verified environments.
Quality through filtering#
Beyond raw scale, the team implemented a quality-focused filtering pipeline designed to identify and remove problematic instances. The system discards both unsolvable environments and those lacking sufficient challenge, retaining only examples that maximize learning efficiency for training agents.
Performance results#
Models trained on OpenSWE—including OpenSWE-32B and OpenSWE-72B based on the Qwen2.5 series—achieved 62.4% and 66.0% respectively on the SWE-bench Verified benchmark, establishing new performance records for this architecture family. Beyond code-focused metrics, SWE training yielded spillover benefits: up to 12 percentage points on mathematical reasoning and 5 points on science benchmarks, without eroding factual recall.

