SWE-agent is an open-source project built and maintained by researchers at Princeton University and Stanford University. Its core purpose is to receive a GitHub issue and attempt to automatically fix the problem using a user-selected large language model. In addition, it can also be used for offensive cybersecurity (such as CTF challenges) or competitive programming tasks. The project was published at NeurIPS 2024.
In terms of main capabilities, according to the official description, SWE-agent enables language models to autonomously use tools to fix issues in real GitHub repositories, discover cybersecurity vulnerabilities, or perform any custom task. Its features include: achieving leading performance on the SWE-bench benchmark for open-source projects; adopting a free-flowing and generalizable design that gives maximum autonomy to the language model; being configurable through a single yaml file and accompanied by complete documentation; and being designed for research, with a simple structure that is easy to modify.
In terms of usage, the official documentation covers command-line getting started (Hello world from the command line), benchmarking on SWE-bench, and frequently asked questions. Users can also try SWE-agent in the browser. The project is distributed through the GitHub repository and uses the MIT License.
Applicable scenarios include: automatically fixing issues in GitHub repositories, offensive cybersecurity (EnIGMA mode is used to solve capture the flag challenges and has achieved leading results on multiple cybersecurity benchmarks), competitive programming challenges, and any custom task.
Limitations and notes: The official project clearly states that most current development work has concentrated on mini-swe-agent, which has replaced SWE-agent, has performance comparable to SWE-agent but is simpler, and the official overall recommendation is to use mini-SWE-agent rather than SWE-agent going forward. During the update of EnIGMA mode to 1.0, the official recommendation is to use SWE-agent 0.7. Information about fees, pricing, and specific platform support is not currently provided in the materials.