将大模型转化为软件工程智能体,用于修复 GitHub 存储库中的错误和问题。

Wassel Alazhar 5836582775 feat: support deepseek-coder LLM (#638) 1 day ago
.devcontainer 1e065f8c86 Doc: Suggest starting web UI in GH codespaces 2 months ago
.github 970e94bbaf Doc: Disable announcement about formatting conflicts (#657) 1 day ago
assets 8d7a94a0af Docs: Add more READMEs to mkdocs 1 month ago
config 51ecc214d4 Update coding_challenge.yaml 1 day ago
docker fd6b6ecfd4 Feat: Add filemap command in the spirit of repomap (#619) 1 week ago
docs 5836582775 feat: support deepseek-coder LLM (#638) 1 day ago
evaluation 47da56d942 Issue #446: Fixed calls to open without ctx manager (#469) 1 month ago
inspector 47da56d942 Issue #446: Fixed calls to open without ctx manager (#469) 1 month ago
make_demos 47da56d942 Issue #446: Fixed calls to open without ctx manager (#469) 1 month ago
scripts 70ba97190a Strip trailing whitespace & black formatting 1 month ago
sweagent 5836582775 feat: support deepseek-coder LLM (#638) 1 day ago
tests a54150ee00 Exclude testing django.yaml as env setup (#650) 3 days ago
trajectories a77d1e1c50 Strip demonstration from demonstration (#660) 1 day ago
.dockerignore ff35352078 Fix: Include demonstrations in dockerignore (#311) 2 months ago
.git-blame-ignore-revs d3214c337f Dev: Exclude format commits from showing up in git blame 1 month ago
.gitignore 5836582775 feat: support deepseek-coder LLM (#638) 1 day ago
.pre-commit-config.yaml 5e46810551 chore: update pre-commit hooks (#641) 4 days ago
CHANGELOG.md 9b631463aa Update CHANGELOG.md - fix typo 2 weeks ago
CODE_OF_CONDUCT.md 22bde4e25b Docs: Add code of conduct (#394) 1 month ago
CONTRIBUTING.md d587f2344d Docs: Move contribution guide to root to help gh discover it 1 month ago
Dockerfile b62510534c Tweaks to use swe-agent web UI from docker (#423) 1 month ago
LICENSE 5b143857cb init 3 months ago
README.md 06ab50d74e Update email 2 days ago
build_deploy.sh 5b143857cb init 3 months ago
codecov.yml 6820e3e007 Add codecov config and badge 3 months ago
environment.yml 72f41b4436 Web feat: Allow to specify python version & req pkgs 2 months ago
mkdocs.yml 31703fcc6b Doc: Add leetcode tutorial (#661) 1 day ago
mlc_config.json 6e2aa33ffa MD link checker: Ignore pull links (#510) 1 month ago
pyproject.toml 80eda36726 Docs: Start to add API documentation (#460) 1 month ago
release_dockerhub.sh bc87aef7da CI: No need to create new tag in release script (#610) 2 weeks ago
requirements.txt 6683bab5d5 Cap swebench version dependency (#621) 2 weeks ago
run.py 3ae505cf84 Fix: Handle empty traj in should_skip (#616) 2 weeks ago
run_replay.py 60fb0a4433 Fix: --traj_path is required (#525) 1 month ago
setup.sh 799f07e2bf fix: TARGETARCH not set on some OS/docker setups (#249) 2 months ago
start_web_ui.sh 354f33ca48 Enh: Point to documentation (#526) 1 month ago

README.md

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](https://github.com/princeton-nlp/SWE-agent/actions/workflows/pytest.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/pytest.yaml) [![Test build containers](https://github.com/princeton-nlp/SWE-agent/actions/workflows/test_build_containers.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/test_build_containers.yaml) [![Release to dockerhub (nightly)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml) [![Release to dockerhub (release)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-release.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-release.yaml) [![build-docs](https://github.com/princeton-nlp/SWE-agent/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/build-docs.yaml) [![codecov](https://codecov.io/gh/princeton-nlp/SWE-agent/graph/badge.svg?token=18XAVDK365)](https://codecov.io/gh/princeton-nlp/SWE-agent) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/princeton-nlp/SWE-agent/main.svg)](https://results.pre-commit.ci/latest/github/princeton-nlp/SWE-agent/main) [![Markdown links](https://github.com/princeton-nlp/SWE-agent/actions/workflows/check-links.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/check-links.yaml)