Skip to content

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]

WIP: Create GH codespaces

Kilian Lieretbaf2c6bf2cad
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 00000000..25c8c534
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,20 @@
+{
+ "name": "SWE-Agent Codespace",
+ "image": "mcr.microsoft.com/vscode/devcontainers/miniconda:0-3",
+ "settings": {
+ "terminal.integrated.shell.linux": "/bin/bash"
+ },
+ "extensions": [
+ "ms-python.python",
+ "ms-azuretools.vscode-docker",
+ "ms-toolsai.jupyter"
+ ],
+ "postCreateCommand": "conda env create -f environment.yml && conda activate swe-agent",
+ "features": {
+ "docker-in-docker": "latest"
+ },
+ "mounts": [
+ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
+ ],
+ "remoteUser": "vscode"
+}