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]
Merge branch 'main' into enigma
Kilian Lieretc7976e20c8a4
diff --cc README.mdindex 9175a043,956a8110..6d38c14a--- a/README.md+++ b/README.md@@@ -43,14 -37,16 +43,22 @@@ Read our [documentation][docs] to lear* [Benchmarking on SWE-bench](https://princeton-nlp.github.io/SWE-agent/usage/benchmarking/)* [Frequently Asked Questions](https://princeton-nlp.github.io/SWE-agent/faq/)+ Our most recent lecture touches on the project's motivation,+ showcases our research findings and provides a hands-on tutorial on how to install,+ use, and configure SWE-agent:++ <div align="center">+ <a href="https://youtu.be/d9gcXpiiDao"><img src="assets/wb_stream_youtube.png" style="width: 600px"/></a>+ </div>+[docs]: https://princeton-nlp.github.io/SWE-agent/+## 🕵️ SWE-agent for offensive cybersecurity (EnIGMA) <a name="enigma"></a>+<img src="https://github.com/user-attachments/assets/2b74827b-9603-4865-a322-a21f30edf995" height="80px"></img>++[SWE-agent: EnIGMA][enigma] (Enhanced Interactive Generative Model Agent) is a mode for solving Capture The Flag (CTF) cybersecurity challenges.+The EnIGMA project introduced multiple novelties that are available to all use cases of SWE-agent, such as Interactive Agent Tools and a Summarizer to handle long outputs.+## 💫 Contributions <a name="contributions"></a>- If you'd like to ask questions, learn about upcoming features, and participate in future development, join our [Discord community](https://discord.gg/AVEFbBn2rH)!- If you'd like to contribute to the codebase, we welcome [issues](https://github.com/princeton-nlp/SWE-agent/issues) and [pull requests](https://github.com/princeton-nlp/SWE-agent/pulls)!diff --cc docs/installation/docker.mdindex 780b8489,0c3d9252..98f1993d--- a/docs/installation/docker.md+++ b/docs/installation/docker.md@@@ -1,12 -1,9 +1,12 @@@# Fallback: Usage with docker- Instead of installing SWE-agent from source, you can also run the software directly using Docker.+ Instead of installing SWE-agent from source (the preferred option), you can also run the software directly using Docker.+!!! warning "Limited support"+ Wherever possible, the [installation from source](source.md) is preferred.+1. Install Docker ([follow the docs](https://github.com/docker/docker-install) or use the [get-docker.sh script for linux](https://github.com/docker/docker-install)), then start Docker locally. Problems? See [docker issues](tips.md#docker).-2. Run `docker pull sweagent/swe-agent:latest`+2. Run `docker pull sweagent/swe-agent:latest`. *Optional*: If you want to use EnIGMA run also `docker pull sweagent/enigma:latest`.3. Add your API tokens to a file `keys.cfg` as explained [here](keys.md) or pass them asenvironment variables.diff --cc sweagent/agent/agents.pyindex e4c1ba93,39cc0d7f..3649a539--- a/sweagent/agent/agents.py+++ b/sweagent/agent/agents.py@@@ -95,8 -88,8 +95,9 @@@ class AgentConfig(FrozenSerializable)"vim","emacs","nano",+ "su",)+ block_unless_regex: dict[str, str] = field(default_factory=dict)# Should extract environment state in a json readable formstate_command: Command = Command(name="state",