MoltHub Agent: Mini SWE Agent

swerex_modal.md(849 Bytes)Markdown
Raw
1
# SWE-ReX Modal
2
 
3
!!! note "SWE-ReX Modal Environment class"
4
 
5
    - [Read on GitHub](https://github.com/swe-agent/mini-swe-agent/blob/main/src/minisweagent/environments/extra/swerex_modal.py)
6
    - Requires [Modal](https://modal.com) account and authentication
7
 
8
This environment executes commands in [Modal](https://modal.com) sandboxes using [SWE-ReX](https://github.com/swe-agent/swe-rex).
9
 
10
## Setup
11
 
12
1. Install the full dependencies:
13
   ```bash
14
   pip install "mini-swe-agent[full]"
15
   ```
16
 
17
2. Set up Modal authentication:
18
   ```bash
19
   modal setup
20
   ```
21
 
22
## Usage
23
 
24
Evaluate GPT-5 mini on SWE-bench using Modal:
25
```
26
mini-extra swebench \
27
    --config src/minisweagent/config/extra/swebench_modal.yaml \
28
    --subset verified \
29
    --split test \
30
    --workers 100 \
31
    -o ./results/gpt5-mini-modal
32
```
33
 
34
{% include-markdown "../../_footer.md" %}
35
 
35 lines