Agent Reputation & TrustClearinghouse

mini-SWE-agent (open-source)

Category
Coding agent
Type
Open-source minimal coding agent (MIT licence) from the Princeton University and Stanford University SWE-agent/SWE-bench team; PyPI/GitHub mini-swe-agent
Source
Code repository
Last reviewed
2026-10-20 (what this means)

Citation check incomplete — recheck later.

Summary

mini-SWE-agent is a minimal open-source coding agent from the team behind SWE-bench and SWE-agent: about 100 lines of code that let a language model chosen by the user work in a repository through bash commands only. Sixteen independent studies that ran it were found (nine peer-reviewed), most from 2026, and most compared it with other harnesses using the same models. With strong recent models it often scored close to heavier harnesses (within five points of Claude Code on SWE-bench Verified with mini-SWE-agent 2.4.6; 75.5% against 69.8-73.6% for vendor harnesses on SWE-Serve), but several studies found it lower with weaker or differently trained models and on some task types (backend development in ABC-Bench, test generation in SWE-Mutation, small open models in SWEnergy). Security studies found weaknesses in 4.3-6.0% of its test-passing patches, an attack success rate between those of SWE-agent and OpenHands, and runs it reported as successful despite destructive patches. One medium-severity CVE affects its optional Bubblewrap sandbox, with no fix found as of 20 October 2026. Informational only; not a guarantee, endorsement, or certification.

Overall score: 61 · Evidence grade: A · Independent sources: 16 performance (9 peer-reviewed), 10 other

Evidence grade describes the amount and type of evidence, not the agent's quality.

Grade note: Grade A: 16 counted sources (9 peer-reviewed), and recent tests state the version tested: What Does a Harness Buy? (preprint, mini-swe-agent 2.4.6, the latest release), SWE-Serve (v2.4.3), DeepSWE (May 2026 commit) and DCAS (ASE 2026, v2.2.8). Results reflect the model and harness together (see Decision 0085, D3). (see methodology)

Factor breakdown

Factor breakdown
FactorWeightScoreNote
Completion rate30%55Same-model harness comparisons: within five points of Claude Code on 447 SWE-bench Verified tasks (mini-swe-agent 2.4.6); 75.5% on SWE-Serve against 73.6% (Codex) and 69.8% (Claude Code); 89.05% against OpenCode's 81.20% on SWE-bench Verified but 76.35% against 79.33% on SWE-bench Pro (A Jagged Frontier); OpenCode ahead by about 6 to 0.6 points on SWE-bench Pro, less with stronger models (Beyond the Model). Lower than other frameworks for backend tasks (ABC-Bench, below 20% with GPT-5 against about 50% in OpenHands) and test generation (SWE-Mutation); open models fine-tuned on OpenHands data fell sharply when moved to it (DCAS, 49.7% to 20.4%). SWE-bench Verified with default settings: 11.0-66.4% depending on the model (CodeScout, EET). No tasks resolved with 1.7B-4B models (SWEnergy).
Disputes20%55CVE-2026-108592 (published 10 October 2026; CVSS 4.0 6.0 Medium per VulnCheck; NVD Deferred): the optional Bubblewrap sandbox passes host environment variables, including API keys, to sandboxed commands in 1.10.0 through 2.4.6; no fix found as of 20 October 2026. The developers excluded two compromised litellm versions within hours of a March 2026 supply-chain attack. No legal or regulatory action found.
Adherence to limits25%50When "Correct" Is Not Safe (ACL 2026): 4.3-6.0% of test-passing patches had security weaknesses without any attack; average injected-issue attack success 10.4% (SWE-agent 14.7%, OpenHands 9.7%). SWEnergy: with small models it reported some runs as successful despite destructive or invalid patches. SWE-CC: average policy compliance 55.7% for mini-SWE-agent against 58.2% for OpenHands with the same four models (64.4% and 67.0% when the policies were supplied). The default local environment runs commands directly on the user's machine; the command-line tool asks for confirmation by default, while batch runs execute without confirmation. Hearsay: its run records were among the more checkable of five harnesses (75.3% of the primary examiner's citations corroborated), though no harness wrote a fully checkable record. An open GitHub proposal (#953) notes that task text is untrusted input to an agent with shell access.
Evidence quality25%85Sixteen independent sources, nine peer-reviewed (ACL 2026, Findings of ACL 2026 ×5, ASE 2026, ESEM 2026, an ICSE 2026 workshop). Recent tests state versions, including the latest release (2.4.6). Thirteen run it alongside other harnesses with the same models; two use it only as a fixed harness to compare models (LiveCANNBench, DeepSWE's main table). Several propose competing or add-on methods (disclosed), two counted studies share authors, and many more papers use it only as a fixed harness to compare models; the counted set is a representative sample.

0.30 × 55 + 0.20 × 55 + 0.25 × 50 + 0.25 × 85 = 61.25, rounded to 61 (rounding rule).

Scope

The open-source mini-SWE-agent (about 100 lines of agent code; the model acts only through bash commands), run with a language model chosen by the user, from v1.0.0 (22 July 2025) through v2.4.6 (23 July 2026) and the main branch (last code change 3 September 2026). v1.x and v2.x are both covered; v2.0.0 (11 February 2026) changed the interface. Studies that run models inside unmodified mini-SWE-agent count as tests of mini-SWE-agent; modified copies, forks and agents built on it are listed as other. SWE-agent, the team's larger agent, is a separate entry, and no study is counted for the same runs in both entries. Results depend heavily on the language model and task.

How sources were counted

The mini-SWE-agent repository, documentation and the SWE-bench leaderboards are the developers' own material and are not counted. Studies by independent authors that run models inside unmodified mini-SWE-agent count, with competing or add-on methods disclosed; most of them compare it with other harnesses using the same models. Modified copies, forks, agents built on it, and re-analyses of runs submitted by others are listed as other. Studies with mini-SWE-agent developers among the authors are excluded. SWE-agent, the team's larger agent, has its own entry, and no runs are counted in both.

Security and disputes

CVE-2026-108592 (published 10 October 2026; CVSS 4.0 score 6.0, Medium, per VulnCheck; NVD status Deferred) describes the optional Bubblewrap sandbox in versions 1.10.0 through 2.4.6 passing host environment variables, including API keys, to sandboxed commands, so a prompt injection in task content could read and send them out. No fix was found in a release or on the main branch as of 20 October 2026. In March 2026 the project excluded two litellm versions compromised in a supply-chain attack within hours of the attack. The default local environment runs commands directly on the user's machine. No legal or regulatory action was found.

Uncertainties

Sources

Independent performance sources (counted)

Other sources (not counted)

Not counted

Decision record: 0085.