{"id":22701369,"url":"https://github.com/SWE-agent/SWE-agent","last_synced_at":"2025-08-07T09:32:15.045Z","repository":{"id":231050049,"uuid":"780737106","full_name":"SWE-agent/SWE-agent","owner":"SWE-agent","description":"[NeurIPS 2024] SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges.","archived":false,"fork":false,"pushed_at":"2024-12-07T22:18:37.000Z","size":37192,"stargazers_count":13821,"open_issues_count":21,"forks_count":1402,"subscribers_count":99,"default_branch":"main","last_synced_at":"2024-12-07T22:25:07.991Z","etag":null,"topics":["agent","agent-based-model","ai","cybersecurity","developer-tools","llm","lms"],"latest_commit_sha":null,"homepage":"https://swe-agent.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SWE-agent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-02T04:09:47.000Z","updated_at":"2024-12-07T22:18:13.000Z","dependencies_parsed_at":"2024-07-17T16:54:07.429Z","dependency_job_id":"d35d4b9e-6c2a-4061-a346-aa88f93075f8","html_url":"https://github.com/SWE-agent/SWE-agent","commit_stats":null,"previous_names":["princeton-nlp/swe-agent","swe-agent/swe-agent"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SWE-agent%2FSWE-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SWE-agent%2FSWE-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SWE-agent%2FSWE-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SWE-agent%2FSWE-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SWE-agent","download_url":"https://codeload.github.com/SWE-agent/SWE-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228930392,"owners_count":17993522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","agent-based-model","ai","cybersecurity","developer-tools","llm","lms"],"created_at":"2024-12-10T07:01:44.706Z","updated_at":"2025-08-07T09:32:15.032Z","avatar_url":"https://github.com/SWE-agent.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://swe-agent.com/latest/\"\u003e\n    \u003cimg src=\"assets/swe-agent-banner.png\" alt=\"swe-agent.com\" style=\"height: 7em\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://swe-agent.com/latest/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Docs-green?style=for-the-badge\u0026logo=materialformkdocs\u0026logoColor=white\" alt=\"Docs\"\u003e\u003c/a\u003e\n\u003ca href=\"https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ\"\u003e\u003cimg src=\"https://img.shields.io/badge/Slack-4A154B?style=for-the-badge\u0026logo=slack\u0026logoColor=white\" alt=\"Slack\"\u003e\u003c/a\u003e\n\u003ca href=\"https://arxiv.org/abs/2405.15793\"\u003e\u003cimg src=\"https://img.shields.io/badge/arxiv-2405.15793-red?style=for-the-badge\u0026logo=arxiv\u0026logoColor=white\u0026labelColor=black\" alt=\"arxiv 2405.15793\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\nSWE-agent enables your language model of choice (e.g. GPT-4o or Claude Sonnet 4) to autonomously use tools to\n[fix issues in real GitHub repositories](https://swe-agent.com/latest/usage/hello_world),\n[find cybersecurity vulnerabilities](https://enigma-agent.com/), or\n[perform any custom task](https://swe-agent.com/latest/usage/coding_challenges).\n\n* ✅ **State of the art** on SWE-bench among open-source projects\n* ✅ **Free-flowing \u0026 generalizable**: Leaves maximal agency to the LM\n* ✅ **Configurable \u0026 fully documented**: Governed by a single `yaml` file\n* ✅ **Made for research**: Simple \u0026 hackable by design\n\nSWE-agent is built and maintained by researchers from Princeton University and Stanford University.\n\n## 📣 News\n\n* July 24: [Mini-SWE-Agent](https://github.com/SWE-agent/mini-SWE-agent) achieves 65% on SWE-bench verified in 100 lines of python!\n* May 2: [SWE-agent-LM-32b](https://github.com/SWE-bench/SWE-smith) achieves open-weights SOTA on SWE-bench\n* Feb 28: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-Bench full](https://x.com/KLieret/status/1895487966409298067)\n* Feb 25: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-bench verified](https://x.com/KLieret/status/1894408819670733158)\n* Feb 13: [Releasing SWE-agent 1.0: SoTA on SWE-bench light \u0026 tons of new features](https://x.com/KLieret/status/1890048205448220849)\n* Dec 7: [An interview with the SWE-agent \u0026 SWE-bench team](https://www.youtube.com/watch?v=fcr8WzeEXyk)\n\n## 🚀 Get started!\n\n👉 Try SWE-agent in your browser: [![Open in GitHub Codespaces](https://img.shields.io/badge/Open_in_GitHub_Codespaces-gray?logo=github)](https://codespaces.new/SWE-agent/SWE-agent) ([more information](https://swe-agent.com/latest/installation/codespaces/))\n\nRead our [documentation][docs] to learn more:\n\n* [Installation](https://swe-agent.com/latest/installation/source/)\n* [Hello world from the command line](https://swe-agent.com/latest/usage/hello_world/)\n* [Benchmarking on SWE-bench](https://swe-agent.com/latest/usage/batch_mode/)\n* [Frequently Asked Questions](https://swe-agent.com/latest/faq/)\n\n[docs]: https://swe-agent.com\n\n## SWE-agent for offensive cybersecurity (EnIGMA) \u003ca name=\"enigma\"\u003e\u003c/a\u003e\n\n\u003cimg src=\"https://github.com/user-attachments/assets/84599168-11a7-4776-8a49-33dbf0758bb2\" height=\"80px\"\u003e\u003c/img\u003e\n\n[SWE-agent: EnIGMA][enigma] is a mode for solving offensive cybersecurity (capture the flag) challenges.\nEnIGMA achieves state-of-the-art results on multiple cybersecurity benchmarks (see [leaderboard](https://enigma-agent.com/#results)).\nPlease use [SWE-agent 0.7](https://github.com/SWE-agent/SWE-agent/tree/v0.7) while we update EnIGMA for 1.0.\n\n[enigma]: https://enigma-agent.com\n[SWE-bench]: https://github.com/SWE-bench/SWE-bench\n[nyu-ctf]: https://arxiv.org/abs/2406.05590\n\nIn addition, you might be interested in our other projects:\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/SWE-agent/mini-SWE-agent\"\u003e\u003cimg src=\"docs/assets/mini_logo_text_below.svg\" alt=\"Mini-SWE-Agent\" height=\"120px\"\u003e\u003c/a\u003e\n   \u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/SWE-agent/SWE-ReX\"\u003e\u003cimg src=\"docs/assets/swerex_logo_text_below.svg\" alt=\"SWE-ReX\" height=\"120px\"\u003e\u003c/a\u003e\n   \u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/SWE-bench/SWE-bench\"\u003e\u003cimg src=\"docs/assets/swebench_logo_text_below.svg\" alt=\"SWE-bench\" height=\"120px\"\u003e\u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\n  \u003c!-- \u003ca href=\"https://github.com/SWE-agent/SWE-agent\"\u003e\u003cimg src=\"docs/assets/sweagent_logo_text_below.svg\" alt=\"SWE-agent\" height=\"120px\"\u003e\u003c/a\u003e --\u003e\n  \u003ca href=\"https://github.com/SWE-bench/SWE-smith\"\u003e\u003cimg src=\"docs/assets/swesmith_logo_text_below.svg\" alt=\"SWE-smith\" height=\"120px\"\u003e\u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/SWE-bench/sb-cli\"\u003e\u003cimg src=\"docs/assets/sbcli_logo_text_below.svg\" alt=\"sb-cli\" height=\"120px\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Contributions \u003ca name=\"contributions\"\u003e\u003c/a\u003e\n\nIf you'd like to contribute to the codebase, we welcome [issues](https://github.com/SWE-agent/SWE-agent/issues) and [pull requests](https://github.com/SWE-agent/SWE-agent/pulls)! For larger code changes, we always encourage discussion in issues first.\n\n## Citation \u0026 contact \u003ca name=\"citation\"\u003e\u003c/a\u003e\n\nSWE-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.\nContact person: [John Yang](https://john-b-yang.github.io/), [Carlos E. Jimenez](http://www.carlosejimenez.com/), and [Kilian Lieret](https://www.lieret.net/) (Email: johnby@stanford.edu, carlosej@princeton.edu, kl5675@princeton.edu).\n\nIf you found this work helpful, please consider citing it using the following:\n\n\u003cdetails\u003e\n\u003csummary\u003e SWE-agent citation\u003c/summary\u003e\n\n```bibtex\n@inproceedings{yang2024sweagent,\n  title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},\n  author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},\n  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},\n  year={2024},\n  url={https://arxiv.org/abs/2405.15793}\n}\n```\n\u003c/details\u003e\n\nIf you used the summarizer, interactive commands or the offensive cybersecurity capabilities in SWE-agent, please also consider citing:\n\n\u003cdetails\u003e\n\u003csummary\u003eEnIGMA citation\u003c/summary\u003e\n\n```bibtex\n@misc{abramovich2024enigmaenhancedinteractivegenerative,\n      title={EnIGMA: Enhanced Interactive Generative Model Agent for CTF Challenges},\n      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},\n      year={2024},\n      eprint={2409.16165},\n      archivePrefix={arXiv},\n      primaryClass={cs.AI},\n      url={https://arxiv.org/abs/2409.16165},\n}\n```\n\u003c/details\u003e\n\n\n## 🪪 License \u003ca name=\"license\"\u003e\u003c/a\u003e\nMIT. Check `LICENSE`.\n\n\n\u003cdiv align=\"center\"\u003e\n\n[![Pytest](https://github.com/SWE-agent/SWE-agent/actions/workflows/pytest.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/pytest.yaml)\n[![build-docs](https://github.com/SWE-agent/SWE-agent/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/build-docs.yaml)\n[![codecov](https://codecov.io/gh/SWE-agent/SWE-agent/graph/badge.svg?token=18XAVDK365)](https://codecov.io/gh/SWE-agent/SWE-agent)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/SWE-agent/SWE-agent/main.svg)](https://results.pre-commit.ci/latest/github/SWE-agent/SWE-agent/main)\n[![Markdown links](https://github.com/SWE-agent/SWE-agent/actions/workflows/check-links-periodic.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/check-links-periodic.yaml)\n\n\u003c/div\u003e\n","funding_links":[],"categories":["Tools and Code","Python","HarmonyOS","Papers","🔥🔥 New Papers","AI Frameworks \u0026 SDKs","Developer Tools and Automation","AI Coding Agents","Runtime"],"sub_categories":["Vibe Coding and AI Coding Assistants","Windows Manager","Models","Benchmarks \u0026 Evaluation","Code Automation and Testing","Code Agent"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSWE-agent%2FSWE-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSWE-agent%2FSWE-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSWE-agent%2FSWE-agent/lists"}