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]
Doc: Link mini swe agent (#1257)
Kilian Lieret546033810cb4
diff --git a/README.md b/README.mdindex 51250a9c..f9a14769 100644--- a/README.md+++ b/README.md@@ -25,7 +25,8 @@ SWE-agent is built and maintained by researchers from Princeton University and S## 📣 News-* May 2: [SWE-agent-LM-32b](https://swesmith.com) achieves open-weights SOTA on SWE-bench+* July 24: [Mini-SWE-Agent](https://github.com/SWE-agent/mini-SWE-agent) achieves 65% on SWE-bench verified in 100 lines of python!+* May 2: [SWE-agent-LM-32b](https://github.com/SWE-bench/SWE-smith) achieves open-weights SOTA on SWE-bench* Feb 28: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-Bench full](https://x.com/KLieret/status/1895487966409298067)* Feb 25: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-bench verified](https://x.com/KLieret/status/1894408819670733158)* Feb 13: [Releasing SWE-agent 1.0: SoTA on SWE-bench light & tons of new features](https://x.com/KLieret/status/1890048205448220849)@@ -60,6 +61,8 @@ In addition, you might be interested in the following projects:<div align="center">+ <a href="https://github.com/SWE-agent/mini-SWE-agent"><img src="docs/assets/mini_logo_text_below.svg" alt="Mini-SWE-Agent" height="120px"></a>+ <a href="https://github.com/SWE-agent/SWE-ReX"><img src="docs/assets/swerex_logo_text_below.svg" alt="SWE-ReX" height="120px"></a> <a href="https://github.com/SWE-bench/SWE-bench"><img src="docs/assets/swebench_logo_text_below.svg" alt="SWE-bench" height="120px"></a>diff --git a/docs/assets/mini_logo.svg b/docs/assets/mini_logo.svgnew file mode 100644index 00000000..875ea649--- /dev/null+++ b/docs/assets/mini_logo.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" width="2100" height="2100" fill="none" viewBox="0 0 2100 2100">+ <rect width="2100" height="2100" fill="#FFF7EC" rx="373.32"/>+ <path fill="#000" d="M894.314 770.292c-1.091 1.638-29.479-13.653-34.392-15.838-14.193-5.461-29.479-8.192-44.218-13.107V187.575c12.01-54.613 44.764-40.413 84.069-28.945 335.187 97.211 663.277 220.089 996.827 321.123 17.47 6.553 30.02 20.752 33.84 38.775 7.1 300.369 1.1 602.382 2.73 903.292-6 45.33-49.13 72.64-92.25 56.8l-357.57-141.45c-3.82-2.18-32.21-35.5-34.94-39.87-2.73-4.37-17.47-55.15-16.38-57.89 1.09-2.73 32.76 9.29 36.58 10.93 113 40.41 223.82 84.65 336.82 125.06 15.29 3.28 27.84-8.19 27.84-23.48V582.971c0-12.561-6-22.392-16.37-28.945-276.78-97.211-552.46-198.79-830.873-291.086-16.923-5.461-54.045-21.298-69.33-22.937-15.286-1.638-22.383 2.185-22.383 8.738v522.097-.546Zm-12.555 797.888c-2.184 2.73-44.765 32.77-49.132 34.41-6.551 2.73-14.194 3.28-21.29.54-100.993-49.15-211.266-86.83-311.713-136.53-6.551-3.27-20.744-7.1-18.015-16.38 2.73-9.29 52.407-46.97 63.325-38.23 101.539 49.15 213.45 85.74 314.442 135.44 7.097 3.28 30.025 10.92 22.383 20.75Zm408.881 80.28c-1.64 2.19-41.49 30.04-45.31 32.22-3.82 2.19-8.19 4.37-13.65 3.83l-140.29-58.44c-8.74-5.46-10.38-9.83-2.19-16.93 8.19-7.1 46.95-33.86 57.87-32.22 41.49 21.3 97.72 34.95 137.02 57.89 39.31 22.94 12.56 7.1 7.1 14.2l-.55-.55Zm-35.48-116.87c18.01-3.27 91.16 39.87 114.09 44.24 5.46 2.18 5.46 7.64 3.28 12.01-2.19 4.37-48.59 36.05-56.78 34.96-14.74-4.92-110.27-41.51-114.09-49.16-3.82-7.64-1.09-6 1.09-8.73 2.19-2.74 48.59-33.32 52.95-33.86l-.54.54Zm-904.568-237.56c4.913-6.01 45.31-28.95 53.499-27.86 31.116 16.93 76.972 25.67 106.451 42.6s8.189 4.92 8.189 8.74c0 5.46-41.489 36.04-51.315 33.86l-111.911-44.78c-5.459-3.28-9.826-6.56-4.913-12.56Zm566.65 280.71c4.368 0 9.281 1.63 13.648 3.27 8.735 2.73 65.509 27.86 67.146 33.32 1.638 5.46.001 5.46-1.091 8.19-1.092 2.73-36.576 28.94-40.943 31.67-12.01 7.1-15.286 7.65-28.933 3.83-13.648-3.83-59.504-25.13-64.963-29.49-5.459-4.37-7.643-7.1-2.184-13.66 5.459-6.55 50.224-36.04 57.32-36.59v-.54Zm102.088-46.97c6-1.09 9.82 0 15.28 1.64 5.46 1.64 69.33 28.94 71.52 32.22 2.18 3.28 2.18 2.73 1.63 5.46-1.09 3.82-46.4 36.04-51.86 36.59-12.01 2.19-52.4-16.93-64.96-22.94-12.556-6-25.112-8.19-19.107-20.2 6.005-12.02 44.767-32.22 47.497-32.77Zm-751.17-166.02c-1.638-1.64-2.73-5.46-2.184-7.65 1.092-3.28 35.484-28.94 40.943-31.67 9.281-4.92 12.01-6.56 23.474-4.37 11.464 2.18 67.147 27.85 69.876 30.58 2.73 2.73 2.73 2.73 2.73 4.91 0 4.37-36.03 29.5-42.035 32.77-9.826 5.46-12.556 9.29-25.112 6.56-12.555-2.73-65.508-28.4-68.238-31.13h.546Zm754.99 75.36c8.73-1.64 14.74 1.64 22.93 3.83 8.18 2.18 61.68 25.12 64.41 30.03 2.73 4.92 2.19 2.73 1.64 5.46-1.09 4.37-46.4 33.86-51.86 34.96-5.46 1.09-9.83 0-14.74-1.1-9.28-2.18-50.769-19.66-59.503-24.57-8.735-4.92-13.648-7.1-8.189-15.29 5.459-8.2 42.032-32.23 45.312-33.32Zm68.24 91.75c-3.82-4.91-1.64-9.28 2.18-13.11 3.82-3.82 47.49-31.12 53.5-31.12 6 0 70.97 27.3 74.79 31.12 3.82 3.83 3.82 7.65 0 12.02-3.82 4.37-33.85 25.12-37.67 27.31-9.28 4.91-13.65 5.46-24.02 3.27-10.37-2.18-65.51-26.21-68.24-28.94l-.54-.55Zm-52.41 103.22c4.91-1.09 7.64 0 12.56 0 4.91 0 52.95 21.3 57.86 24.58 4.91 3.27 7.1 6.55 4.91 12.01-2.18 5.46-54.59 37.68-61.68 38.23-7.1.54-55.139-20.75-62.236-25.12-7.097-4.37-10.372-7.65-4.367-15.29 6.005-7.65 50.223-33.86 53.503-34.96l-.55.55ZM903.595 1480.8c4.913-1.09 7.642 0 12.556 0 9.826 2.19 49.131 19.66 59.503 25.12 10.373 5.47 15.286 5.47 12.556 14.2-2.729 8.74-33.846 28.4-38.213 30.59-10.918 5.46-13.102 5.46-24.566 1.63-11.464-3.82-56.774-22.93-64.417-28.39-7.643-5.47-4.913-9.29-1.092-14.75 3.822-5.46 39.306-28.4 43.673-28.94v.54Zm-471.663-116.32c6.005 0 62.779 22.93 68.238 27.3 5.459 4.37 7.097 6.01 3.822 13.11-3.276 7.1-46.402 35.5-54.591 35.5s-62.233-24.58-67.693-28.4c-5.459-3.82-8.188-6.55-3.275-12.56 4.913-6.01 48.04-34.41 53.499-34.95Zm229.826 12.01c9.827-1.64 76.427 22.94 80.249 31.13 3.821 8.19-26.204 28.4-33.847 32.77-7.642 4.37-12.555 8.19-26.203 5.46-13.648-2.73-51.315-20.21-58.412-24.03-7.097-3.82-10.918-7.65-6.551-15.29 4.367-7.65 39.305-28.95 44.764-30.04Zm481.492 300.37c5.46-1.09 8.19 0 13.1 1.64s43.13 17.48 48.04 20.75c4.91 3.28 7.1 8.19 2.18 13.66-4.91 5.46-51.31 35.49-56.23 36.59-4.91 1.09-10.91 0-16.37-1.1-5.46-1.09-46.4-19.11-47.5-21.29-3.27-4.92-2.18-8.74 1.1-13.11 3.27-4.37 50.76-36.05 55.68-36.59v-.55Zm-512.608-316.21c5.459 3.28-1.092 9.83-3.822 12.57-7.096 7.09-34.938 27.85-44.218 27.85-16.923 0-58.958-26.76-78.065-31.13-2.183-1.09-3.275-4.92-3.275-7.1.546-6.01 42.035-34.41 50.223-34.41 8.189 0 30.025 9.29 36.576 12.56 6.551 3.28 13.102 12.02 21.836 15.3 8.735 3.27 19.653 3.27 20.745 3.82v.54ZM471.237 1213.2c5.459-1.09 8.735 0 13.648 1.09s46.402 18.02 52.953 21.85c6.551 3.82 9.28 6.01 8.188 10.92-1.092 4.92-42.034 30.04-48.039 31.13-6.005 1.09-10.373 0-15.832-2.19-5.459-2.18-56.774-24.02-57.866-26.76-1.092-2.73 0-4.91 1.638-7.64 2.729-3.82 39.305-26.76 44.764-27.85l.546-.55Zm274.591 45.33 123.921 50.24c6.005 1.64-8.735 26.76-9.827 27.85-2.729 2.74-5.459 2.74-8.734 1.1l-125.559-51.34c-2.729-1.64-2.183-2.18-1.091-4.91 1.091-2.73 20.198-22.94 21.836-22.94h-.546Zm138.66 184.04c-1.638-2.73 33.3-50.79 36.576-51.33 3.275-.55 69.33 25.67 72.605 29.49 3.276 3.82 2.73 2.73 2.73 4.91 0 6.56-46.402 37.69-54.591 38.23-8.188.55-56.228-19.11-57.866-21.3h.546Zm-98.263-17.47s-3.821 6.55-3.821 10.92c-2.184 26.76 19.652 45.87 45.856 42.05 26.203-3.82 31.662-16.38 36.03-16.93 4.367-.54 11.464 5.46 9.28 10.92-2.184 5.47-39.851 34.41-48.586 33.86l-93.895-37.68c-22.383-7.64 31.116-41.5 36.575-43.69 5.459-2.18 16.923-1.64 19.107 0l-.546.55Zm-127.196-82.47c10.372-3.82 39.305-38.23 46.402-39.32 7.097-1.09 54.59 21.3 59.504 24.03 4.913 2.73 7.096 4.37 7.642 8.19 0 6.01-42.034 35.5-49.677 36.05-7.643.54-60.05-19.66-62.779-23.49-2.73-3.82-1.638-3.82-.546-5.46h-.546Zm189.975 15.84c2.184 2.18-34.392 48.61-42.58 50.79-8.189 2.18-30.025-11.47-34.393-13.65-7.096-3.83-20.198-7.1-15.831-17.48 4.367-10.38 41.489-32.22 47.494-33.31 6.005-1.1 44.218 11.47 45.856 13.65h-.546Zm-261.489-41.51c-2.184 2.19-60.05-23.48-60.595-26.76-.546-3.27 0-2.73.545-4.36 1.638-3.83 44.219-30.04 49.678-31.13 5.459-1.1 43.672 13.1 43.672 16.38 0 3.28-26.203 25.12-31.662 37.14-5.459 12.01-1.092 8.73-1.638 9.28v-.55Z"/>+ <path fill="#000" d="M782.95 1188.08c-26.75 30.04-52.407 62.8-80.249 91.75-27.841 28.94-52.407 54.61-69.33 60.62-16.923 6.01-36.03-9.83-25.111-28.95 10.918-19.11 54.59-53.52 70.421-70.99 15.832-17.48 71.514-88.48 93.896-98.85 36.03-15.84 82.978-22.94 120.1-38.78 15.285-26.76 26.749-56.79 46.402-80.82 1.092 12.01 18.561 39.86 17.469 49.69-1.092 9.83-27.296 55.16-32.209 60.62-18.561 22.39-111.911 42.6-141.935 55.71h.546Zm564.47 19.11 30.02 91.75c-17.47-7.1-152.31-52.43-155.04-60.07-2.73-7.65 15.29-59.53 15.29-73.18l109.73 42.05v-.55Z"/>+ <path fill="#000" d="M1212.58 869.687c-2.19-14.199-23.48-47.513-23.48-54.613 0-7.1 14.2-34.406 18.56-42.598 85.17-154.553 283.88-158.923 394.69-29.491 25.25 29.491 36.08 43.963 36.08 55.432 0 11.468-28.98 78.916-39.35 92.569-80.79 110.864-246.2 158.374-363.03 73.181-116.82-85.196-26.75-26.214-28.93-26.214-2.19 0-22.38 25.668-22.38 28.398 0 2.731 36.03 25.668 41.49 29.491 16.92 7.648 32.75 17.478 49.67 25.118 16.93 7.65 78.07 24.58 85.71 36.05 19.11 59.53 38.76 119.05 54.59 179.67 15.83 60.62 7.64 49.7 13.1 67.18 5.46 17.47 54.05 55.7 66.06 65.53 12.01 9.83 26.75 16.39 30.02 20.76 7.64 11.46 1.09 25.12-13.1 24.57-24.57-1.64-79.16-55.16-96.08-74.27-28.39-32.77-44.22-106.5-56.23-150.19-12.01-43.69-18.01-65.53-24.56-98.3-66.06-12.56-141.39-39.32-184.52-93.387-43.13-54.067-1.64-6.554-1.64-7.1-1.09-.546-20.74 7.1-21.83 7.646-1.1 1.091 8.73 27.311 10.91 31.131 15.84 27.85 53.5 57.34 73.7 83.56 20.2 26.21 8.19 11.46 9.28 16.38 2.73 12.56-5.46 49.15-8.19 63.9-6.55 38.22-31.66 113.04-31.11 146.36.54 33.31 46.4 84.1 43.12 105.95-3.27 21.84-4.36 6.55-3.82 7.1l228.19 95.02c13.65 6.56 27.3 16.93 29.48 33.32 2.18 16.38 1.64 60.07 0 72.63-1.64 12.56-6.01 13.65-9.83 18.02l-292.06 215.18c-33.3 15.83-57.86 12.01-90.62-1.64-150.667-61.17-305.704-142.54-455.282-210.81-149.579-68.26-305.708-134.89-454.194-209.71-3.822-5.46-8.189-11.47-9.281-18.02-2.183-13.65-2.183-58.44-.546-72.09 1.638-13.65 3.276-12.01 7.097-18.57 86.253-55.16 172.506-126.15 260.943-176.94 88.437-50.79 41.489-19.66 71.514-12.56s125.012 43.69 155.037 58.98c30.025 15.29 6.551 2.18 4.913 4.91-1.637 2.73-26.749 21.85-29.478 21.85l-145.211-57.89c-28.934-7.1-57.867 19.11-81.341 33.86-60.595 39.32-135.93 86.29-192.158 129.98-7.097 5.46-16.378 9.83-12.01 21.3l901.287 397.57c18.56 9.84 39.85 10.38 58.96 1.1 80.25-61.72 171.42-116.87 249.48-180.77 78.07-63.9 19.11-10.92 9.28-20.21l-496.774-208.62 15.832-28.4 245.662 98.31c-22.93-32.22-36.58-72.64-45.31-110.87 1.09-22.39 42.03-174.76 37.66-182.95-4.36-8.19-25.65-20.21-31.66-25.67-30.57-28.4-58.41-61.16-76.97-98.85-9.28 1.64-54.59 1.64-58.96 4.37-4.37 2.73-2.18 3.28-1.09 4.92 12.01 35.5 25.11 71.54 33.3 108.13 8.19 36.59 9.28 31.68 4.91 43.15-4.37 11.46-50.22 63.35-63.324 78.09-13.102 14.75-32.208 28.95-42.035 40.96-9.826 12.02-30.025 55.71-40.943 74.27-10.918 18.57-31.116 57.35-52.407 71.55-21.29 14.2-34.392 19.66-46.948 9.28-24.565-20.21 25.658-39.87 34.938-50.79 31.663-37.68 50.77-110.86 81.34-148.55 30.571-37.68 86.249-79.18 88.439-86.83 2.18-7.65-57.322-129.43-52.955-153.46-11.464 1.09-46.402-30.584-51.315-29.492-4.913 1.092-32.754 36.592-39.305 43.142-52.953 49.15-187.246 126.16-259.851 106.5-96.626-25.67-40.943-199.886-6.005-258.867 4.367-7.646 28.933-37.137 28.933-39.868 0-2.73-9.281-16.93-10.918-20.206-50.224-90.111-146.849-138.716-245.658-155.1-98.809-16.384-51.315-2.731-55.683-9.83-5.459-9.831-1.091-24.03 10.918-26.215 22.929-3.822 78.611 8.739 102.085 15.838 94.988 26.76 178.511 86.288 223.821 174.761 3.276-8.738 41.489-33.86 42.581-36.591 1.092-2.731-8.189-31.129-9.826-37.137-28.387-85.741-82.978-143.085-168.685-173.122-10.918-3.822-49.678-12.014-54.591-16.383-8.188-7.1-6.005-23.484 4.913-26.761 15.832-4.369 62.234 13.108 78.611 19.661 81.34 33.86 132.655 89.019 163.226 170.938 30.571 81.918 12.01 44.782 13.647 46.42 1.638 1.639 32.755-9.284 40.397-9.83 117.37-10.922 192.705 86.834 158.313 198.244 26.75-38.775 23.474-90.657 6.005-132.163-17.469-41.505-4.367-1.092-3.821-2.73 2.183-7.1 33.3-27.307 40.943-31.676 81.34-42.598 187.25-15.291 227.64 69.358l18.02 43.69c-1.09-9.284 1.64-21.298 0-30.583v1.639ZM756.2 881.155c-60.596 6.554-69.876 109.226-1.638 96.665 68.239-12.561 63.325-103.218 1.638-96.665Z"/>+ <path fill="#000" d="M1151.44 1212.65c-2.73 3.28-69.88-30.58-80.25-29.49 2.18-30.03-10.92-57.34-15.83-86.28 21.83 10.37 54.59 16.38 74.79 28.39 20.19 12.02 28.38 24.03 29.47 25.67 1.64 3.28 1.64 3.82 1.64 7.65 0 3.82-8.19 52.43-9.82 54.61v-.55Z"/>+</svg>diff --git a/docs/assets/mini_logo_text_below.svg b/docs/assets/mini_logo_text_below.svgnew file mode 100644index 00000000..9df8bf49--- /dev/null+++ b/docs/assets/mini_logo_text_below.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" width="2100" height="2100" fill="none" viewBox="0 0 2100 2100">+ <rect width="2100" height="2100" fill="#FFF7EC" rx="373.32"/>+ <path fill="#000" d="M704.594 1906.12v-202.74h40.82v21.49h.781c13.412-16.02 31.055-24.03 52.93-24.03 14.063.26 25.391 2.67 33.984 7.23 8.464 5.08 16.211 11.52 23.243 19.34 15.885-17.97 37.174-26.83 63.867-26.57 16.797 0 32.161 5.93 46.093 17.78 13.803 11.98 20.964 29.55 21.485 52.73v134.77h-40.82v-120.71c0-14.19-3.711-25-11.133-32.42-7.422-7.55-16.992-11.33-28.711-11.33-11.719 0-21.354 3.78-28.906 11.33-7.683 7.42-11.524 18.23-11.524 32.42v120.71h-40.82v-120.71c0-14.19-3.711-25-11.133-32.42-7.552-7.55-17.188-11.33-28.906-11.33-11.719 0-21.289 3.78-28.711 11.33-7.813 7.42-11.719 18.23-11.719 32.42v120.71h-40.82Zm339.846 0v-202.74h40.82v202.74h-40.82Zm0-243.95v-40.82h40.82v40.82h-40.82Zm94.92 243.95v-202.74h40.82v21.49h.78c13.41-16.02 30.99-24.03 52.74-24.03 16.79 0 32.16 5.93 46.09 17.78 13.8 11.98 21.03 29.55 21.68 52.73v134.77h-40.82v-120.71c0-14.19-3.78-25-11.33-32.42-7.42-7.55-16.99-11.33-28.71-11.33-11.72 0-21.35 3.78-28.91 11.33-7.68 7.42-11.52 18.23-11.52 32.42v120.71h-40.82Zm216.02 0v-202.74h40.82v202.74h-40.82Zm0-243.95v-40.82h40.82v40.82h-40.82ZM926.484 644.788c-.863 1.295-23.293-10.79-27.176-12.516-11.215-4.316-23.293-6.474-34.939-10.358V184.276c9.49-43.16 35.371-31.939 66.428-22.875 264.853 76.824 524.093 173.933 787.653 253.778 13.8 5.18 23.72 16.401 26.74 30.644 5.61 237.377.86 476.05 2.16 713.857-4.75 35.82-38.82 57.4-72.9 44.89l-282.54-111.79c-3.02-1.72-25.45-28.05-27.6-31.5-2.16-3.45-13.81-43.59-12.94-45.75.86-2.16 25.88 7.34 28.9 8.63 89.29 31.94 176.85 66.9 266.14 98.84 12.08 2.59 22-6.48 22-18.56V496.751c0-9.927-4.75-17.695-12.94-22.875-218.7-76.824-436.53-157.101-656.519-230.04-13.372-4.316-42.704-16.832-54.782-18.127-12.078-1.295-17.685 1.726-17.685 6.905V645.22v-.432Zm-9.921 630.562c-1.726 2.16-35.371 25.9-38.822 27.19-5.176 2.16-11.215 2.59-16.823.43-79.8-38.84-166.933-68.62-246.302-107.9-5.176-2.59-16.391-5.61-14.235-12.94 2.157-7.34 41.41-37.12 50.037-30.22 80.232 38.85 168.659 67.76 248.459 107.04 5.608 2.59 23.725 8.63 17.686 16.4Zm323.087 63.44c-1.3 1.73-32.79 23.74-35.81 25.47-3.02 1.72-6.47 3.45-10.78 3.02l-110.86-46.18c-6.9-4.32-8.19-7.77-1.72-13.38 6.47-5.61 37.09-26.76 45.72-25.46 32.78 16.83 77.21 27.62 108.27 45.74 31.06 18.13 9.92 5.62 5.61 11.23l-.43-.44Zm-28.04-92.36c14.23-2.59 72.03 31.51 90.15 34.96 4.31 1.73 4.31 6.04 2.59 9.5-1.73 3.45-38.39 28.48-44.86 27.62-11.65-3.88-87.14-32.8-90.15-38.84-3.02-6.05-.87-4.75.86-6.91 1.72-2.16 38.39-26.33 41.84-26.76l-.43.43Zm-714.753-187.74c3.882-4.75 35.802-22.88 42.272-22.01 24.587 13.38 60.821 20.28 84.114 33.66 23.293 13.38 6.47 3.89 6.47 6.91 0 4.31-32.782 28.48-40.547 26.76l-88.427-35.39c-4.314-2.59-7.764-5.18-3.882-9.93Zm447.744 221.84c3.45 0 7.333 1.29 10.783 2.59 6.902 2.16 51.766 22.01 53.056 26.33 1.29 4.31 0 4.31-.86 6.47s-28.903 22.87-32.353 25.03c-9.49 5.61-12.078 6.04-22.862 3.02-10.784-3.02-47.018-19.85-51.331-23.3-4.314-3.46-6.039-5.61-1.726-10.79 4.314-5.18 39.685-28.49 45.293-28.92v-.43Zm80.659-37.12c4.75-.86 7.77 0 12.08 1.3 4.31 1.29 54.78 22.87 56.51 25.46 1.72 2.59 1.72 2.16 1.29 4.32-.86 3.02-36.66 28.48-40.98 28.91-9.49 1.73-41.41-13.38-51.33-18.12-9.918-4.75-19.839-6.48-15.094-15.97 4.745-9.5 35.374-25.47 37.524-25.9Zm-593.537-131.2c-1.294-1.3-2.157-4.32-1.726-6.05.863-2.59 28.038-22.87 32.352-25.03 7.333-3.88 9.489-5.18 18.548-3.45 9.058 1.73 53.056 22.01 55.213 24.17 2.157 2.16 2.157 2.16 2.157 3.88 0 3.46-28.47 23.31-33.215 25.9-7.764 4.31-9.921 7.34-19.842 5.18s-51.762-22.45-53.919-24.6h.432Zm596.557 59.56c6.9-1.3 11.65 1.29 18.12 3.02 6.47 1.72 48.74 19.85 50.9 23.74 2.16 3.88 1.72 2.15 1.29 4.31-.86 3.45-36.66 26.76-40.98 27.62-4.31.87-7.76 0-11.64-.86-7.33-1.73-40.12-15.54-47.019-19.42-6.902-3.89-10.784-5.61-6.47-12.09 4.313-6.47 33.209-25.46 35.799-26.32Zm53.92 72.5c-3.02-3.88-1.29-7.33 1.73-10.35 3.02-3.02 37.52-24.6 42.27-24.6 4.74 0 56.08 21.58 59.1 24.6 3.01 3.02 3.01 6.04 0 9.49-3.02 3.45-26.75 19.86-29.77 21.58-7.33 3.89-10.78 4.32-18.98 2.59-8.19-1.73-51.76-20.72-53.92-22.87l-.43-.44Zm-41.41 81.58c3.88-.87 6.04 0 9.92 0 3.89 0 41.84 16.83 45.73 19.42 3.88 2.59 5.6 5.18 3.88 9.49-1.73 4.32-43.14 29.78-48.74 30.22-5.61.43-43.57-16.41-49.18-19.86-5.606-3.45-8.194-6.04-3.449-12.08 4.749-6.05 39.689-26.76 42.269-27.63l-.43.44Zm-106.973-119.56c3.882-.86 6.039 0 9.921 0 7.764 1.73 38.822 15.54 47.017 19.86 8.196 4.31 12.075 4.31 9.925 11.22-2.16 6.91-26.748 22.44-30.198 24.17-8.627 4.31-10.353 4.31-19.411 1.29-9.059-3.02-44.861-18.12-50.9-22.44-6.039-4.32-3.882-7.34-.862-11.65 3.019-4.32 31.057-22.45 34.508-22.88v.43Zm-372.689-91.93c4.745 0 49.606 18.13 53.919 21.58 4.314 3.46 5.608 4.75 3.02 10.36-2.588 5.61-36.665 28.06-43.135 28.06-6.471 0-49.175-19.43-53.488-22.45-4.314-3.02-6.47-5.18-2.588-9.92 3.882-4.75 37.959-27.19 42.272-27.63Zm181.6 9.5c7.764-1.3 60.389 18.13 63.408 24.6 3.02 6.47-20.704 22.44-26.743 25.9-6.039 3.45-9.922 6.47-20.705 4.31-10.784-2.16-40.547-15.97-46.155-18.99-5.608-3.02-8.627-6.04-5.176-12.08 3.451-6.04 31.057-22.88 35.371-23.74Zm380.452 237.38c4.31-.87 6.47 0 10.35 1.29 3.88 1.3 34.08 13.81 37.96 16.4 3.88 2.59 5.61 6.48 1.73 10.79-3.88 4.32-40.55 28.06-44.43 28.92-3.88.86-8.63 0-12.94-.86-4.32-.87-36.67-15.11-37.53-16.84-2.59-3.88-1.73-6.9.86-10.35 2.59-3.46 40.12-28.49 44-28.92v-.43Zm-405.039-249.9c4.313 2.59-.863 7.77-3.02 9.93-5.608 5.61-27.606 22.01-34.939 22.01-13.372 0-46.587-21.15-61.684-24.6-1.725-.86-2.588-3.88-2.588-5.61.431-4.75 33.214-27.19 39.684-27.19 6.471 0 23.725 7.34 28.901 9.93 5.176 2.59 10.353 9.49 17.254 12.08 6.902 2.59 15.529 2.59 16.392 3.02v.43ZM592.186 994.813c4.313-.864 6.901 0 10.783.863 3.883.863 36.665 14.244 41.842 17.264 5.176 3.02 7.333 4.75 6.47 8.63-.863 3.89-33.214 23.74-37.959 24.6-4.745.87-8.196 0-12.509-1.72-4.314-1.73-44.861-18.99-45.724-21.15-.862-2.16 0-3.89 1.294-6.04 2.157-3.03 31.058-21.153 35.371-22.016l.432-.431Zm216.97 35.827 97.917 39.7c4.745 1.3-6.902 21.15-7.765 22.01-2.156 2.16-4.313 2.16-6.901.87l-99.211-40.57c-2.157-1.3-1.726-1.73-.863-3.89s15.96-18.12 17.254-18.12h-.431Zm109.563 145.44c-1.294-2.16 26.313-40.14 28.901-40.57 2.588-.43 54.78 20.29 57.37 23.31 2.59 3.02 2.16 2.16 2.16 3.88 0 5.18-36.668 29.78-43.139 30.22-6.47.43-44.429-15.11-45.723-16.84h.431Zm-77.643-13.81s-3.02 5.18-3.02 8.63c-1.725 21.15 15.529 36.26 36.234 33.24 20.705-3.02 25.019-12.95 28.469-13.38 3.451-.43 9.059 4.31 7.333 8.63-1.725 4.32-31.488 27.19-38.39 26.76l-74.193-29.78c-17.685-6.04 24.587-32.8 28.901-34.53 4.313-1.73 13.372-1.29 15.097 0l-.431.43Zm-100.505-65.17c8.196-3.02 31.057-30.21 36.665-31.07 5.607-.87 43.135 16.83 47.017 18.99 3.882 2.15 5.608 3.45 6.039 6.47 0 4.75-33.214 28.05-39.253 28.49-6.039.43-47.449-15.54-49.605-18.56-2.157-3.02-1.294-3.02-.432-4.32h-.431Zm150.11 12.52c1.726 1.72-27.175 38.41-33.645 40.14-6.47 1.72-23.724-9.07-27.175-10.79-5.608-3.03-15.96-5.62-12.509-13.82 3.45-8.2 32.782-25.46 37.527-26.32 4.745-.87 34.94 9.06 36.234 10.79h-.432Zm-206.617-32.8c-1.726 1.72-47.449-18.56-47.88-21.15-.432-2.59 0-2.16.431-3.46 1.294-3.02 34.94-23.73 39.253-24.6 4.314-.86 34.508 10.36 34.508 12.95s-20.705 19.86-25.018 29.35c-4.314 9.5-.863 6.91-1.294 7.34v-.43Z"/>+ <path fill="#000" d="M838.488 974.959c-21.136 23.738-41.41 49.631-63.409 72.511-21.999 22.87-41.41 43.16-54.782 47.9-13.372 4.75-28.469-7.76-19.842-22.87 8.627-15.11 43.135-42.3 55.645-56.11 12.509-13.81 56.507-69.916 74.192-78.117 28.469-12.516 65.566-18.127 94.898-30.643 12.078-21.148 21.136-44.886 36.665-63.876.862 9.495 14.666 31.506 13.803 39.275-.863 7.769-21.568 43.591-25.45 47.907-14.666 17.696-88.427 33.665-112.152 44.023h.432Zm446.022 15.106 23.72 72.505c-13.8-5.61-120.35-41.43-122.5-47.47-2.16-6.04 12.07-47.046 12.07-57.836l86.71 33.233v-.432Z"/>+ <path fill="#000" d="M1177.96 723.339c-1.72-11.222-18.55-37.549-18.55-43.16 0-5.611 11.22-27.19 14.67-33.664 67.29-122.142 224.3-125.595 311.87-23.307 19.95 23.307 28.5 34.743 28.5 43.807 0 9.063-22.89 62.366-31.09 73.156-63.84 87.614-194.54 125.163-286.85 57.834-92.31-67.329-21.14-20.717-22.86-20.717-1.73 0-17.69 20.285-17.69 22.443 0 2.158 28.47 20.285 32.79 23.306 13.37 6.043 25.88 13.812 39.25 19.854 13.37 6.042 61.68 19.422 67.72 28.485 15.1 47.044 30.63 94.088 43.14 141.994 12.51 47.91 6.04 39.28 10.35 53.09 4.31 13.81 42.7 44.02 52.19 51.79 9.49 7.77 21.14 12.95 23.73 16.4 6.04 9.06.86 19.85-10.36 19.42-19.41-1.29-62.54-43.59-75.91-58.7-22.43-25.89-34.94-84.16-44.43-118.684-9.49-34.528-14.24-51.792-19.41-77.688-52.2-9.926-111.72-31.075-145.8-73.803-34.08-42.728-1.29-5.179-1.29-5.61-.87-.432-16.4 5.61-17.26 6.042-.86.863 6.9 21.58 8.63 24.601 12.51 22.011 42.27 45.318 58.23 66.034 15.96 20.717 6.47 9.064 7.33 12.948 2.16 9.927-4.31 38.844-6.47 50.497-5.17 30.213-25.02 89.343-24.58 115.663.43 26.33 36.66 66.47 34.07 83.73-2.59 17.27-3.45 5.18-3.02 5.61l180.31 75.1c10.78 5.18 21.57 13.38 23.29 26.33 1.73 12.95 1.3 47.48 0 57.4-1.29 9.93-4.74 10.79-7.76 14.24l-230.78 170.05c-26.31 12.52-45.72 9.5-71.6-1.29-119.054-48.34-241.558-112.65-359.748-166.6-118.191-53.95-241.557-106.6-358.885-165.73-3.02-4.32-6.471-9.06-7.333-14.24-1.726-10.79-1.726-46.18-.432-56.97s2.589-9.5 5.608-14.68c68.154-43.59 136.307-99.7 206.186-139.835 69.879-40.138 32.783-15.537 56.508-9.927 23.724 5.611 98.779 34.528 122.504 46.612 23.724 12.09 5.176 1.73 3.882 3.89-1.294 2.15-21.136 17.26-23.293 17.26l-114.74-45.75c-22.862-5.611-45.723 15.106-64.271 26.76-47.881 31.07-107.407 68.19-151.836 102.72-5.608 4.31-12.941 7.77-9.49 16.83l712.16 314.2c14.67 7.77 31.49 8.2 46.59.87 63.41-48.77 135.44-92.37 197.13-142.86 61.68-50.5 15.09-8.63 7.33-15.97l-392.531-164.87 12.509-22.44 194.112 77.68c-18.12-25.46-28.9-57.4-35.81-87.61.87-17.7 33.22-138.111 29.77-144.585-3.45-6.474-20.28-15.969-25.02-20.285-24.16-22.443-46.16-48.339-60.82-78.119-7.33 1.295-43.14 1.295-46.59 3.453-3.45 2.158-1.72 2.589-.86 3.884 9.49 28.054 19.84 56.539 26.31 85.456 6.47 28.917 7.34 25.032 3.88 34.096-3.45 9.064-39.68 50.07-50.03 61.72-10.355 11.65-25.452 22.87-33.217 32.37-7.764 9.49-23.724 44.02-32.351 58.7-8.627 14.67-24.587 45.31-41.41 56.53-16.823 11.23-27.175 15.54-37.096 7.34-19.411-15.97 20.273-31.51 27.606-40.14 25.019-29.78 40.116-87.61 64.272-117.39 24.156-29.782 68.156-62.583 69.876-68.625 1.73-6.043-45.289-102.288-41.838-121.279-9.059.864-36.665-24.169-40.547-23.306-3.882.863-25.881 28.917-31.058 34.096-41.841 38.844-147.953 99.699-205.323 84.162-76.35-20.285-32.352-157.965-4.745-204.577 3.451-6.042 22.862-29.348 22.862-31.506 0-2.158-7.334-13.38-8.628-15.969-39.684-71.214-116.033-109.626-194.108-122.574-78.075-12.948-40.547-2.158-43.998-7.768-4.314-7.769-.863-18.991 8.627-20.717 18.117-3.021 62.115 6.906 80.663 12.516 75.055 21.149 141.052 68.192 176.854 138.111 2.588-6.906 32.783-26.759 33.646-28.917.863-2.158-6.47-24.601-7.765-29.349-22.43-67.76-65.565-113.078-133.287-136.815-8.627-3.022-39.253-9.495-43.136-12.948-6.47-5.611-4.744-18.559 3.883-21.148 12.509-3.453 49.174 10.358 62.114 15.537 64.272 26.759 104.819 70.35 128.975 135.089 24.155 64.74 9.489 35.391 10.783 36.686 1.294 1.295 25.882-7.337 31.921-7.769 92.74-8.631 152.267 68.624 125.092 156.67 21.136-30.644 18.548-71.645 4.744-104.446-13.803-32.802-3.45-.864-3.019-2.158 1.725-5.611 26.313-21.58 32.351-25.033 64.267-33.665 147.957-12.085 179.877 54.813l14.23 34.527c-.86-7.337 1.3-16.832 0-24.169v1.295Zm-360.608 9.063c-47.881 5.179-55.214 86.319-1.295 76.393 53.92-9.927 50.037-81.572 1.295-76.393Z"/>+ <path fill="#000" d="M1129.65 994.381c-2.16 2.59-55.21-24.169-63.41-23.306 1.73-23.738-8.63-45.318-12.51-68.192 17.26 8.2 43.14 12.948 59.1 22.443 15.96 9.495 22.43 18.99 23.29 20.285 1.29 2.589 1.29 3.021 1.29 6.042s-6.47 41.433-7.76 43.16v-.432Z"/>+</svg>diff --git a/docs/index.md b/docs/index.mdindex 3a3f666c..b4444d11 100644--- a/docs/index.md+++ b/docs/index.md@@ -68,7 +68,8 @@ SWE-agent is built and maintained by researchers from Princeton University and S## 📣 News-* **NEW**: [Multimodal support for SWE-bench](usage/multimodal.md) - Process images from GitHub issues with vision-capable AI models+* July 24: [Mini-SWE-Agent](https://github.com/SWE-agent/mini-SWE-agent) achieves 65% on SWE-bench verified in 100 lines of python!+* July 9: [Multimodal support for SWE-agent](usage/multimodal.md) - Process images from GitHub issues with vision-capable AI models* May 2: [SWE-agent-LM-32b](https://swesmith.com) achieves open-weights SOTA on SWE-bench* Feb 28: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-Bench full](https://x.com/KLieret/status/1895487966409298067)* Feb 25: [SWE-agent 1.0 + Claude 3.7 is SoTA on SWE-bench verified](https://x.com/KLieret/status/1894408819670733158)diff --git a/docs/overrides/main.html b/docs/overrides/main.htmlindex ef66e2d7..17e62afa 100644--- a/docs/overrides/main.html+++ b/docs/overrides/main.html@@ -1,6 +1,6 @@{% extends "base.html" %}{% block announce %}-🏆 <a href="https://swesmith.com">SWE-agent-LM-32b</a> achieves open-weights SOTA on SWE-bench!+📣 Check out <a href="https://mini-swe-agent.com">Mini-SWE-Agent</a>, an AI agent implemented in 100 lines that achieves 65% on SWE-bench verified!{% endblock %}{% block content %}@@ -9,6 +9,10 @@<!-- Floating Bubbles --><div class="floating-bubbles"><div class="floating-bubbles-title">Our projects</div>+ <a href="https://mini-swe-agent.com/" class="bubble" title="Mini-SWE-Agent">+ <img src="{{ 'assets/mini_logo.svg' | url }}" alt="Mini-SWE-Agent">+ <span class="bubble-tooltip">Mini-SWE-Agent</span>+ </a><a href="https://swe-rex.com/" class="bubble" title="SWE-rex"><img src="{{ 'assets/swerex_logo.svg' | url }}" alt="SWE-rex"><span class="bubble-tooltip">SWE-ReX</span>diff --git a/docs/usage/cl_tutorial.md b/docs/usage/cl_tutorial.mdindex a5e9fe85..13063712 100644--- a/docs/usage/cl_tutorial.md+++ b/docs/usage/cl_tutorial.md@@ -8,6 +8,11 @@Benchmarking SWE-agent is covered [separately](batch_mode.md).Finally, we have a different tutorial for using SWE-agent for [coding challenges](coding_challenges.md).+!!! tip "Mini-SWE-Agent"++ Looking for a simple, no-fuzz version of SWE-agent that can also help you in your daily work?+ Check out [Mini-SWE-Agent](https://mini-swe-agent.com/)!+## A few examplesBefore we start with a more structured explanation of the command line options, here are a few examples that you might find immediately useful:diff --git a/docs/usage/hello_world.md b/docs/usage/hello_world.mdindex 8321a87a..01d7c8b5 100644--- a/docs/usage/hello_world.md+++ b/docs/usage/hello_world.md@@ -7,6 +7,11 @@* We will be executing code in a Docker sandbox, so make sure you have docker installed ([docker troubleshooting](../installation/tips.md)).If you cannot run docker, skim this tutorial and see how you can run SWE-agent with cloud-based execution in the [command line basics tutorial](cl_tutorial.md).+!!! tip "Mini-SWE-Agent"++ Looking for a simple, no-fuzz version of SWE-agent that can also help you in your daily work?+ Check out [Mini-SWE-Agent](https://mini-swe-agent.com/)!+After installing SWE-agent, you have the `sweagent` command available. Run `sweagent --help` to see the list of subcommands.The most important ones are