SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice.
Open-source alternative to Claude Code and Cursor and GitHub Copilot
SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice.
READMESWE-agent/SWE-agent on GitHub
Warning Most of our current development effort is on mini-swe-agent, which has superseded SWE-agent. It matches the performance performance of SWE-agent, while being much simpler. See the FAQ for more details about the differences. Our general recommendation is to use mini-SWE-agent instead of SWE-agent going forward.
SWE-agent enables your language model of choice (e.g. GPT-4o or Claude Sonnet 4) to autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities, or perform any custom task.
yaml fileSWE-agent is built and maintained by researchers from Princeton University and Stanford University.
👉 Try SWE-agent in your browser: (more information)
Read our documentation to learn more:
SWE-agent: EnIGMA is a mode for solving offensive cybersecurity (capture the flag) challenges. EnIGMA achieves state-of-the-art results on multiple cybersecurity benchmarks (see leaderboard). Please use SWE-agent 0.7 while we update EnIGMA for 1.0.
In addition, you might be interested in our other projects:
If you'd like to contribute to the codebase, we welcome issues and pull requests! For larger code changes, we always encourage discussion in issues first.
SWE-agent is an academic project started at Princeton University by John Yang*, Carlos E. Jimenez*, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. Contact person: John Yang, Carlos E. Jimenez, and Kilian Lieret (Email: [email protected], [email protected], [email protected]).
If you found this work helpful, please consider citing it using the following:
@inproceedings{yang2024sweagent,
title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
year={2024},
url={https://arxiv.org/abs/2405.15793}
}
If you used the summarizer, interactive commands or the offensive cybersecurity capabilities in SWE-agent, please also consider citing:
@misc{abramovich2024enigmaenhancedinteractivegenerative,
title={EnIGMA: Enhanced Interactive Generative Model Agent for CTF Challenges},
author={Talor Abramovich and Meet Udeshi and Minghao Shao and Kilian Lieret and Haoran Xi and Kimberly Milner and Sofija Jancheska and John Yang and Carlos E. Jimenez and Farshad Khorrami and Prashanth Krishnamurthy and Brendan Dolan-Gavitt and Muhammad Shafique and Karthik Narasimhan and Ramesh Karri and Ofir Press},
year={2024},
eprint={2409.16165},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2409.16165},
}
MIT. Check LICENSE.
Last updated from GitHub: 13 minutes ago
GitHub numbers are refreshed a few times a day.
The chart fills in as daily star counts are collected.
Every open-source alternative to Claude Code and Cursor and GitHub Copilot listed here, side by side. Click a column to sort.
DeepSeek Harness | 289k | – | MIT | 2 days ago | – |
|---|---|---|---|---|---|
Hermes Agent | 267k | – | MIT | 16 minutes ago | – |
OpenCode | 230k | – | MIT | 3 hours ago | – |
Claw Code | 195k | – | MIT | 1 day ago | – |
Codex CLI | 137k | – | Apache-2.0 | 24 minutes ago | – |
Pi | 125k | – | MIT | 1 hour ago | – |
Gemini CLI | 109k | – | Apache-2.0 | 54 minutes ago | – |
OpenHands | 94.6k | – | MIT | 1 hour ago | – |
T3 Code | 84.6k | +10k | MIT | 6 hours ago | – |
Cline | 72k | – | Apache-2.0 | 12 hours ago | – |
MetaGPT | 71.5k | – | MIT | 10 months ago | – |
Open Interpreter | 69k | – | Apache-2.0 | 1 day ago | – |
Log in or create an account to comment.
No comments yet. Be the first.
Show it off: a live card with your rank and rating, updated by itself.
Prefer the small one? Add ?style=flat