Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It solves 12.47% of bugs in the SWE-bench evaluation set and takes just 1 minute to run.

License

Notifications You must be signed in to change notification settings

replayio/SWE-agent

This branch is 176 commits ahead of, 1195 commits behind SWE-agent/SWE-agent:main.

Folders and files

NameName
Last commit message
Last commit date
Sep 13, 2024
Sep 23, 2024
Oct 21, 2024
May 21, 2024
Oct 21, 2024
Aug 27, 2024
Sep 13, 2024
Jun 2, 2024
Jun 2, 2024
Oct 15, 2024
May 28, 2024
Oct 21, 2024
Sep 16, 2024
Sep 23, 2024
Jul 12, 2024
May 4, 2024
May 28, 2024
Oct 2, 2024
Aug 20, 2024
Jun 23, 2024
May 22, 2024
May 24, 2024
May 27, 2024
Apr 2, 2024
Jul 11, 2024
Apr 2, 2024
Apr 8, 2024
Aug 26, 2024
May 8, 2024
Sep 11, 2024
Sep 11, 2024
Jul 22, 2024
Jun 3, 2024
Sep 11, 2024
Sep 23, 2024
Jul 18, 2024
Sep 23, 2024
Sep 18, 2024
Sep 18, 2024
Sep 13, 2024
Sep 30, 2024
Jun 4, 2024
Jul 18, 2024
Jun 4, 2024

Repository files navigation

swe-agent.com

Website & Demo  |   Documentation  |   Discord  |   Preprint

SWE-agent turns LMs (e.g. GPT-4) into software engineering agents that can resolve issues in real GitHub repositories.

On SWE-bench, SWE-agent resolves 12.47% of issues, achieving the state-of-the-art performance on the full test set.

We accomplish our results by designing simple LM-centric commands and feedback formats to make it easier for the LM to browse the repository, view, edit and execute code files. We call this an Agent-Computer Interface (ACI). Read more about it in our paper!

SWE-agent is built and maintained by researchers from Princeton University.

My Movie 3

You can use SWE-agent either through a web interface (shown above) or through the command line.

πŸš€ Get started!

πŸ‘‰ Try SWE-agent in your browser: Open in GitHub Codespaces (more information)

Read our documentation to learn more:

πŸ’« Contributions

  • If you'd like to ask questions, learn about upcoming features, and participate in future development, join our Discord community!
  • If you'd like to contribute to the codebase, we welcome issues and pull requests!

Contact person: John Yang and Carlos E. Jimenez (Email: johnby@stanford.edu, carlosej@princeton.edu).

πŸ“ Citation

If you found this work helpful, please consider citing it using the following:

@misc{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 Narasimhan and Ofir Press},
      year={2024},
      eprint={2405.15793},
      archivePrefix={arXiv},
      primaryClass={cs.SE}
}

πŸͺͺ License

MIT. Check LICENSE.

Pytest Test build containers Release to dockerhub (nightly) Release to dockerhub (release) build-docs codecov pre-commit.ci status Markdown links

About

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It solves 12.47% of bugs in the SWE-bench evaluation set and takes just 1 minute to run.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.8%
  • JavaScript 7.6%
  • Shell 6.9%
  • CSS 2.8%
  • Other 0.9%