SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Improve landing page and add background section (#458)
Kilian Lieretafddc3101cae
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d7836607..f26a2674 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,6 +1,6 @@# Changelog-## v0.5.0 (2024-05-28)+## 0.5.0 (2024-05-28)[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.4.0...v0.5.0)diff --git a/docs/background/aci.md b/docs/background/aci.mdnew file mode 100644index 00000000..e69de29bdiff --git a/docs/background/index.md b/docs/background/index.mdnew file mode 100644index 00000000..3b5f8917--- /dev/null+++ b/docs/background/index.md@@ -0,0 +1,5 @@+# Learn more about the SWE-agent project.++This section of the documentation talks about the architecture, research goals and general direction of the project.++Want to just run it? Skip ahead to our [installation notes](../installation/index.md).\ No newline at end of filediff --git a/docs/background/overview.md b/docs/background/overview.mdnew file mode 100644index 00000000..be8a5ac2--- /dev/null+++ b/docs/background/overview.md@@ -0,0 +1,24 @@+# Overview++SWE-agent turns LMs (e.g. GPT-4) into software engineering agents that can fix bugs and issues in real GitHub repositories.++On [SWE-bench](https://github.com/princeton-nlp/SWE-bench), SWE-agent resolves **12.29%** 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](https://arxiv.org/abs/2405.15793)!++SWE-agent is built and maintained by researchers from Princeton University.++<p align="center">+ <img src="../../assets/readme_assets/results+preview.png" style="width: 80%; height: auto;">+</p>++If you found this work helpful, please consider using the following citation:++```+@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},+}+```\ No newline at end of filediff --git a/docs/index.md b/docs/index.mdindex e1a4c2cb..2234d072 100644--- a/docs/index.md+++ b/docs/index.md@@ -1,32 +1,58 @@-# SWE-agent+# SWE-agent: Turn LMs into SWE agents!-+SWE-agent turns LMs (e.g. GPT-4) into software engineering agents that can fix bugs and issues in real GitHub repositories.-On [SWE-bench](https://github.com/princeton-nlp/SWE-bench), SWE-agent resolves **12.29%** of issues, achieving the state-of-the-art performance on the full test set.+<div class="grid cards" markdown>-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](https://arxiv.org/abs/2405.15793)!+- :material-book:{ .lg .middle } __Background & goals__-SWE-agent is built and maintained by researchers from Princeton University.+ ----<p align="center">- <img src="assets/readme_assets/results+preview.png" style="width: 80%; height: auto;">-</p>+ Learn more about the project goals and academic research.-If you found this work helpful, please consider using the following citation:+ [:octicons-arrow-right-24: Learn more](background/overview.md)-```-@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},-}-```+- :material-download:{ .lg .middle } __Installation__-### ✨ Use SWE-agent as a dev tool+ ----We provide a command line tool and a graphical web interface:+ We provide three different ways to get started, including running installation-free in your browser.-+ [:octicons-arrow-right-24: Get started](installation/index.md)+++- :material-play:{ .lg .middle } __Usage__++ ---++ Learn how to make the most out of SWE-agent.++ [:octicons-arrow-right-24: Tutorials, tips and tricks](usage/index.md)++- :material-newspaper:{ .lg .middle } __Changelog__++ ---++ See what's new in SWE-agent++ [:octicons-arrow-right-24: Read the changelog](installation/changelog.md)++- :material-cog:{ .lg .middle } __Configuration__++ ---++ SWE-agent can be tweaked extensively without modifying the code.++ [:octicons-arrow-right-24: Modify SWE-agent behavior](usage/index.md)+++- :material-lightbulb:{ .lg .middle } __Development__++ ---++ Dig into SWE-agent's code and further the development!++ [:octicons-arrow-right-24: Development information](usage/index.md)+</div>\ No newline at end of filediff --git a/docs/installation/index.md b/docs/installation/index.mdindex 89c80368..953ade1d 100644--- a/docs/installation/index.md+++ b/docs/installation/index.md@@ -26,4 +26,12 @@Pull a docker container and directly run SWE-agent. This is our fallback solution if the local installation does not work for you.[:octicons-arrow-right-24: Get started](docker.md)-</div>\ No newline at end of file++- :material-newspaper:{ .lg .middle } __Changelog__++ ---++ See what's new in SWE-agent++ [:octicons-arrow-right-24: Read the changelog](changelog.md)+</div>diff --git a/mkdocs.yml b/mkdocs.ymlindex a4b1bdf9..0b29f2f9 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -45,6 +45,10 @@ markdown_extensions:emoji_generator: !!python/name:material.extensions.emoji.to_svgnav:- Home: index.md+ - Background:+ - "background/index.md"+ - "Overview": "background/overview.md"+ - "ACI": "background/aci.md"- Installation:- "installation/index.md"- "Use in-browser": "installation/codespaces.md"