mini-swe-agent 1.1.1__tar.gz → 1.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mini_swe_agent-1.1.1/src/mini_swe_agent.egg-info → mini_swe_agent-1.1.2}/PKG-INFO +35 -17
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/README.md +32 -14
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/pyproject.toml +3 -3
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2/src/mini_swe_agent.egg-info}/PKG-INFO +35 -17
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/__init__.py +1 -1
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/config.py +3 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/mini.py +2 -5
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/LICENSE.md +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/setup.cfg +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/SOURCES.txt +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/dependency_links.txt +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/entry_points.txt +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/requires.txt +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/top_level.txt +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/__main__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/agents/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/agents/default.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/agents/interactive.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/agents/interactive_textual.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/README.md +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/default.yaml +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/extra/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/extra/swebench.yaml +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/github_issue.yaml +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/mini.tcss +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/config/mini.yaml +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/docker.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/extra/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/extra/swerex_docker.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/local.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/singularity.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/anthropic.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/litellm_model.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/test_models.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/utils/cache_control.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/utils/key_per_thread.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/py.typed +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/swebench.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/swebench_single.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/utils/batch_progress.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/github_issue.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/hello_world.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/inspector.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/mini_extra.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/utils/__init__.py +0 -0
- {mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/utils/save.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mini-swe-agent
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Nano SWE Agent - A simple AI software engineering agent
|
|
5
5
|
Author-email: Kilian Lieret <kilian.lieret@posteo.de>, "Carlos E. Jimenez" <carlosej@princeton.edu>
|
|
6
6
|
License: MIT License
|
|
@@ -32,9 +32,9 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
32
32
|
Classifier: Operating System :: OS Independent
|
|
33
33
|
Classifier: Intended Audience :: Developers
|
|
34
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
-
Classifier: Programming Language :: Python :: 3.
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
36
36
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
37
|
-
Requires-Python: >=3.
|
|
37
|
+
Requires-Python: >=3.10
|
|
38
38
|
Description-Content-Type: text/markdown
|
|
39
39
|
License-File: LICENSE.md
|
|
40
40
|
Requires-Dist: pyyaml
|
|
@@ -67,8 +67,8 @@ Requires-Dist: mkdocs-glightbox; extra == "dev"
|
|
|
67
67
|
Dynamic: license-file
|
|
68
68
|
|
|
69
69
|
<div align="center">
|
|
70
|
-
|
|
71
70
|
<a href="https://mini-swe-agent.com/latest/"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/mini-swe-agent-banner.svg" alt="mini-swe-agent banner" style="height: 7em"/></a>
|
|
71
|
+
</div>
|
|
72
72
|
|
|
73
73
|
<h1>The 100 line AI agent that solves GitHub issues & more</h1>
|
|
74
74
|
|
|
@@ -76,27 +76,25 @@ Dynamic: license-file
|
|
|
76
76
|
[](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
|
|
77
77
|
[](https://pypi.org/project/mini-swe-agent/)
|
|
78
78
|
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
79
|
In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
|
|
82
80
|
|
|
83
81
|
We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
|
|
84
82
|
|
|
85
83
|
`mini` is for
|
|
86
84
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
85
|
+
- **Researchers** who want to **benchmark, fine-tune or RL** without assumptions, bloat, or surprises
|
|
86
|
+
- **Hackers & power users** who like their tools like their scripts: **short, sharp, and readable**
|
|
87
|
+
- **Engineers** who want something **trivial to sandbox & to deploy anywhere**
|
|
90
88
|
|
|
91
89
|
Here's some details:
|
|
92
90
|
|
|
93
|
-
-
|
|
91
|
+
- **Minimal**: Just [100 lines of python](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py) (+100 total for [env](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/environments/local.py),
|
|
94
92
|
[model](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/models/litellm_model.py), [script](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/run/hello_world.py)) — no fancy dependencies!
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
93
|
+
- **Powerful:** Resolves 65% of GitHub issues in the [SWE-bench verified benchmark](https://www.swebench.com/) (with Claude Sonnet 4).
|
|
94
|
+
- **Friendly:** Comes with **two convenient UIs** that will turn this into your daily dev swiss army knife!
|
|
95
|
+
- **Environments:** In addition to local envs, you can use **docker**, **podman**, **singularity**, **apptainer**, and more
|
|
96
|
+
- **Tested:** [](https://codecov.io/gh/SWE-agent/mini-swe-agent)
|
|
97
|
+
- **Cutting edge:** Built by the Princeton & Stanford team behind [SWE-bench](https://swebench.com) and [SWE-agent](https://swe-agent.com).
|
|
100
98
|
|
|
101
99
|
<details>
|
|
102
100
|
|
|
@@ -240,11 +238,13 @@ agent.run("Write a sudoku game")
|
|
|
240
238
|
</tr>
|
|
241
239
|
</table>
|
|
242
240
|
|
|
243
|
-
##
|
|
241
|
+
## Let's get started!
|
|
244
242
|
|
|
245
243
|
Install + run in virtual environment
|
|
246
244
|
|
|
247
245
|
```bash
|
|
246
|
+
pip install uv && uvx mini-swe-agent [-v]
|
|
247
|
+
# or
|
|
248
248
|
pip install pipx && pipx ensurepath && pipx run mini-swe-agent [-v]
|
|
249
249
|
```
|
|
250
250
|
|
|
@@ -272,7 +272,25 @@ Read more in our [documentation](https://mini-swe-agent.com/latest/):
|
|
|
272
272
|
* [FAQ](https://mini-swe-agent.com/latest/faq/)
|
|
273
273
|
* [Contribute!](https://mini-swe-agent.com/latest/contributing/)
|
|
274
274
|
|
|
275
|
-
##
|
|
275
|
+
## Bottom line
|
|
276
|
+
|
|
277
|
+
If you found this work helpful, please consider citing
|
|
278
|
+
|
|
279
|
+
<details>
|
|
280
|
+
<summary> SWE-agent citation</summary>
|
|
281
|
+
|
|
282
|
+
```bibtex
|
|
283
|
+
@inproceedings{yang2024sweagent,
|
|
284
|
+
title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
|
|
285
|
+
author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
|
|
286
|
+
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
|
|
287
|
+
year={2024},
|
|
288
|
+
url={https://arxiv.org/abs/2405.15793}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
</details>
|
|
292
|
+
|
|
293
|
+
More agentic AI:
|
|
276
294
|
|
|
277
295
|
<div align="center">
|
|
278
296
|
<a href="https://github.com/SWE-agent/SWE-agent"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/sweagent_logo_text_below.svg" alt="SWE-agent" height="120px"></a>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
|
|
3
2
|
<a href="https://mini-swe-agent.com/latest/"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/mini-swe-agent-banner.svg" alt="mini-swe-agent banner" style="height: 7em"/></a>
|
|
3
|
+
</div>
|
|
4
4
|
|
|
5
5
|
<h1>The 100 line AI agent that solves GitHub issues & more</h1>
|
|
6
6
|
|
|
@@ -8,27 +8,25 @@
|
|
|
8
8
|
[](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
|
|
9
9
|
[](https://pypi.org/project/mini-swe-agent/)
|
|
10
10
|
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
11
|
In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
|
|
14
12
|
|
|
15
13
|
We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
|
|
16
14
|
|
|
17
15
|
`mini` is for
|
|
18
16
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
17
|
+
- **Researchers** who want to **benchmark, fine-tune or RL** without assumptions, bloat, or surprises
|
|
18
|
+
- **Hackers & power users** who like their tools like their scripts: **short, sharp, and readable**
|
|
19
|
+
- **Engineers** who want something **trivial to sandbox & to deploy anywhere**
|
|
22
20
|
|
|
23
21
|
Here's some details:
|
|
24
22
|
|
|
25
|
-
-
|
|
23
|
+
- **Minimal**: Just [100 lines of python](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py) (+100 total for [env](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/environments/local.py),
|
|
26
24
|
[model](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/models/litellm_model.py), [script](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/run/hello_world.py)) — no fancy dependencies!
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
25
|
+
- **Powerful:** Resolves 65% of GitHub issues in the [SWE-bench verified benchmark](https://www.swebench.com/) (with Claude Sonnet 4).
|
|
26
|
+
- **Friendly:** Comes with **two convenient UIs** that will turn this into your daily dev swiss army knife!
|
|
27
|
+
- **Environments:** In addition to local envs, you can use **docker**, **podman**, **singularity**, **apptainer**, and more
|
|
28
|
+
- **Tested:** [](https://codecov.io/gh/SWE-agent/mini-swe-agent)
|
|
29
|
+
- **Cutting edge:** Built by the Princeton & Stanford team behind [SWE-bench](https://swebench.com) and [SWE-agent](https://swe-agent.com).
|
|
32
30
|
|
|
33
31
|
<details>
|
|
34
32
|
|
|
@@ -172,11 +170,13 @@ agent.run("Write a sudoku game")
|
|
|
172
170
|
</tr>
|
|
173
171
|
</table>
|
|
174
172
|
|
|
175
|
-
##
|
|
173
|
+
## Let's get started!
|
|
176
174
|
|
|
177
175
|
Install + run in virtual environment
|
|
178
176
|
|
|
179
177
|
```bash
|
|
178
|
+
pip install uv && uvx mini-swe-agent [-v]
|
|
179
|
+
# or
|
|
180
180
|
pip install pipx && pipx ensurepath && pipx run mini-swe-agent [-v]
|
|
181
181
|
```
|
|
182
182
|
|
|
@@ -204,7 +204,25 @@ Read more in our [documentation](https://mini-swe-agent.com/latest/):
|
|
|
204
204
|
* [FAQ](https://mini-swe-agent.com/latest/faq/)
|
|
205
205
|
* [Contribute!](https://mini-swe-agent.com/latest/contributing/)
|
|
206
206
|
|
|
207
|
-
##
|
|
207
|
+
## Bottom line
|
|
208
|
+
|
|
209
|
+
If you found this work helpful, please consider citing
|
|
210
|
+
|
|
211
|
+
<details>
|
|
212
|
+
<summary> SWE-agent citation</summary>
|
|
213
|
+
|
|
214
|
+
```bibtex
|
|
215
|
+
@inproceedings{yang2024sweagent,
|
|
216
|
+
title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
|
|
217
|
+
author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
|
|
218
|
+
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
|
|
219
|
+
year={2024},
|
|
220
|
+
url={https://arxiv.org/abs/2405.15793}
|
|
221
|
+
}
|
|
222
|
+
```
|
|
223
|
+
</details>
|
|
224
|
+
|
|
225
|
+
More agentic AI:
|
|
208
226
|
|
|
209
227
|
<div align="center">
|
|
210
228
|
<a href="https://github.com/SWE-agent/SWE-agent"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/sweagent_logo_text_below.svg" alt="SWE-agent" height="120px"></a>
|
|
@@ -8,7 +8,7 @@ name = "mini-swe-agent"
|
|
|
8
8
|
dynamic = ["version"]
|
|
9
9
|
description = "Nano SWE Agent - A simple AI software engineering agent"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
requires-python = ">=3.
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
12
|
license = {file = "LICENSE.md"}
|
|
13
13
|
keywords = ["nlp", "agents", "code"]
|
|
14
14
|
authors = [
|
|
@@ -26,7 +26,7 @@ classifiers = [
|
|
|
26
26
|
"Intended Audience :: Developers",
|
|
27
27
|
# Pick your license as you wish
|
|
28
28
|
"License :: OSI Approved :: MIT License",
|
|
29
|
-
"Programming Language :: Python :: 3.
|
|
29
|
+
"Programming Language :: Python :: 3.10",
|
|
30
30
|
"Programming Language :: Python :: 3 :: Only",
|
|
31
31
|
]
|
|
32
32
|
|
|
@@ -127,7 +127,7 @@ exclude = [
|
|
|
127
127
|
line-length = 120
|
|
128
128
|
indent-width = 4
|
|
129
129
|
|
|
130
|
-
target-version = "
|
|
130
|
+
target-version = "py310"
|
|
131
131
|
|
|
132
132
|
[tool.ruff.lint]
|
|
133
133
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mini-swe-agent
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Nano SWE Agent - A simple AI software engineering agent
|
|
5
5
|
Author-email: Kilian Lieret <kilian.lieret@posteo.de>, "Carlos E. Jimenez" <carlosej@princeton.edu>
|
|
6
6
|
License: MIT License
|
|
@@ -32,9 +32,9 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
32
32
|
Classifier: Operating System :: OS Independent
|
|
33
33
|
Classifier: Intended Audience :: Developers
|
|
34
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
-
Classifier: Programming Language :: Python :: 3.
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
36
36
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
37
|
-
Requires-Python: >=3.
|
|
37
|
+
Requires-Python: >=3.10
|
|
38
38
|
Description-Content-Type: text/markdown
|
|
39
39
|
License-File: LICENSE.md
|
|
40
40
|
Requires-Dist: pyyaml
|
|
@@ -67,8 +67,8 @@ Requires-Dist: mkdocs-glightbox; extra == "dev"
|
|
|
67
67
|
Dynamic: license-file
|
|
68
68
|
|
|
69
69
|
<div align="center">
|
|
70
|
-
|
|
71
70
|
<a href="https://mini-swe-agent.com/latest/"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/mini-swe-agent-banner.svg" alt="mini-swe-agent banner" style="height: 7em"/></a>
|
|
71
|
+
</div>
|
|
72
72
|
|
|
73
73
|
<h1>The 100 line AI agent that solves GitHub issues & more</h1>
|
|
74
74
|
|
|
@@ -76,27 +76,25 @@ Dynamic: license-file
|
|
|
76
76
|
[](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
|
|
77
77
|
[](https://pypi.org/project/mini-swe-agent/)
|
|
78
78
|
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
79
|
In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
|
|
82
80
|
|
|
83
81
|
We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
|
|
84
82
|
|
|
85
83
|
`mini` is for
|
|
86
84
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
85
|
+
- **Researchers** who want to **benchmark, fine-tune or RL** without assumptions, bloat, or surprises
|
|
86
|
+
- **Hackers & power users** who like their tools like their scripts: **short, sharp, and readable**
|
|
87
|
+
- **Engineers** who want something **trivial to sandbox & to deploy anywhere**
|
|
90
88
|
|
|
91
89
|
Here's some details:
|
|
92
90
|
|
|
93
|
-
-
|
|
91
|
+
- **Minimal**: Just [100 lines of python](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py) (+100 total for [env](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/environments/local.py),
|
|
94
92
|
[model](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/models/litellm_model.py), [script](https://github.com/SWE-agent/mini-swe-agent/blob/main/src/minisweagent/run/hello_world.py)) — no fancy dependencies!
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
93
|
+
- **Powerful:** Resolves 65% of GitHub issues in the [SWE-bench verified benchmark](https://www.swebench.com/) (with Claude Sonnet 4).
|
|
94
|
+
- **Friendly:** Comes with **two convenient UIs** that will turn this into your daily dev swiss army knife!
|
|
95
|
+
- **Environments:** In addition to local envs, you can use **docker**, **podman**, **singularity**, **apptainer**, and more
|
|
96
|
+
- **Tested:** [](https://codecov.io/gh/SWE-agent/mini-swe-agent)
|
|
97
|
+
- **Cutting edge:** Built by the Princeton & Stanford team behind [SWE-bench](https://swebench.com) and [SWE-agent](https://swe-agent.com).
|
|
100
98
|
|
|
101
99
|
<details>
|
|
102
100
|
|
|
@@ -240,11 +238,13 @@ agent.run("Write a sudoku game")
|
|
|
240
238
|
</tr>
|
|
241
239
|
</table>
|
|
242
240
|
|
|
243
|
-
##
|
|
241
|
+
## Let's get started!
|
|
244
242
|
|
|
245
243
|
Install + run in virtual environment
|
|
246
244
|
|
|
247
245
|
```bash
|
|
246
|
+
pip install uv && uvx mini-swe-agent [-v]
|
|
247
|
+
# or
|
|
248
248
|
pip install pipx && pipx ensurepath && pipx run mini-swe-agent [-v]
|
|
249
249
|
```
|
|
250
250
|
|
|
@@ -272,7 +272,25 @@ Read more in our [documentation](https://mini-swe-agent.com/latest/):
|
|
|
272
272
|
* [FAQ](https://mini-swe-agent.com/latest/faq/)
|
|
273
273
|
* [Contribute!](https://mini-swe-agent.com/latest/contributing/)
|
|
274
274
|
|
|
275
|
-
##
|
|
275
|
+
## Bottom line
|
|
276
|
+
|
|
277
|
+
If you found this work helpful, please consider citing
|
|
278
|
+
|
|
279
|
+
<details>
|
|
280
|
+
<summary> SWE-agent citation</summary>
|
|
281
|
+
|
|
282
|
+
```bibtex
|
|
283
|
+
@inproceedings{yang2024sweagent,
|
|
284
|
+
title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
|
|
285
|
+
author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
|
|
286
|
+
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
|
|
287
|
+
year={2024},
|
|
288
|
+
url={https://arxiv.org/abs/2405.15793}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
</details>
|
|
292
|
+
|
|
293
|
+
More agentic AI:
|
|
276
294
|
|
|
277
295
|
<div align="center">
|
|
278
296
|
<a href="https://github.com/SWE-agent/SWE-agent"><img src="https://github.com/SWE-agent/mini-swe-agent/raw/main/docs/assets/sweagent_logo_text_below.svg" alt="SWE-agent" height="120px"></a>
|
|
@@ -58,6 +58,9 @@ def setup():
|
|
|
58
58
|
).strip()
|
|
59
59
|
if default_model:
|
|
60
60
|
set_key(global_config_file, "MSWEA_MODEL_NAME", default_model)
|
|
61
|
+
console.print(
|
|
62
|
+
"[bold yellow]If you already have your API keys set as environment variables, you can ignore the next question.[/bold yellow]"
|
|
63
|
+
)
|
|
61
64
|
key_name = prompt("Enter your API key name (e.g., ANTHROPIC_API_KEY): ").strip()
|
|
62
65
|
key_value = None
|
|
63
66
|
if key_name:
|
|
@@ -48,8 +48,6 @@ def run_interactive(model: Model, env: Environment, agent_config: dict, task: st
|
|
|
48
48
|
exit_status, result = None, None
|
|
49
49
|
try:
|
|
50
50
|
exit_status, result = agent.run(task)
|
|
51
|
-
except KeyboardInterrupt:
|
|
52
|
-
console.print("\n[bold red]KeyboardInterrupt -- goodbye[/bold red]")
|
|
53
51
|
finally:
|
|
54
52
|
if output:
|
|
55
53
|
save_traj(agent, output, exit_status=exit_status, result=result)
|
|
@@ -65,10 +63,9 @@ def run_textual(model: Model, env: Environment, agent_config: dict, task: str, o
|
|
|
65
63
|
)
|
|
66
64
|
try:
|
|
67
65
|
agent_app.run()
|
|
68
|
-
except KeyboardInterrupt:
|
|
69
|
-
typer.echo("\nKeyboardInterrupt -- goodbye")
|
|
70
66
|
finally:
|
|
71
|
-
|
|
67
|
+
if output:
|
|
68
|
+
save_traj(agent_app.agent, output, exit_status=agent_app.exit_status, result=agent_app.result)
|
|
72
69
|
|
|
73
70
|
|
|
74
71
|
@app.command(help=__doc__)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/mini_swe_agent.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/agents/interactive_textual.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/extra/__init__.py
RENAMED
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/environments/extra/swerex_docker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/utils/cache_control.py
RENAMED
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/models/utils/key_per_thread.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mini_swe_agent-1.1.1 → mini_swe_agent-1.1.2}/src/minisweagent/run/extra/utils/batch_progress.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|