SWE-World: Building Software Engineering Agents in Docker-Free Environments
Abstract
AbstractRecent advances in large language models (LLMs) have enabled software engineering agents to solve complex code modification tasks. However, most existing approaches rely on execution feedback from Docker-based environments, which require dependency-complete setup, program execution, and test validation, making agent training costly and difficult to scale. We propose SWE-World, a Docker-free framework that replaces containerized execution during downstream agent optimization with a learned surrogate environment. Trained on real agent-environment interaction traces, SWE-World predicts both step-level execution feedback and final test outcomes, preserving the standard agent-environment loop without repeatedly constructing or running Docker environments. This surrogate also enables test-time scaling (TTS) by scoring multiple candidate trajectories through simulated evaluation. Experiments on SWE-bench Verified show that SWE-World improves Qwen2.5-Coder-32B-Instruct from 6.2% to 52.0% with Docker-free SFT, 55.0% with Docker-free RL, and 68.2% with TTS. The code is available at https://anonymous.4open.science/r/SWE-World-2D1E.