Multi-agent
Do multi-agent systems get higher scores on SWE-sweep?
Note: some runs are still in progress, so a few points in the figures and tables will be filled in over the coming days. The patterns are already established.
We recently released SWE-sweep (paper, code), a benchmark that gives an agent a repository and challenges it to fix all bugs within that codebase without any hints and without breaking existing tests. The result is graded on a suite of hidden tests.
On SWE-sweep, due to the large scope of each task, the harness used by the agent plays a significant role. Each codebase is thousands of lines long; therefore, performance is limited not only by how capable a model is but also by how much ground it can cover.
Do multi-agent systems find more bugs than a single agent on SWE-sweep, and is it worth what they cost?
There are many ways to implement a multi-agent system. For clarity, we list all of the systems we compare here:
- Single-agent: a single agent with a bash tool (a stock mini-swe-agent loop; the 1-agent point of the sequential baseline below).
- Multi-agent:
- The sequential multi-agent: one agent runs N times in a row. Each run starts from the code the previous run left (it does not see earlier trajectories). Scored on the final cumulative patch.
- The union multi-agent: N agents run independently (without communication) on the same task with the same directive. Scored as the union of bugs resolved by any of the N runs: a best-case upper bound for independent runs, not a merged patch.‡
- The agent swarm: N agents work in the same worktree with a method of communication between them.
We introduce mini-swarm, a minimal implementation of the agent swarm. We report results from running several models with mini-swarm on SWE-sweep: Luna 5.6 (xhigh), Sonnet 5.5 (xhigh), Sol 6.1 (xhigh) and Argon (high).
Using mini-swarm, we found that more agents help and that how they work together matters:
| One stock agent to a 5-agent swarm | About twice the bugs for Luna 5.6 and Sonnet 5.5; more for Sol 6.1 and Argon. |
|---|---|
| Swarm vs union multi-agent, 5 agents | The swarm resolved more bugs for every model. |
| Swarm vs sequential multi-agent, 5 agents | Clearly ahead for Argon; within rerun noise for Luna 5.6 and Sol 6.1. Sonnet 5.5's sequential runs did better, but took 6–10 hours per repository against the swarm's 2. |
| Same working time (Luna 5.6, 2 hours) | Luna 5.6 baseline agents usually stop within an hour. Given the same 2 hours, 5 independent agents did as well as the 5-agent swarm (22 vs 18.5); at 10 agents only the swarm with compaction pulled clearly ahead (51 vs 26; 33 without). |
Despite these gains, SWE-sweep remains a challenging benchmark: the best configuration we ran resolved only 11% of the bugs, and a single broken test can wipe out a repository's result†.
Our setup
mini-swarm implements the agent swarm. It runs N mini-swe-style agents on one shared worktree checkout and lets them coordinate through a shared work queue.
Agents can add tasks to the shared work queue, claim a task before starting to work on it, and mark it done when finished. We do not impose any hierarchy or roles on the agents.
All experiments are run on the following 5 repos: v, pandas, nim, symfony, rails. Swarm runs use 5 agents unless noted (Figures 3 and 4 vary the count), a 2-hour limit and the same first prompt for every model. We also enforced a 1-hour minimum before agents could submit: occasionally a rogue agent would submit very early, so this was an experimental means to reduce noise and give all runs a fair chance. All results mentioned are for Luna 5.6 unless noted otherwise.
Experiments
Naive multi-agent baseline
We first ran our baseline experiments with the sequential multi-agent setup; it resolved 16 bugs at 5 agents and 18 at 10.
- Sequential
About this figure
Luna 5.6; 5 repos, 948 bugs; cost, steps and agent-hours are cumulative over the agents
Hover a point for values
| Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|
| 1 | 1.1% | 10 | $4.22 | 752 | 1.7 | 0.3–0.5 | 1 |
| 2 | 1.4% | 13 | $6.00 | 1,251 | 3.0 | 0.5–1.0 | 1 |
| 3 | 1.5% | 14 | $7.74 | 1,741 | 4.0 | 0.6–1.3 | 1 |
| 4 | 1.6% | 15 | $9.24 | 2,173 | 4.9 | 0.7–1.6 | 1 |
| 5 | 1.7% | 16 | $10.52 | 2,552 | 5.8 | 0.8–1.8 | 1 |
| 6 | 1.7% | 16 | $11.88 | 2,957 | 6.9 | 1.0–2.2 | 1 |
| 7 | 1.8% | 17 | $13.34 | 3,413 | 8.0 | 1.1–2.4 | 1 |
| 8 | 1.8% | 17 | $15.43 | 3,924 | 9.1 | 1.2–2.8 | 1 |
| 9 | 1.9% | 18 | $16.96 | 4,402 | 10.1 | 1.3–3.2 | 1 |
| 10 | 1.9% | 18 | $18.35 | 4,854 | 11.3 | 1.5–3.6 | 1 |
| 11 | 1.9% | 18 | $19.72 | 5,305 | 16.7 | 2.5–4.6 | 1 |
| 12 | 2.0% | 19 | $21.47 | 5,827 | 21.9 | 3.2–5.9 | 1 |
| 13 | 2.0% | 19 | $23.31 | 6,337 | 25.5 | 3.7–6.9 | 1 |
| 14 | 2.0% | 19 | $25.29 | 6,893 | 29.2 | 4.6–7.8 | 1 |
| 15 | 2.0% | 19 | $27.34 | 7,438 | 33.3 | 5.5–8.6 | 1 |
| 16 | 2.0% | 19 | $28.81 | 7,879 | 36.6 | 6.1–9.8 | 1 |
| 17 | 2.1% | 20 | $30.88 | 8,420 | 40.1 | 6.6–10.0 | 1 |
| 18 | 2.1% | 20 | $32.78 | 8,940 | 42.7 | 7.6–10.4 | 1 |
| 19 | 2.1% | 20 | $34.45 | 9,426 | 44.0 | 7.8–10.6 | 1 |
| 20 | 2.2% | 21 | $36.32 | 9,963 | 45.1 | 7.9–11.0 | 1 |
| Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|
| 1 | 3.8% | 36 | $238.98 | 2,251 | 11.8 | 1.7–3.1 | 1 |
| 2 | 5.6% | 53 | $453.33 | 4,321 | 21.1 | 3.3–5.2 | 1 |
| 3 | 6.5% | 62 | $613.84 | 6,099 | 27.6 | 4.5–6.6 | 1 |
| 4 | 7.6% | 72 | $798.70 | 8,002 | 34.9 | 5.7–8.5 | 1 |
| 5 | 8.8% | 83 | $981.41 | 9,868 | 40.6 | 6.3–10.1 | 1 |
| 6 | 9.8% | 93 | $1,193.10 | 11,963 | 48.2 | 7.3–11.9 | 1 |
| 7 | 10.0% | 95 | $1,350.09 | 13,744 | 54.7 | 8.4–13.6 | 1 |
| 8 | 10.3% | 98 | $1,524.29 | 15,653 | 61.1 | 9.2–15.3 | 1 |
| 9 | 10.7% | 101 | $1,717.55 | 17,528 | 68.6 | 9.9–17.7 | 1 |
| 10 | 11.0% | 104 | $1,880.44 | 19,385 | 74.8 | 10.4–19.6 | 1 |
| Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|
| 1 | 1.2% | 11 | $6.61 | 275 | 2.3 | 0.4–0.6 | 1 |
| 2 | 2.3% | 22 | $13.72 | 552 | 4.1 | 0.6–1.1 | 1 |
| 3 | 3.7% | 35 | $21.64 | 894 | 6.4 | 1.1–1.5 | 1 |
| 4 | 4.1% | 39 | $29.53 | 1,238 | 8.7 | 1.4–2.3 | 1 |
| 5 | 4.9% | 46 | $38.40 | 1,610 | 11.3 | 1.9–3.0 | 1 |
| 6 | 5.3% | 50 | $46.67 | 1,987 | 13.8 | 2.2–3.9 | 1 |
| 7 | 5.9% | 56 | $56.46 | 2,354 | 17.7 | 2.5–6.0 | 1 |
| 8 | 6.2% | 59 | $63.41 | 2,632 | 20.1 | 2.7–6.9 | 1 |
| 9 | 6.3% | 60 | $71.69 | 2,982 | 22.6 | 3.2–7.5 | 1 |
| 10 | 6.8% | 64 | $79.58 | 3,329 | 24.8 | 3.5–8.2 | 1 |
| 11 | 6.9% | 65 | $86.14 | 3,625 | 29.5 | 4.4–9.2 | 1 |
| 12 | 7.4% | 70 | $92.65 | 3,902 | 33.4 | 5.3–9.8 | 1 |
| 13 | 7.5% | 71 | $99.68 | 4,220 | 37.1 | 5.9–11.1 | 1 |
| 14 | 7.7% | 73 | $106.24 | 4,489 | 40.2 | 6.3–11.8 | 1 |
| 15 | 8.2% | 78 | $112.82 | 4,790 | 43.3 | 6.8–12.7 | 1 |
| 16 | 8.4% | 80 | $122.09 | 5,155 | 48.4 | 7.4–14.9 | 1 |
| 17 | 8.5% | 81 | $128.92 | 5,477 | 51.0 | 8.0–15.2 | 1 |
| 18 | 9.0% | 85 | $137.04 | 5,849 | 54.8 | 8.5–15.7 | 1 |
| 19 | 9.1% | 86 | $146.27 | 6,250 | 57.9 | 9.5–16.2 | 1 |
| 20 | 9.5% | 90 | $155.03 | 6,610 | 60.5 | 9.8–16.6 | 1 |
| Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|
| 1 | 1.4% | 13 | $171.78 | 1,877 | 13.5 | 1.9–3.5 | 1 |
| 2 | 3.1% | 29 | $305.29 | 3,828 | 24.0 | 4.3–5.8 | 1 |
| 3 | 4.0% | 38 | $436.29 | 5,496 | 33.1 | 5.5–7.8 | 1 |
| 4 | 4.2% | 40 | $543.23 | 7,181 | 42.8 | 7.7–10.3 | 1 |
| 5 | 4.2% | 40 | $659.11 | 8,905 | 52.2 | 9.0–12.7 | 1 |
| 6 | 4.2% | 40 | $775.91 | 10,648 | 62.4 | 11.1–15.0 | 1 |
| 7 | 4.3% | 41 | $866.14 | 12,141 | 70.6 | 13.0–16.5 | 1 |
| 8 | 4.3% | 41 | $966.43 | 13,722 | 79.2 | 14.8–18.5 | 1 |
| 9 | 5.2% | 49 | $1,076.90 | 15,363 | 88.9 | 16.4–21.0 | 1 |
| 10 | 4.3% | 41 | $1,184.29 | 16,986 | 97.7 | 18.1–23.2 | 1 |
We then ran the union multi-agent setup; it resolved 14 bugs at 5 agents and 19 at 10.
- Sequential
- Union
About this figure
Luna 5.6; 5 repos, 948 bugs; the sequential line from Figure 1 is drawn lighter; cost, steps and agent-hours are cumulative over the agents
Hover a point for values
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.1% | 10 | $4.22 | 752 | 1.7 | 0.3–0.5 | 1 | |
| Sequential | 2 | 1.4% | 13 | $6.00 | 1,251 | 3.0 | 0.5–1.0 | 1 | |
| Sequential | 3 | 1.5% | 14 | $7.74 | 1,741 | 4.0 | 0.6–1.3 | 1 | |
| Sequential | 4 | 1.6% | 15 | $9.24 | 2,173 | 4.9 | 0.7–1.6 | 1 | |
| Sequential | 5 | 1.7% | 16 | $10.52 | 2,552 | 5.8 | 0.8–1.8 | 1 | |
| Sequential | 6 | 1.7% | 16 | $11.88 | 2,957 | 6.9 | 1.0–2.2 | 1 | |
| Sequential | 7 | 1.8% | 17 | $13.34 | 3,413 | 8.0 | 1.1–2.4 | 1 | |
| Sequential | 8 | 1.8% | 17 | $15.43 | 3,924 | 9.1 | 1.2–2.8 | 1 | |
| Sequential | 9 | 1.9% | 18 | $16.96 | 4,402 | 10.1 | 1.3–3.2 | 1 | |
| Sequential | 10 | 1.9% | 18 | $18.35 | 4,854 | 11.3 | 1.5–3.6 | 1 | |
| Sequential | 11 | 1.9% | 18 | $19.72 | 5,305 | 16.7 | 2.5–4.6 | 1 | |
| Sequential | 12 | 2.0% | 19 | $21.47 | 5,827 | 21.9 | 3.2–5.9 | 1 | |
| Sequential | 13 | 2.0% | 19 | $23.31 | 6,337 | 25.5 | 3.7–6.9 | 1 | |
| Sequential | 14 | 2.0% | 19 | $25.29 | 6,893 | 29.2 | 4.6–7.8 | 1 | |
| Sequential | 15 | 2.0% | 19 | $27.34 | 7,438 | 33.3 | 5.5–8.6 | 1 | |
| Sequential | 16 | 2.0% | 19 | $28.81 | 7,879 | 36.6 | 6.1–9.8 | 1 | |
| Sequential | 17 | 2.1% | 20 | $30.88 | 8,420 | 40.1 | 6.6–10.0 | 1 | |
| Sequential | 18 | 2.1% | 20 | $32.78 | 8,940 | 42.7 | 7.6–10.4 | 1 | |
| Sequential | 19 | 2.1% | 20 | $34.45 | 9,426 | 44.0 | 7.8–10.6 | 1 | |
| Sequential | 20 | 2.2% | 21 | $36.32 | 9,963 | 45.1 | 7.9–11.0 | 1 | |
| Union | 1 | 0.6% | 6 | $3.67 | 693 | 2.7 | 0.4–0.6 | 1 | |
| Union | 2 | 1.2% | 11 | $8.20 | 1,443 | 5.9 | 0.6–0.8 | 1 | |
| Union | 3 | 1.3% | 12 | $11.18 | 2,082 | 8.7 | 0.6–0.8 | 1 | |
| Union | 4 | 1.4% | 13 | $14.64 | 2,805 | 11.7 | 0.6–0.8 | 1 | |
| Union | 5 | 1.5% | 14 | $18.72 | 3,579 | 14.7 | 0.6–0.8 | 1 | |
| Union | 6 | 1.8% | 17 | $22.28 | 4,336 | 17.7 | 0.6–0.8 | 1 | |
| Union | 7 | 2.0% | 19 | $25.78 | 5,078 | 20.8 | 0.6–0.8 | 1 | |
| Union | 8 | 2.0% | 19 | $29.29 | 5,786 | 23.5 | 0.6–0.8 | 1 | |
| Union | 9 | 2.0% | 19 | $32.22 | 6,457 | 26.3 | 0.6–0.8 | 1 | |
| Union | 10 | 2.0% | 19 | $36.45 | 7,245 | 29.5 | 0.6–0.8 | 1 | |
| Union | 11 | 2.1% | 20 | $40.77 | 7,985 | 38.5 | 1.6–2.0 | 1 | |
| Union | 12 | 2.5% | 24 | $45.54 | 8,768 | 47.8 | 1.7–2.1 | 1 | |
| Union | 13 | 2.8% | 27 | $50.81 | 9,626 | 57.6 | 1.8–2.1 | 1 | |
| Union | 14 | 3.1% | 29 | $54.86 | 10,442 | 66.5 | 2.0–2.1 | 1 | |
| Union | 15 | 3.4% | 32 | $58.08 | 11,179 | 75.2 | 2.0–2.1 | 1 | |
| Union | 16 | 3.4% | 32 | $62.27 | 11,998 | 80.9 | 2.0–2.1 | 1 | |
| Union | 17 | 3.5% | 33 | $66.01 | 12,686 | 85.8 | 2.0–2.1 | 1 | |
| Union | 18 | 3.6% | 34 | 35 (3.7%) | $71.01 | 13,555 | 91.1 | 2.0–2.1 | 1 |
| Union | 19 | 3.7% | 35 | 36 (3.8%) | $75.08 | 14,374 | 96.9 | 2.0–2.1 | 1 |
| Union | 20 | 3.7% | 35 | 36 (3.8%) | $78.67 | 15,091 | 101.6 | 2.0–2.1 | 1 |
| Sequential, 2 h limit | 1 | 0.9% | 9 | $13.20 | 1,389 | 4.6 | 0.5–1.0 | 1 | |
| Sequential, 2 h limit | 2 | 1.6% | 15 | $25.37 | 2,800 | 10.2 | 1.6–2.5 | 1 | |
| Sequential, 2 h limit | 3 | 1.7% | 16 | 17 (1.8%) | $35.15 | 4,235 | 15.3 | 2.6–3.6 | 1 |
| Sequential, 2 h limit | 4 | 1.8% | 17 | 18 (1.9%) | $48.50 | 5,697 | 20.4 | 3.6–4.6 | 1 |
| Sequential, 2 h limit | 5 | 2.3% | 22 | $59.96 | 7,058 | 25.5 | 4.7–5.6 | 1 | |
| Sequential, 2 h limit | 6 | 2.3% | 22 | $71.21 | 8,482 | 30.6 | 5.7–6.6 | 1 | |
| Sequential, 2 h limit | 7 | 2.4% | 23 | $79.73 | 9,711 | 35.7 | 6.7–7.6 | 1 | |
| Sequential, 2 h limit | 8 | 2.4% | 23 | $90.96 | 11,034 | 40.3 | 7.6–8.6 | 1 | |
| Sequential, 2 h limit | 9 | 2.7% | 26 | $105.13 | 12,523 | 45.0 | 8.6–9.6 | 1 | |
| Sequential, 2 h limit | 10 | 2.7% | 26 | 28 (3.0%) | $116.61 | 13,848 | 50.0 | 9.6–10.6 | 1 |
| Union, 2 h limit | 1 | 0.8% | 8 | $10.33 | 1,178 | 5.1 | 1.0–1.0 | 1 | |
| Union, 2 h limit | 2 | 0.9% | 9 | $21.89 | 2,448 | 10.2 | 1.0–1.1 | 1 | |
| Union, 2 h limit | 3 | 1.6% | 15 | 17 (1.8%) | $34.25 | 3,730 | 15.3 | 1.0–1.1 | 1 |
| Union, 2 h limit | 4 | 2.0% | 19 | 21 (2.2%) | $47.26 | 5,128 | 20.3 | 1.0–1.1 | 1 |
| Union, 2 h limit | 5 | 2.3% | 22 | 24 (2.5%) | $58.33 | 6,453 | 26.0 | 1.0–1.6 | 1 |
| Union, 2 h limit | 6 | 2.3% | 22 | 25 (2.6%) | $70.75 | 7,833 | 31.0 | 1.0–1.6 | 1 |
| Union, 2 h limit | 7 | 2.4% | 23 | 26 (2.7%) | $85.74 | 9,293 | 36.0 | 1.0–1.6 | 1 |
| Union, 2 h limit | 8 | 2.5% | 24 | 29 (3.1%) | $98.06 | 10,604 | 41.0 | 1.0–1.6 | 1 |
| Union, 2 h limit | 9 | 2.7% | 26 | 30 (3.2%) | $112.00 | 11,956 | 46.1 | 1.0–1.6 | 1 |
| Union, 2 h limit | 10 | 2.7% | 26 | 30 (3.2%) | $124.56 | 13,253 | 50.7 | 1.0–1.6 | 1 |
| System | Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 3.8% | 36 | $238.98 | 2,251 | 11.8 | 1.7–3.1 | 1 |
| Sequential | 2 | 5.6% | 53 | $453.33 | 4,321 | 21.1 | 3.3–5.2 | 1 |
| Sequential | 3 | 6.5% | 62 | $613.84 | 6,099 | 27.6 | 4.5–6.6 | 1 |
| Sequential | 4 | 7.6% | 72 | $798.70 | 8,002 | 34.9 | 5.7–8.5 | 1 |
| Sequential | 5 | 8.8% | 83 | $981.41 | 9,868 | 40.6 | 6.3–10.1 | 1 |
| Sequential | 6 | 9.8% | 93 | $1,193.10 | 11,963 | 48.2 | 7.3–11.9 | 1 |
| Sequential | 7 | 10.0% | 95 | $1,350.09 | 13,744 | 54.7 | 8.4–13.6 | 1 |
| Sequential | 8 | 10.3% | 98 | $1,524.29 | 15,653 | 61.1 | 9.2–15.3 | 1 |
| Sequential | 9 | 10.7% | 101 | $1,717.55 | 17,528 | 68.6 | 9.9–17.7 | 1 |
| Sequential | 10 | 11.0% | 104 | $1,880.44 | 19,385 | 74.8 | 10.4–19.6 | 1 |
| Union | 1 | 3.3% | 31 | $212.75 | 2,109 | 9.0 | 1.0–2.8 | 1 |
| Union | 2 | 5.0% | 47 | $441.48 | 4,277 | 19.5 | 1.4–2.8 | 1 |
| Union | 3 | 5.8% | 55 | $684.16 | 6,473 | 29.6 | 1.8–2.8 | 1 |
| Union | 4 | 5.9% | 56 | $921.48 | 8,672 | 39.4 | 1.9–2.8 | 1 |
| Union | 5 | 6.5% | 62 | $1,148.18 | 10,843 | 49.1 | 1.9–2.8 | 1 |
| Union | 6 | 7.2% | 68 | $1,350.95 | 12,878 | 57.9 | 1.9–2.8 | 1 |
| Union | 7 | 8.0% | 76 | $1,570.10 | 15,024 | 67.0 | 2.0–2.8 | 1 |
| Union | 8 | 8.8% | 83 | $1,815.07 | 17,353 | 78.4 | 2.0–3.4 | 1 |
| Union | 9 | 8.8% | 83 | $2,055.22 | 19,652 | 89.6 | 2.0–3.4 | 1 |
| Union | 10 | 9.0% | 85 | $2,263.82 | 21,721 | 99.3 | 2.0–3.4 | 1 |
| System | Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.2% | 11 | $6.61 | 275 | 2.3 | 0.4–0.6 | 1 |
| Sequential | 2 | 2.3% | 22 | $13.72 | 552 | 4.1 | 0.6–1.1 | 1 |
| Sequential | 3 | 3.7% | 35 | $21.64 | 894 | 6.4 | 1.1–1.5 | 1 |
| Sequential | 4 | 4.1% | 39 | $29.53 | 1,238 | 8.7 | 1.4–2.3 | 1 |
| Sequential | 5 | 4.9% | 46 | $38.40 | 1,610 | 11.3 | 1.9–3.0 | 1 |
| Sequential | 6 | 5.3% | 50 | $46.67 | 1,987 | 13.8 | 2.2–3.9 | 1 |
| Sequential | 7 | 5.9% | 56 | $56.46 | 2,354 | 17.7 | 2.5–6.0 | 1 |
| Sequential | 8 | 6.2% | 59 | $63.41 | 2,632 | 20.1 | 2.7–6.9 | 1 |
| Sequential | 9 | 6.3% | 60 | $71.69 | 2,982 | 22.6 | 3.2–7.5 | 1 |
| Sequential | 10 | 6.8% | 64 | $79.58 | 3,329 | 24.8 | 3.5–8.2 | 1 |
| Sequential | 11 | 6.9% | 65 | $86.14 | 3,625 | 29.5 | 4.4–9.2 | 1 |
| Sequential | 12 | 7.4% | 70 | $92.65 | 3,902 | 33.4 | 5.3–9.8 | 1 |
| Sequential | 13 | 7.5% | 71 | $99.68 | 4,220 | 37.1 | 5.9–11.1 | 1 |
| Sequential | 14 | 7.7% | 73 | $106.24 | 4,489 | 40.2 | 6.3–11.8 | 1 |
| Sequential | 15 | 8.2% | 78 | $112.82 | 4,790 | 43.3 | 6.8–12.7 | 1 |
| Sequential | 16 | 8.4% | 80 | $122.09 | 5,155 | 48.4 | 7.4–14.9 | 1 |
| Sequential | 17 | 8.5% | 81 | $128.92 | 5,477 | 51.0 | 8.0–15.2 | 1 |
| Sequential | 18 | 9.0% | 85 | $137.04 | 5,849 | 54.8 | 8.5–15.7 | 1 |
| Sequential | 19 | 9.1% | 86 | $146.27 | 6,250 | 57.9 | 9.5–16.2 | 1 |
| Sequential | 20 | 9.5% | 90 | $155.03 | 6,610 | 60.5 | 9.8–16.6 | 1 |
| Union | 1 | 1.2% | 11 | $7.52 | 305 | 2.4 | 0.3–0.7 | 1 |
| Union | 2 | 2.6% | 25 | $14.38 | 582 | 4.7 | 0.3–0.7 | 1 |
| Union | 3 | 3.1% | 29 | $22.51 | 917 | 7.2 | 0.4–0.7 | 1 |
| Union | 4 | 3.2% | 30 | $29.69 | 1,212 | 9.5 | 0.4–0.7 | 1 |
| Union | 5 | 3.6% | 34 | $38.19 | 1,537 | 12.1 | 0.4–0.7 | 1 |
| Union | 6 | 3.7% | 35 | $45.28 | 1,848 | 14.2 | 0.4–0.7 | 1 |
| Union | 7 | 3.9% | 37 | $52.32 | 2,127 | 16.4 | 0.4–0.7 | 1 |
| Union | 8 | 4.0% | 38 | $60.31 | 2,461 | 18.6 | 0.4–0.7 | 1 |
| Union | 9 | 4.2% | 40 | $68.00 | 2,777 | 21.1 | 0.4–0.7 | 1 |
| Union | 10 | 4.4% | 42 | $75.97 | 3,104 | 23.5 | 0.4–0.7 | 1 |
| Union | 11 | 4.6% | 44 | $89.31 | 3,431 | 30.9 | 0.7–4.0 | 1 |
| Union | 12 | 4.9% | 46 | $95.93 | 3,741 | 35.7 | 0.8–4.0 | 1 |
| Union | 13 | 5.0% | 47 | $102.88 | 4,025 | 40.7 | 0.9–4.0 | 1 |
| Union | 14 | 5.2% | 49 | $109.68 | 4,307 | 45.4 | 0.9–4.0 | 1 |
| Union | 15 | 5.3% | 50 | $116.08 | 4,592 | 49.8 | 0.9–4.0 | 1 |
| Union | 16 | 5.3% | 50 | $123.01 | 4,908 | 53.9 | 0.9–4.0 | 1 |
| Union | 17 | 5.4% | 51 | $130.06 | 5,204 | 58.3 | 0.9–4.0 | 1 |
| Union | 18 | 5.4% | 51 | $137.16 | 5,506 | 62.8 | 0.9–4.0 | 1 |
| Union | 19 | 5.4% | 51 | $144.28 | 5,805 | 67.2 | 0.9–4.0 | 1 |
| Union | 20 | 5.4% | 51 | $153.72 | 6,175 | 72.5 | 1.0–4.0 | 1 |
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.4% | 13 | $171.78 | 1,877 | 13.5 | 1.9–3.5 | 1 | |
| Sequential | 2 | 3.1% | 29 | $305.29 | 3,828 | 24.0 | 4.3–5.8 | 1 | |
| Sequential | 3 | 4.0% | 38 | $436.29 | 5,496 | 33.1 | 5.5–7.8 | 1 | |
| Sequential | 4 | 4.2% | 40 | $543.23 | 7,181 | 42.8 | 7.7–10.3 | 1 | |
| Sequential | 5 | 4.2% | 40 | $659.11 | 8,905 | 52.2 | 9.0–12.7 | 1 | |
| Sequential | 6 | 4.2% | 40 | $775.91 | 10,648 | 62.4 | 11.1–15.0 | 1 | |
| Sequential | 7 | 4.3% | 41 | $866.14 | 12,141 | 70.6 | 13.0–16.5 | 1 | |
| Sequential | 8 | 4.3% | 41 | $966.43 | 13,722 | 79.2 | 14.8–18.5 | 1 | |
| Sequential | 9 | 5.2% | 49 | $1,076.90 | 15,363 | 88.9 | 16.4–21.0 | 1 | |
| Sequential | 10 | 4.3% | 41 | $1,184.29 | 16,986 | 97.7 | 18.1–23.2 | 1 | |
| Union | 1 | 1.9% | 18 | $191.14 | 1,697 | 12.7 | 1.5–3.3 | 1 | |
| Union | 2 | 2.7% | 26 | $374.13 | 3,595 | 26.0 | 1.8–3.8 | 1 | |
| Union | 3 | 3.8% | 36 | 44 (4.6%) | $559.04 | 5,509 | 38.6 | 1.8–3.8 | 1 |
| Union | 4 | 5.6% | 53 | 61 (6.4%) | $742.43 | 7,382 | 51.4 | 2.2–3.8 | 1 |
| Union | 5 | 6.8% | 64 | 70 (7.4%) | $922.53 | 9,191 | 64.5 | 2.3–3.8 | 1 |
| Union | 6 | 7.1% | 67 | 73 (7.7%) | $1,081.50 | 10,885 | 77.0 | 2.3–3.8 | 1 |
| Union | 7 | 8.1% | 77 | 82 (8.6%) | $1,268.36 | 12,726 | 90.6 | 2.3–4.0 | 1 |
| Union | 8 | 8.4% | 80 | 85 (9.0%) | $1,433.74 | 14,502 | 102.9 | 2.3–4.0 | 1 |
| Union | 9 | 9.5% | 90 | 94 (9.9%) | $1,639.19 | 16,518 | 116.2 | 2.3–4.0 | 1 |
| Union | 10 | 9.9% | 94 | 97 (10.2%) | $1,827.34 | 18,309 | 128.8 | 2.3–4.0 | 1 |
mini-swarm runs
We then ran the agent swarm in mini-swarm.
As a reminder, a run scores 0 on a repository if its final patch breaks the build or fails a visible test.
- Sequential
- Union
- Swarm, no compaction
About this figure
Luna 5.6; 5 repos, 948 bugs; the lines from Figures 1 and 2 are drawn lighter; a point with several runs is their mean; the 1-agent point is a one-agent swarm
Incomplete, not plotted: 10 agents, 3 of 5 repos done (v, pandas, nim): 67 of 659 bugs for $771.23; 20 agents, 1 of 5 repos done (v): 17 of 239 bugs for $393.83.
Incomplete, not plotted: 20 agents, 3 of 5 repos done (v, pandas, nim): 43 of 659 bugs for $486.83.
Hover a point for values
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.1% | 10 | $4.22 | 752 | 1.7 | 0.3–0.5 | 1 | |
| Sequential | 2 | 1.4% | 13 | $6.00 | 1,251 | 3.0 | 0.5–1.0 | 1 | |
| Sequential | 3 | 1.5% | 14 | $7.74 | 1,741 | 4.0 | 0.6–1.3 | 1 | |
| Sequential | 4 | 1.6% | 15 | $9.24 | 2,173 | 4.9 | 0.7–1.6 | 1 | |
| Sequential | 5 | 1.7% | 16 | $10.52 | 2,552 | 5.8 | 0.8–1.8 | 1 | |
| Sequential | 6 | 1.7% | 16 | $11.88 | 2,957 | 6.9 | 1.0–2.2 | 1 | |
| Sequential | 7 | 1.8% | 17 | $13.34 | 3,413 | 8.0 | 1.1–2.4 | 1 | |
| Sequential | 8 | 1.8% | 17 | $15.43 | 3,924 | 9.1 | 1.2–2.8 | 1 | |
| Sequential | 9 | 1.9% | 18 | $16.96 | 4,402 | 10.1 | 1.3–3.2 | 1 | |
| Sequential | 10 | 1.9% | 18 | $18.35 | 4,854 | 11.3 | 1.5–3.6 | 1 | |
| Sequential | 11 | 1.9% | 18 | $19.72 | 5,305 | 16.7 | 2.5–4.6 | 1 | |
| Sequential | 12 | 2.0% | 19 | $21.47 | 5,827 | 21.9 | 3.2–5.9 | 1 | |
| Sequential | 13 | 2.0% | 19 | $23.31 | 6,337 | 25.5 | 3.7–6.9 | 1 | |
| Sequential | 14 | 2.0% | 19 | $25.29 | 6,893 | 29.2 | 4.6–7.8 | 1 | |
| Sequential | 15 | 2.0% | 19 | $27.34 | 7,438 | 33.3 | 5.5–8.6 | 1 | |
| Sequential | 16 | 2.0% | 19 | $28.81 | 7,879 | 36.6 | 6.1–9.8 | 1 | |
| Sequential | 17 | 2.1% | 20 | $30.88 | 8,420 | 40.1 | 6.6–10.0 | 1 | |
| Sequential | 18 | 2.1% | 20 | $32.78 | 8,940 | 42.7 | 7.6–10.4 | 1 | |
| Sequential | 19 | 2.1% | 20 | $34.45 | 9,426 | 44.0 | 7.8–10.6 | 1 | |
| Sequential | 20 | 2.2% | 21 | $36.32 | 9,963 | 45.1 | 7.9–11.0 | 1 | |
| Union | 1 | 0.6% | 6 | $3.67 | 693 | 2.7 | 0.4–0.6 | 1 | |
| Union | 2 | 1.2% | 11 | $8.20 | 1,443 | 5.9 | 0.6–0.8 | 1 | |
| Union | 3 | 1.3% | 12 | $11.18 | 2,082 | 8.7 | 0.6–0.8 | 1 | |
| Union | 4 | 1.4% | 13 | $14.64 | 2,805 | 11.7 | 0.6–0.8 | 1 | |
| Union | 5 | 1.5% | 14 | $18.72 | 3,579 | 14.7 | 0.6–0.8 | 1 | |
| Union | 6 | 1.8% | 17 | $22.28 | 4,336 | 17.7 | 0.6–0.8 | 1 | |
| Union | 7 | 2.0% | 19 | $25.78 | 5,078 | 20.8 | 0.6–0.8 | 1 | |
| Union | 8 | 2.0% | 19 | $29.29 | 5,786 | 23.5 | 0.6–0.8 | 1 | |
| Union | 9 | 2.0% | 19 | $32.22 | 6,457 | 26.3 | 0.6–0.8 | 1 | |
| Union | 10 | 2.0% | 19 | $36.45 | 7,245 | 29.5 | 0.6–0.8 | 1 | |
| Union | 11 | 2.1% | 20 | $40.77 | 7,985 | 38.5 | 1.6–2.0 | 1 | |
| Union | 12 | 2.5% | 24 | $45.54 | 8,768 | 47.8 | 1.7–2.1 | 1 | |
| Union | 13 | 2.8% | 27 | $50.81 | 9,626 | 57.6 | 1.8–2.1 | 1 | |
| Union | 14 | 3.1% | 29 | $54.86 | 10,442 | 66.5 | 2.0–2.1 | 1 | |
| Union | 15 | 3.4% | 32 | $58.08 | 11,179 | 75.2 | 2.0–2.1 | 1 | |
| Union | 16 | 3.4% | 32 | $62.27 | 11,998 | 80.9 | 2.0–2.1 | 1 | |
| Union | 17 | 3.5% | 33 | $66.01 | 12,686 | 85.8 | 2.0–2.1 | 1 | |
| Union | 18 | 3.6% | 34 | 35 (3.7%) | $71.01 | 13,555 | 91.1 | 2.0–2.1 | 1 |
| Union | 19 | 3.7% | 35 | 36 (3.8%) | $75.08 | 14,374 | 96.9 | 2.0–2.1 | 1 |
| Union | 20 | 3.7% | 35 | 36 (3.8%) | $78.67 | 15,091 | 101.6 | 2.0–2.1 | 1 |
| Swarm, no compaction | 1 | 0.5% | 5(7, 3) | 5.5 (0.6%)(7, 4) | $12.08($12.15, $12.02) | 1,421(1,327, 1,515) | 5.1(5.2, 5.1) | n/a | 2 |
| Swarm, no compaction | 5 | 2.0% | 18.5(22, 15) | $39.34($38.17, $40.51) | 6,319(6,170, 6,468) | 25.5(25.6, 25.3) | n/a | 2 | |
| Swarm, no compaction | 10 | 3.5% | 33(29, 37) | 36.5 (3.9%)(36, 37) | $70.00($61.39, $78.62) | 12,513.5(11,804, 13,223) | 51.6(52.4, 50.9) | n/a | 2 |
| Swarm, no compaction | 20 | 2.5% | 23.5(32, 15) | 36 (3.8%)(40, 32) | $77.06($68.05, $86.07) | 19,108(18,393, 19,823) | 104.8(106.6, 103.1) | n/a | 2 |
| System | Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 3.8% | 36 | $238.98 | 2,251 | 11.8 | 1.7–3.1 | 1 |
| Sequential | 2 | 5.6% | 53 | $453.33 | 4,321 | 21.1 | 3.3–5.2 | 1 |
| Sequential | 3 | 6.5% | 62 | $613.84 | 6,099 | 27.6 | 4.5–6.6 | 1 |
| Sequential | 4 | 7.6% | 72 | $798.70 | 8,002 | 34.9 | 5.7–8.5 | 1 |
| Sequential | 5 | 8.8% | 83 | $981.41 | 9,868 | 40.6 | 6.3–10.1 | 1 |
| Sequential | 6 | 9.8% | 93 | $1,193.10 | 11,963 | 48.2 | 7.3–11.9 | 1 |
| Sequential | 7 | 10.0% | 95 | $1,350.09 | 13,744 | 54.7 | 8.4–13.6 | 1 |
| Sequential | 8 | 10.3% | 98 | $1,524.29 | 15,653 | 61.1 | 9.2–15.3 | 1 |
| Sequential | 9 | 10.7% | 101 | $1,717.55 | 17,528 | 68.6 | 9.9–17.7 | 1 |
| Sequential | 10 | 11.0% | 104 | $1,880.44 | 19,385 | 74.8 | 10.4–19.6 | 1 |
| Union | 1 | 3.3% | 31 | $212.75 | 2,109 | 9.0 | 1.0–2.8 | 1 |
| Union | 2 | 5.0% | 47 | $441.48 | 4,277 | 19.5 | 1.4–2.8 | 1 |
| Union | 3 | 5.8% | 55 | $684.16 | 6,473 | 29.6 | 1.8–2.8 | 1 |
| Union | 4 | 5.9% | 56 | $921.48 | 8,672 | 39.4 | 1.9–2.8 | 1 |
| Union | 5 | 6.5% | 62 | $1,148.18 | 10,843 | 49.1 | 1.9–2.8 | 1 |
| Union | 6 | 7.2% | 68 | $1,350.95 | 12,878 | 57.9 | 1.9–2.8 | 1 |
| Union | 7 | 8.0% | 76 | $1,570.10 | 15,024 | 67.0 | 2.0–2.8 | 1 |
| Union | 8 | 8.8% | 83 | $1,815.07 | 17,353 | 78.4 | 2.0–3.4 | 1 |
| Union | 9 | 8.8% | 83 | $2,055.22 | 19,652 | 89.6 | 2.0–3.4 | 1 |
| Union | 10 | 9.0% | 85 | $2,263.82 | 21,721 | 99.3 | 2.0–3.4 | 1 |
| Swarm, no compaction | 1 | 2.4% | 22.5(13, 32) | $175.03($144.52, $205.54) | 2,219.5(1,886, 2,553) | 7.9(7.6, 8.2) | n/a | 2 |
| Swarm, no compaction | 5 | 7.4% | 70.5(71, 70) | $786.17($731.53, $840.81) | 9,500(8,951, 10,049) | 35.0(36.7, 33.3) | n/a | 2 |
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.2% | 11 | $6.61 | 275 | 2.3 | 0.4–0.6 | 1 | |
| Sequential | 2 | 2.3% | 22 | $13.72 | 552 | 4.1 | 0.6–1.1 | 1 | |
| Sequential | 3 | 3.7% | 35 | $21.64 | 894 | 6.4 | 1.1–1.5 | 1 | |
| Sequential | 4 | 4.1% | 39 | $29.53 | 1,238 | 8.7 | 1.4–2.3 | 1 | |
| Sequential | 5 | 4.9% | 46 | $38.40 | 1,610 | 11.3 | 1.9–3.0 | 1 | |
| Sequential | 6 | 5.3% | 50 | $46.67 | 1,987 | 13.8 | 2.2–3.9 | 1 | |
| Sequential | 7 | 5.9% | 56 | $56.46 | 2,354 | 17.7 | 2.5–6.0 | 1 | |
| Sequential | 8 | 6.2% | 59 | $63.41 | 2,632 | 20.1 | 2.7–6.9 | 1 | |
| Sequential | 9 | 6.3% | 60 | $71.69 | 2,982 | 22.6 | 3.2–7.5 | 1 | |
| Sequential | 10 | 6.8% | 64 | $79.58 | 3,329 | 24.8 | 3.5–8.2 | 1 | |
| Sequential | 11 | 6.9% | 65 | $86.14 | 3,625 | 29.5 | 4.4–9.2 | 1 | |
| Sequential | 12 | 7.4% | 70 | $92.65 | 3,902 | 33.4 | 5.3–9.8 | 1 | |
| Sequential | 13 | 7.5% | 71 | $99.68 | 4,220 | 37.1 | 5.9–11.1 | 1 | |
| Sequential | 14 | 7.7% | 73 | $106.24 | 4,489 | 40.2 | 6.3–11.8 | 1 | |
| Sequential | 15 | 8.2% | 78 | $112.82 | 4,790 | 43.3 | 6.8–12.7 | 1 | |
| Sequential | 16 | 8.4% | 80 | $122.09 | 5,155 | 48.4 | 7.4–14.9 | 1 | |
| Sequential | 17 | 8.5% | 81 | $128.92 | 5,477 | 51.0 | 8.0–15.2 | 1 | |
| Sequential | 18 | 9.0% | 85 | $137.04 | 5,849 | 54.8 | 8.5–15.7 | 1 | |
| Sequential | 19 | 9.1% | 86 | $146.27 | 6,250 | 57.9 | 9.5–16.2 | 1 | |
| Sequential | 20 | 9.5% | 90 | $155.03 | 6,610 | 60.5 | 9.8–16.6 | 1 | |
| Union | 1 | 1.2% | 11 | $7.52 | 305 | 2.4 | 0.3–0.7 | 1 | |
| Union | 2 | 2.6% | 25 | $14.38 | 582 | 4.7 | 0.3–0.7 | 1 | |
| Union | 3 | 3.1% | 29 | $22.51 | 917 | 7.2 | 0.4–0.7 | 1 | |
| Union | 4 | 3.2% | 30 | $29.69 | 1,212 | 9.5 | 0.4–0.7 | 1 | |
| Union | 5 | 3.6% | 34 | $38.19 | 1,537 | 12.1 | 0.4–0.7 | 1 | |
| Union | 6 | 3.7% | 35 | $45.28 | 1,848 | 14.2 | 0.4–0.7 | 1 | |
| Union | 7 | 3.9% | 37 | $52.32 | 2,127 | 16.4 | 0.4–0.7 | 1 | |
| Union | 8 | 4.0% | 38 | $60.31 | 2,461 | 18.6 | 0.4–0.7 | 1 | |
| Union | 9 | 4.2% | 40 | $68.00 | 2,777 | 21.1 | 0.4–0.7 | 1 | |
| Union | 10 | 4.4% | 42 | $75.97 | 3,104 | 23.5 | 0.4–0.7 | 1 | |
| Union | 11 | 4.6% | 44 | $89.31 | 3,431 | 30.9 | 0.7–4.0 | 1 | |
| Union | 12 | 4.9% | 46 | $95.93 | 3,741 | 35.7 | 0.8–4.0 | 1 | |
| Union | 13 | 5.0% | 47 | $102.88 | 4,025 | 40.7 | 0.9–4.0 | 1 | |
| Union | 14 | 5.2% | 49 | $109.68 | 4,307 | 45.4 | 0.9–4.0 | 1 | |
| Union | 15 | 5.3% | 50 | $116.08 | 4,592 | 49.8 | 0.9–4.0 | 1 | |
| Union | 16 | 5.3% | 50 | $123.01 | 4,908 | 53.9 | 0.9–4.0 | 1 | |
| Union | 17 | 5.4% | 51 | $130.06 | 5,204 | 58.3 | 0.9–4.0 | 1 | |
| Union | 18 | 5.4% | 51 | $137.16 | 5,506 | 62.8 | 0.9–4.0 | 1 | |
| Union | 19 | 5.4% | 51 | $144.28 | 5,805 | 67.2 | 0.9–4.0 | 1 | |
| Union | 20 | 5.4% | 51 | $153.72 | 6,175 | 72.5 | 1.0–4.0 | 1 | |
| Swarm, no compaction | 1 | 1.4% | 13.5(15, 12) | $11.73($12.90, $10.55) | 426.5(419, 434) | 6.2(6.3, 6.2) | n/a | 2 | |
| Swarm, no compaction | 5 | 4.5% | 42.5(45, 40) | $49.32($52.16, $46.48) | 2,167(2,228, 2,106) | 28.6(30.3, 26.9) | n/a | 2 | |
| Swarm, no compaction | 10 | 5.5% | 52 | 74 (7.8%) | $118.70 | 4,510 | 60.5 | n/a | 1 |
| Swarm, no compaction | 20 | 9.1% | 86 | $180.95 | 7,650 | 111.7 | n/a | 1 |
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.4% | 13 | $171.78 | 1,877 | 13.5 | 1.9–3.5 | 1 | |
| Sequential | 2 | 3.1% | 29 | $305.29 | 3,828 | 24.0 | 4.3–5.8 | 1 | |
| Sequential | 3 | 4.0% | 38 | $436.29 | 5,496 | 33.1 | 5.5–7.8 | 1 | |
| Sequential | 4 | 4.2% | 40 | $543.23 | 7,181 | 42.8 | 7.7–10.3 | 1 | |
| Sequential | 5 | 4.2% | 40 | $659.11 | 8,905 | 52.2 | 9.0–12.7 | 1 | |
| Sequential | 6 | 4.2% | 40 | $775.91 | 10,648 | 62.4 | 11.1–15.0 | 1 | |
| Sequential | 7 | 4.3% | 41 | $866.14 | 12,141 | 70.6 | 13.0–16.5 | 1 | |
| Sequential | 8 | 4.3% | 41 | $966.43 | 13,722 | 79.2 | 14.8–18.5 | 1 | |
| Sequential | 9 | 5.2% | 49 | $1,076.90 | 15,363 | 88.9 | 16.4–21.0 | 1 | |
| Sequential | 10 | 4.3% | 41 | $1,184.29 | 16,986 | 97.7 | 18.1–23.2 | 1 | |
| Union | 1 | 1.9% | 18 | $191.14 | 1,697 | 12.7 | 1.5–3.3 | 1 | |
| Union | 2 | 2.7% | 26 | $374.13 | 3,595 | 26.0 | 1.8–3.8 | 1 | |
| Union | 3 | 3.8% | 36 | 44 (4.6%) | $559.04 | 5,509 | 38.6 | 1.8–3.8 | 1 |
| Union | 4 | 5.6% | 53 | 61 (6.4%) | $742.43 | 7,382 | 51.4 | 2.2–3.8 | 1 |
| Union | 5 | 6.8% | 64 | 70 (7.4%) | $922.53 | 9,191 | 64.5 | 2.3–3.8 | 1 |
| Union | 6 | 7.1% | 67 | 73 (7.7%) | $1,081.50 | 10,885 | 77.0 | 2.3–3.8 | 1 |
| Union | 7 | 8.1% | 77 | 82 (8.6%) | $1,268.36 | 12,726 | 90.6 | 2.3–4.0 | 1 |
| Union | 8 | 8.4% | 80 | 85 (9.0%) | $1,433.74 | 14,502 | 102.9 | 2.3–4.0 | 1 |
| Union | 9 | 9.5% | 90 | 94 (9.9%) | $1,639.19 | 16,518 | 116.2 | 2.3–4.0 | 1 |
| Union | 10 | 9.9% | 94 | 97 (10.2%) | $1,827.34 | 18,309 | 128.8 | 2.3–4.0 | 1 |
| Swarm, no compaction | 1 | 3.3% | 31(29, 33) | $57.69($54.46, $60.92) | 1,241(1,206, 1,276) | 7.6(7.7, 7.6) | n/a | 2 | |
| Swarm, no compaction | 5 | 7.7% | 73(78, 68) | $341.84($338.39, $345.30) | 5,931(5,775, 6,087) | 33.7(34.5, 33.0) | n/a | 2 | |
| Swarm, no compaction | 10 | 5.8% | 55 | 84 (8.9%) | $578.53 | 9,501 | 58.1 | n/a | 1 |
The swarm resolved 18.5 bugs at 5 agents and 33 at 10; 20 agents did no better (23.5).
Letting an agent's context grow without limit has a cost: as the run goes on, each step gets slower and more expensive. To test how much this matters, we reran with compaction. Once the model's context exceeds 100k tokens, it's told to write a summary that becomes its new context (along with the initial system prompt).
We plot how long each API call took, and what it cost, against how far into the run it happened. Without compaction both rise early in the run as the context grows; with compaction they stay roughly flat.
About this figure
Luna 5.6; 5 repos, one 5-agent run per repo and setting; 5-minute bins
Each point averages every step the agents took in a 5-minute bin, pooled over the 5 repositories; API call time is how long the step's model call took (the agent's commands are not included). Bins with fewer than 50 steps (one or two agents still working near the end) are left out.
Hover for each bin's values, step count and mean context size
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 1,217 | 4.3 | $0.0019 | 56,216 |
| 5–10 | 929 | 6.8 | $0.0030 | 120,108 |
| 10–15 | 727 | 8.0 | $0.0040 | 167,521 |
| 15–20 | 650 | 8.7 | $0.0057 | 212,028 |
| 20–25 | 590 | 9.8 | $0.0074 | 243,860 |
| 25–30 | 499 | 10.9 | $0.0091 | 269,718 |
| 30–35 | 415 | 10.5 | $0.0105 | 285,206 |
| 35–40 | 334 | 11.0 | $0.0110 | 294,065 |
| 40–45 | 279 | 9.9 | $0.0118 | 300,909 |
| 45–50 | 240 | 9.4 | $0.0122 | 315,589 |
| 50–55 | 119 | 7.2 | $0.0113 | 305,885 |
| 55–60 | 109 | 6.8 | $0.0110 | 306,303 |
| 60–65 | 53 | 7.5 | $0.0123 | 325,236 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 778 | 3.8 | $0.0015 | 36,439 |
| 5–10 | 1,060 | 4.8 | $0.0021 | 58,776 |
| 10–15 | 1,082 | 4.7 | $0.0021 | 55,419 |
| 15–20 | 1,159 | 4.9 | $0.0020 | 55,436 |
| 20–25 | 1,110 | 4.9 | $0.0021 | 59,802 |
| 25–30 | 1,039 | 4.7 | $0.0020 | 53,530 |
| 30–35 | 998 | 4.4 | $0.0019 | 55,671 |
| 35–40 | 751 | 4.5 | $0.0019 | 54,610 |
| 40–45 | 733 | 4.5 | $0.0019 | 58,048 |
| 45–50 | 642 | 4.6 | $0.0020 | 57,025 |
| 50–55 | 642 | 4.6 | $0.0020 | 60,690 |
| 55–60 | 591 | 4.5 | $0.0020 | 56,246 |
| 60–65 | 519 | 4.2 | $0.0019 | 56,501 |
| 65–70 | 295 | 4.3 | $0.0021 | 59,476 |
| 70–75 | 154 | 4.7 | $0.0021 | 58,804 |
| 75–80 | 82 | 4.5 | $0.0018 | 52,515 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 1,091 | 4.2 | $0.0186 | 50,362 |
| 5–10 | 805 | 6.4 | $0.0378 | 140,786 |
| 10–15 | 694 | 8.4 | $0.0518 | 210,062 |
| 15–20 | 594 | 9.8 | $0.0639 | 267,482 |
| 20–25 | 493 | 11.2 | $0.0738 | 315,751 |
| 25–30 | 555 | 11.2 | $0.0813 | 356,906 |
| 30–35 | 457 | 12.6 | $0.0880 | 385,301 |
| 35–40 | 408 | 14.3 | $0.0983 | 427,148 |
| 40–45 | 448 | 14.2 | $0.1022 | 456,626 |
| 45–50 | 402 | 15.5 | $0.1091 | 488,388 |
| 50–55 | 388 | 16.6 | $0.1147 | 515,609 |
| 55–60 | 335 | 16.8 | $0.1210 | 548,617 |
| 60–65 | 392 | 15.0 | $0.1139 | 515,349 |
| 65–70 | 348 | 15.1 | $0.1185 | 534,703 |
| 70–75 | 373 | 14.7 | $0.1243 | 567,523 |
| 75–80 | 340 | 13.4 | $0.1253 | 576,450 |
| 80–85 | 358 | 11.8 | $0.1128 | 513,569 |
| 85–90 | 328 | 12.0 | $0.1158 | 522,777 |
| 90–95 | 137 | 9.0 | $0.1209 | 575,641 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 714 | 4.0 | $0.0147 | 31,702 |
| 5–10 | 924 | 4.9 | $0.0220 | 54,223 |
| 10–15 | 851 | 4.7 | $0.0211 | 51,143 |
| 15–20 | 998 | 4.8 | $0.0225 | 53,316 |
| 20–25 | 940 | 4.9 | $0.0222 | 50,918 |
| 25–30 | 1,099 | 4.8 | $0.0227 | 53,991 |
| 30–35 | 1,087 | 4.8 | $0.0219 | 51,960 |
| 35–40 | 936 | 5.0 | $0.0230 | 54,714 |
| 40–45 | 999 | 4.8 | $0.0216 | 52,766 |
| 45–50 | 658 | 4.7 | $0.0219 | 55,691 |
| 50–55 | 909 | 4.5 | $0.0217 | 54,357 |
| 55–60 | 890 | 5.2 | $0.0221 | 51,723 |
| 60–65 | 956 | 5.0 | $0.0220 | 52,383 |
| 65–70 | 882 | 4.8 | $0.0223 | 55,582 |
| 70–75 | 822 | 5.1 | $0.0232 | 55,997 |
| 75–80 | 763 | 4.6 | $0.0225 | 57,178 |
| 80–85 | 814 | 4.8 | $0.0218 | 53,287 |
| 85–90 | 623 | 4.8 | $0.0233 | 53,825 |
| 90–95 | 112 | 3.2 | $0.0140 | 41,430 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 525 | 11.0 | $0.0122 | 24,379 |
| 5–10 | 335 | 17.3 | $0.0187 | 64,577 |
| 10–15 | 251 | 24.8 | $0.0227 | 92,122 |
| 15–20 | 212 | 25.8 | $0.0232 | 111,873 |
| 20–25 | 164 | 27.6 | $0.0235 | 125,474 |
| 25–30 | 126 | 31.0 | $0.0256 | 136,819 |
| 30–35 | 108 | 30.1 | $0.0267 | 149,737 |
| 35–40 | 97 | 31.8 | $0.0291 | 157,863 |
| 40–45 | 87 | 38.0 | $0.0355 | 167,531 |
| 45–50 | 76 | 41.7 | $0.0330 | 176,168 |
| 50–55 | 64 | 40.1 | $0.0310 | 173,849 |
| 55–60 | 65 | 46.0 | $0.0332 | 178,192 |
| 60–65 | 68 | 43.2 | $0.0350 | 174,322 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 466 | 10.4 | $0.0115 | 22,134 |
| 5–10 | 272 | 18.3 | $0.0177 | 56,621 |
| 10–15 | 291 | 20.1 | $0.0200 | 68,917 |
| 15–20 | 311 | 18.5 | $0.0190 | 51,267 |
| 20–25 | 309 | 19.0 | $0.0179 | 43,202 |
| 25–30 | 266 | 22.4 | $0.0197 | 61,489 |
| 30–35 | 253 | 22.4 | $0.0211 | 56,348 |
| 35–40 | 240 | 21.3 | $0.0199 | 52,902 |
| 40–45 | 211 | 21.7 | $0.0204 | 60,426 |
| 45–50 | 205 | 21.5 | $0.0208 | 49,304 |
| 50–55 | 218 | 20.7 | $0.0189 | 52,508 |
| 55–60 | 155 | 21.5 | $0.0196 | 55,997 |
| 60–65 | 138 | 20.0 | $0.0191 | 51,562 |
| 65–70 | 93 | 25.6 | $0.0205 | 44,697 |
| 70–75 | 53 | 34.5 | $0.0231 | 48,038 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 586 | 10.2 | $0.0116 | 24,068 |
| 5–10 | 479 | 13.6 | $0.0194 | 82,801 |
| 10–15 | 468 | 15.6 | $0.0395 | 141,569 |
| 15–20 | 402 | 18.0 | $0.0404 | 186,879 |
| 20–25 | 389 | 18.6 | $0.0401 | 230,395 |
| 25–30 | 325 | 22.0 | $0.0493 | 271,387 |
| 30–35 | 320 | 23.4 | $0.0632 | 304,767 |
| 35–40 | 298 | 24.4 | $0.0786 | 340,766 |
| 40–45 | 282 | 25.9 | $0.0873 | 374,852 |
| 45–50 | 299 | 23.3 | $0.0596 | 404,585 |
| 50–55 | 312 | 23.1 | $0.0915 | 437,870 |
| 55–60 | 298 | 23.8 | $0.0749 | 462,459 |
| 60–65 | 230 | 26.6 | $0.1086 | 492,727 |
| 65–70 | 234 | 24.1 | $0.0704 | 524,925 |
| 70–75 | 181 | 27.9 | $0.0954 | 545,147 |
| 75–80 | 202 | 24.2 | $0.0956 | 571,962 |
| 80–85 | 188 | 26.3 | $0.1056 | 603,853 |
| 85–90 | 213 | 21.8 | $0.0774 | 544,495 |
| 90–95 | 64 | 21.4 | $0.0680 | 577,758 |
| Minutes | Steps | API call (s) | Cost per step | Context (tokens) |
|---|---|---|---|---|
| 0–5 | 475 | 8.7 | $0.0104 | 15,765 |
| 5–10 | 570 | 11.6 | $0.0192 | 51,977 |
| 10–15 | 631 | 10.8 | $0.0162 | 49,139 |
| 15–20 | 567 | 11.2 | $0.0182 | 49,473 |
| 20–25 | 618 | 10.0 | $0.0174 | 52,492 |
| 25–30 | 546 | 11.9 | $0.0190 | 53,013 |
| 30–35 | 589 | 11.0 | $0.0170 | 46,387 |
| 35–40 | 585 | 10.7 | $0.0179 | 51,720 |
| 40–45 | 491 | 11.2 | $0.0173 | 48,911 |
| 45–50 | 519 | 11.0 | $0.0180 | 54,883 |
| 50–55 | 582 | 10.6 | $0.0196 | 52,449 |
| 55–60 | 591 | 10.7 | $0.0165 | 45,129 |
| 60–65 | 576 | 11.3 | $0.0181 | 55,821 |
| 65–70 | 598 | 9.8 | $0.0160 | 45,655 |
| 70–75 | 512 | 11.2 | $0.0174 | 54,270 |
| 75–80 | 502 | 11.4 | $0.0169 | 51,696 |
| 80–85 | 450 | 11.4 | $0.0178 | 51,770 |
| 85–90 | 426 | 11.9 | $0.0182 | 52,274 |
| 90–95 | 201 | 12.4 | $0.0171 | 47,738 |
| 95–100 | 58 | 9.7 | $0.0157 | 44,035 |
- Sequential
- Union
- Swarm, no compaction
- Swarm, compaction at 100k tokens
About this figure
Luna 5.6; 5 repos, 948 bugs; same axes as Figure 3, whose lines are drawn lighter; a point with several runs is their mean
Incomplete, not plotted: 5 agents (second run), 3 of 5 repos done (v, pandas, nim): 15 of 659 bugs for $36.33; 10 agents, 3 of 5 repos done (v, pandas, nim): 24 of 659 bugs for $220.09; 20 agents, 1 of 5 repos done (v): 20 of 239 bugs for $206.42.
Incomplete, not plotted: 5 agents (second run), 4 of 5 repos done (v, pandas, nim, rails): 22 of 799 bugs for $44.34; 20 agents, 2 of 5 repos done (v, pandas): 25 of 467 bugs for $201.11.
Hover a point for values
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.1% | 10 | $4.22 | 752 | 1.7 | 0.3–0.5 | 1 | |
| Sequential | 2 | 1.4% | 13 | $6.00 | 1,251 | 3.0 | 0.5–1.0 | 1 | |
| Sequential | 3 | 1.5% | 14 | $7.74 | 1,741 | 4.0 | 0.6–1.3 | 1 | |
| Sequential | 4 | 1.6% | 15 | $9.24 | 2,173 | 4.9 | 0.7–1.6 | 1 | |
| Sequential | 5 | 1.7% | 16 | $10.52 | 2,552 | 5.8 | 0.8–1.8 | 1 | |
| Sequential | 6 | 1.7% | 16 | $11.88 | 2,957 | 6.9 | 1.0–2.2 | 1 | |
| Sequential | 7 | 1.8% | 17 | $13.34 | 3,413 | 8.0 | 1.1–2.4 | 1 | |
| Sequential | 8 | 1.8% | 17 | $15.43 | 3,924 | 9.1 | 1.2–2.8 | 1 | |
| Sequential | 9 | 1.9% | 18 | $16.96 | 4,402 | 10.1 | 1.3–3.2 | 1 | |
| Sequential | 10 | 1.9% | 18 | $18.35 | 4,854 | 11.3 | 1.5–3.6 | 1 | |
| Sequential | 11 | 1.9% | 18 | $19.72 | 5,305 | 16.7 | 2.5–4.6 | 1 | |
| Sequential | 12 | 2.0% | 19 | $21.47 | 5,827 | 21.9 | 3.2–5.9 | 1 | |
| Sequential | 13 | 2.0% | 19 | $23.31 | 6,337 | 25.5 | 3.7–6.9 | 1 | |
| Sequential | 14 | 2.0% | 19 | $25.29 | 6,893 | 29.2 | 4.6–7.8 | 1 | |
| Sequential | 15 | 2.0% | 19 | $27.34 | 7,438 | 33.3 | 5.5–8.6 | 1 | |
| Sequential | 16 | 2.0% | 19 | $28.81 | 7,879 | 36.6 | 6.1–9.8 | 1 | |
| Sequential | 17 | 2.1% | 20 | $30.88 | 8,420 | 40.1 | 6.6–10.0 | 1 | |
| Sequential | 18 | 2.1% | 20 | $32.78 | 8,940 | 42.7 | 7.6–10.4 | 1 | |
| Sequential | 19 | 2.1% | 20 | $34.45 | 9,426 | 44.0 | 7.8–10.6 | 1 | |
| Sequential | 20 | 2.2% | 21 | $36.32 | 9,963 | 45.1 | 7.9–11.0 | 1 | |
| Union | 1 | 0.6% | 6 | $3.67 | 693 | 2.7 | 0.4–0.6 | 1 | |
| Union | 2 | 1.2% | 11 | $8.20 | 1,443 | 5.9 | 0.6–0.8 | 1 | |
| Union | 3 | 1.3% | 12 | $11.18 | 2,082 | 8.7 | 0.6–0.8 | 1 | |
| Union | 4 | 1.4% | 13 | $14.64 | 2,805 | 11.7 | 0.6–0.8 | 1 | |
| Union | 5 | 1.5% | 14 | $18.72 | 3,579 | 14.7 | 0.6–0.8 | 1 | |
| Union | 6 | 1.8% | 17 | $22.28 | 4,336 | 17.7 | 0.6–0.8 | 1 | |
| Union | 7 | 2.0% | 19 | $25.78 | 5,078 | 20.8 | 0.6–0.8 | 1 | |
| Union | 8 | 2.0% | 19 | $29.29 | 5,786 | 23.5 | 0.6–0.8 | 1 | |
| Union | 9 | 2.0% | 19 | $32.22 | 6,457 | 26.3 | 0.6–0.8 | 1 | |
| Union | 10 | 2.0% | 19 | $36.45 | 7,245 | 29.5 | 0.6–0.8 | 1 | |
| Union | 11 | 2.1% | 20 | $40.77 | 7,985 | 38.5 | 1.6–2.0 | 1 | |
| Union | 12 | 2.5% | 24 | $45.54 | 8,768 | 47.8 | 1.7–2.1 | 1 | |
| Union | 13 | 2.8% | 27 | $50.81 | 9,626 | 57.6 | 1.8–2.1 | 1 | |
| Union | 14 | 3.1% | 29 | $54.86 | 10,442 | 66.5 | 2.0–2.1 | 1 | |
| Union | 15 | 3.4% | 32 | $58.08 | 11,179 | 75.2 | 2.0–2.1 | 1 | |
| Union | 16 | 3.4% | 32 | $62.27 | 11,998 | 80.9 | 2.0–2.1 | 1 | |
| Union | 17 | 3.5% | 33 | $66.01 | 12,686 | 85.8 | 2.0–2.1 | 1 | |
| Union | 18 | 3.6% | 34 | 35 (3.7%) | $71.01 | 13,555 | 91.1 | 2.0–2.1 | 1 |
| Union | 19 | 3.7% | 35 | 36 (3.8%) | $75.08 | 14,374 | 96.9 | 2.0–2.1 | 1 |
| Union | 20 | 3.7% | 35 | 36 (3.8%) | $78.67 | 15,091 | 101.6 | 2.0–2.1 | 1 |
| Swarm, no compaction | 1 | 0.5% | 5(7, 3) | 5.5 (0.6%)(7, 4) | $12.08($12.15, $12.02) | 1,421(1,327, 1,515) | 5.1(5.2, 5.1) | n/a | 2 |
| Swarm, no compaction | 5 | 2.0% | 18.5(22, 15) | $39.34($38.17, $40.51) | 6,319(6,170, 6,468) | 25.5(25.6, 25.3) | n/a | 2 | |
| Swarm, no compaction | 10 | 3.5% | 33(29, 37) | 36.5 (3.9%)(36, 37) | $70.00($61.39, $78.62) | 12,513.5(11,804, 13,223) | 51.6(52.4, 50.9) | n/a | 2 |
| Swarm, no compaction | 20 | 2.5% | 23.5(32, 15) | 36 (3.8%)(40, 32) | $77.06($68.05, $86.07) | 19,108(18,393, 19,823) | 104.8(106.6, 103.1) | n/a | 2 |
| Swarm, compaction at 100k tokens | 1 | 1.3% | 12(10, 14) | $7.04($7.57, $6.51) | 3,470(3,688, 3,252) | 5.7(5.8, 5.6) | n/a | 2 | |
| Swarm, compaction at 100k tokens | 5 | 2.4% | 22.5(25, 20) | 31.5 (3.3%)(39, 24) | $25.60($23.17, $28.03) | 13,345(11,778, 14,912) | 31.3(34.1, 28.5) | n/a | 2 |
| Swarm, compaction at 100k tokens | 10 | 5.4% | 51(46, 56) | 58 (6.1%)(60, 56) | $53.23($53.09, $53.37) | 27,699(27,073, 28,325) | 55.2(53.8, 56.7) | n/a | 2 |
| Swarm, compaction at 100k tokens | 20 | 5.5% | 52(51, 53) | 55 (5.8%)(51, 59) | $77.23($81.20, $73.26) | 40,950(42,977, 38,923) | 112.5(107.0, 118.0) | n/a | 2 |
| System | Agents | % resolved | Bugs | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 3.8% | 36 | $238.98 | 2,251 | 11.8 | 1.7–3.1 | 1 |
| Sequential | 2 | 5.6% | 53 | $453.33 | 4,321 | 21.1 | 3.3–5.2 | 1 |
| Sequential | 3 | 6.5% | 62 | $613.84 | 6,099 | 27.6 | 4.5–6.6 | 1 |
| Sequential | 4 | 7.6% | 72 | $798.70 | 8,002 | 34.9 | 5.7–8.5 | 1 |
| Sequential | 5 | 8.8% | 83 | $981.41 | 9,868 | 40.6 | 6.3–10.1 | 1 |
| Sequential | 6 | 9.8% | 93 | $1,193.10 | 11,963 | 48.2 | 7.3–11.9 | 1 |
| Sequential | 7 | 10.0% | 95 | $1,350.09 | 13,744 | 54.7 | 8.4–13.6 | 1 |
| Sequential | 8 | 10.3% | 98 | $1,524.29 | 15,653 | 61.1 | 9.2–15.3 | 1 |
| Sequential | 9 | 10.7% | 101 | $1,717.55 | 17,528 | 68.6 | 9.9–17.7 | 1 |
| Sequential | 10 | 11.0% | 104 | $1,880.44 | 19,385 | 74.8 | 10.4–19.6 | 1 |
| Union | 1 | 3.3% | 31 | $212.75 | 2,109 | 9.0 | 1.0–2.8 | 1 |
| Union | 2 | 5.0% | 47 | $441.48 | 4,277 | 19.5 | 1.4–2.8 | 1 |
| Union | 3 | 5.8% | 55 | $684.16 | 6,473 | 29.6 | 1.8–2.8 | 1 |
| Union | 4 | 5.9% | 56 | $921.48 | 8,672 | 39.4 | 1.9–2.8 | 1 |
| Union | 5 | 6.5% | 62 | $1,148.18 | 10,843 | 49.1 | 1.9–2.8 | 1 |
| Union | 6 | 7.2% | 68 | $1,350.95 | 12,878 | 57.9 | 1.9–2.8 | 1 |
| Union | 7 | 8.0% | 76 | $1,570.10 | 15,024 | 67.0 | 2.0–2.8 | 1 |
| Union | 8 | 8.8% | 83 | $1,815.07 | 17,353 | 78.4 | 2.0–3.4 | 1 |
| Union | 9 | 8.8% | 83 | $2,055.22 | 19,652 | 89.6 | 2.0–3.4 | 1 |
| Union | 10 | 9.0% | 85 | $2,263.82 | 21,721 | 99.3 | 2.0–3.4 | 1 |
| Swarm, no compaction | 1 | 2.4% | 22.5(13, 32) | $175.03($144.52, $205.54) | 2,219.5(1,886, 2,553) | 7.9(7.6, 8.2) | n/a | 2 |
| Swarm, no compaction | 5 | 7.4% | 70.5(71, 70) | $786.17($731.53, $840.81) | 9,500(8,951, 10,049) | 35.0(36.7, 33.3) | n/a | 2 |
| Swarm, compaction at 100k tokens | 1 | 2.5% | 24 | $71.95 | 3,383 | 7.4 | n/a | 1 |
| Swarm, compaction at 100k tokens | 5 | 4.5% | 43 | $349.04 | 16,005 | 36.8 | n/a | 1 |
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.2% | 11 | $6.61 | 275 | 2.3 | 0.4–0.6 | 1 | |
| Sequential | 2 | 2.3% | 22 | $13.72 | 552 | 4.1 | 0.6–1.1 | 1 | |
| Sequential | 3 | 3.7% | 35 | $21.64 | 894 | 6.4 | 1.1–1.5 | 1 | |
| Sequential | 4 | 4.1% | 39 | $29.53 | 1,238 | 8.7 | 1.4–2.3 | 1 | |
| Sequential | 5 | 4.9% | 46 | $38.40 | 1,610 | 11.3 | 1.9–3.0 | 1 | |
| Sequential | 6 | 5.3% | 50 | $46.67 | 1,987 | 13.8 | 2.2–3.9 | 1 | |
| Sequential | 7 | 5.9% | 56 | $56.46 | 2,354 | 17.7 | 2.5–6.0 | 1 | |
| Sequential | 8 | 6.2% | 59 | $63.41 | 2,632 | 20.1 | 2.7–6.9 | 1 | |
| Sequential | 9 | 6.3% | 60 | $71.69 | 2,982 | 22.6 | 3.2–7.5 | 1 | |
| Sequential | 10 | 6.8% | 64 | $79.58 | 3,329 | 24.8 | 3.5–8.2 | 1 | |
| Sequential | 11 | 6.9% | 65 | $86.14 | 3,625 | 29.5 | 4.4–9.2 | 1 | |
| Sequential | 12 | 7.4% | 70 | $92.65 | 3,902 | 33.4 | 5.3–9.8 | 1 | |
| Sequential | 13 | 7.5% | 71 | $99.68 | 4,220 | 37.1 | 5.9–11.1 | 1 | |
| Sequential | 14 | 7.7% | 73 | $106.24 | 4,489 | 40.2 | 6.3–11.8 | 1 | |
| Sequential | 15 | 8.2% | 78 | $112.82 | 4,790 | 43.3 | 6.8–12.7 | 1 | |
| Sequential | 16 | 8.4% | 80 | $122.09 | 5,155 | 48.4 | 7.4–14.9 | 1 | |
| Sequential | 17 | 8.5% | 81 | $128.92 | 5,477 | 51.0 | 8.0–15.2 | 1 | |
| Sequential | 18 | 9.0% | 85 | $137.04 | 5,849 | 54.8 | 8.5–15.7 | 1 | |
| Sequential | 19 | 9.1% | 86 | $146.27 | 6,250 | 57.9 | 9.5–16.2 | 1 | |
| Sequential | 20 | 9.5% | 90 | $155.03 | 6,610 | 60.5 | 9.8–16.6 | 1 | |
| Union | 1 | 1.2% | 11 | $7.52 | 305 | 2.4 | 0.3–0.7 | 1 | |
| Union | 2 | 2.6% | 25 | $14.38 | 582 | 4.7 | 0.3–0.7 | 1 | |
| Union | 3 | 3.1% | 29 | $22.51 | 917 | 7.2 | 0.4–0.7 | 1 | |
| Union | 4 | 3.2% | 30 | $29.69 | 1,212 | 9.5 | 0.4–0.7 | 1 | |
| Union | 5 | 3.6% | 34 | $38.19 | 1,537 | 12.1 | 0.4–0.7 | 1 | |
| Union | 6 | 3.7% | 35 | $45.28 | 1,848 | 14.2 | 0.4–0.7 | 1 | |
| Union | 7 | 3.9% | 37 | $52.32 | 2,127 | 16.4 | 0.4–0.7 | 1 | |
| Union | 8 | 4.0% | 38 | $60.31 | 2,461 | 18.6 | 0.4–0.7 | 1 | |
| Union | 9 | 4.2% | 40 | $68.00 | 2,777 | 21.1 | 0.4–0.7 | 1 | |
| Union | 10 | 4.4% | 42 | $75.97 | 3,104 | 23.5 | 0.4–0.7 | 1 | |
| Union | 11 | 4.6% | 44 | $89.31 | 3,431 | 30.9 | 0.7–4.0 | 1 | |
| Union | 12 | 4.9% | 46 | $95.93 | 3,741 | 35.7 | 0.8–4.0 | 1 | |
| Union | 13 | 5.0% | 47 | $102.88 | 4,025 | 40.7 | 0.9–4.0 | 1 | |
| Union | 14 | 5.2% | 49 | $109.68 | 4,307 | 45.4 | 0.9–4.0 | 1 | |
| Union | 15 | 5.3% | 50 | $116.08 | 4,592 | 49.8 | 0.9–4.0 | 1 | |
| Union | 16 | 5.3% | 50 | $123.01 | 4,908 | 53.9 | 0.9–4.0 | 1 | |
| Union | 17 | 5.4% | 51 | $130.06 | 5,204 | 58.3 | 0.9–4.0 | 1 | |
| Union | 18 | 5.4% | 51 | $137.16 | 5,506 | 62.8 | 0.9–4.0 | 1 | |
| Union | 19 | 5.4% | 51 | $144.28 | 5,805 | 67.2 | 0.9–4.0 | 1 | |
| Union | 20 | 5.4% | 51 | $153.72 | 6,175 | 72.5 | 1.0–4.0 | 1 | |
| Swarm, no compaction | 1 | 1.4% | 13.5(15, 12) | $11.73($12.90, $10.55) | 426.5(419, 434) | 6.2(6.3, 6.2) | n/a | 2 | |
| Swarm, no compaction | 5 | 4.5% | 42.5(45, 40) | $49.32($52.16, $46.48) | 2,167(2,228, 2,106) | 28.6(30.3, 26.9) | n/a | 2 | |
| Swarm, no compaction | 10 | 5.5% | 52 | 74 (7.8%) | $118.70 | 4,510 | 60.5 | n/a | 1 |
| Swarm, no compaction | 20 | 9.1% | 86 | $180.95 | 7,650 | 111.7 | n/a | 1 | |
| Swarm, compaction at 100k tokens | 1 | 0.7% | 7 | $7.94 | 474 | 4.1 | n/a | 1 | |
| Swarm, compaction at 100k tokens | 5 | 5.0% | 47(45, 49) | $68.60($69.84, $67.36) | 3,447.5(3,708, 3,187) | 30.6(31.2, 30.0) | n/a | 2 | |
| Swarm, compaction at 100k tokens | 10 | 7.1% | 67 | $94.04 | 5,321 | 52.4 | n/a | 1 | |
| Swarm, compaction at 100k tokens | 20 | 9.6% | 91 | $170.89 | 9,601 | 106.3 | n/a | 1 |
| System | Agents | % resolved | Bugs | Before penalty | Cost | Steps | Agent-hours | Hours per repo | Runs |
|---|---|---|---|---|---|---|---|---|---|
| Sequential | 1 | 1.4% | 13 | $171.78 | 1,877 | 13.5 | 1.9–3.5 | 1 | |
| Sequential | 2 | 3.1% | 29 | $305.29 | 3,828 | 24.0 | 4.3–5.8 | 1 | |
| Sequential | 3 | 4.0% | 38 | $436.29 | 5,496 | 33.1 | 5.5–7.8 | 1 | |
| Sequential | 4 | 4.2% | 40 | $543.23 | 7,181 | 42.8 | 7.7–10.3 | 1 | |
| Sequential | 5 | 4.2% | 40 | $659.11 | 8,905 | 52.2 | 9.0–12.7 | 1 | |
| Sequential | 6 | 4.2% | 40 | $775.91 | 10,648 | 62.4 | 11.1–15.0 | 1 | |
| Sequential | 7 | 4.3% | 41 | $866.14 | 12,141 | 70.6 | 13.0–16.5 | 1 | |
| Sequential | 8 | 4.3% | 41 | $966.43 | 13,722 | 79.2 | 14.8–18.5 | 1 | |
| Sequential | 9 | 5.2% | 49 | $1,076.90 | 15,363 | 88.9 | 16.4–21.0 | 1 | |
| Sequential | 10 | 4.3% | 41 | $1,184.29 | 16,986 | 97.7 | 18.1–23.2 | 1 | |
| Union | 1 | 1.9% | 18 | $191.14 | 1,697 | 12.7 | 1.5–3.3 | 1 | |
| Union | 2 | 2.7% | 26 | $374.13 | 3,595 | 26.0 | 1.8–3.8 | 1 | |
| Union | 3 | 3.8% | 36 | 44 (4.6%) | $559.04 | 5,509 | 38.6 | 1.8–3.8 | 1 |
| Union | 4 | 5.6% | 53 | 61 (6.4%) | $742.43 | 7,382 | 51.4 | 2.2–3.8 | 1 |
| Union | 5 | 6.8% | 64 | 70 (7.4%) | $922.53 | 9,191 | 64.5 | 2.3–3.8 | 1 |
| Union | 6 | 7.1% | 67 | 73 (7.7%) | $1,081.50 | 10,885 | 77.0 | 2.3–3.8 | 1 |
| Union | 7 | 8.1% | 77 | 82 (8.6%) | $1,268.36 | 12,726 | 90.6 | 2.3–4.0 | 1 |
| Union | 8 | 8.4% | 80 | 85 (9.0%) | $1,433.74 | 14,502 | 102.9 | 2.3–4.0 | 1 |
| Union | 9 | 9.5% | 90 | 94 (9.9%) | $1,639.19 | 16,518 | 116.2 | 2.3–4.0 | 1 |
| Union | 10 | 9.9% | 94 | 97 (10.2%) | $1,827.34 | 18,309 | 128.8 | 2.3–4.0 | 1 |
| Swarm, no compaction | 1 | 3.3% | 31(29, 33) | $57.69($54.46, $60.92) | 1,241(1,206, 1,276) | 7.6(7.7, 7.6) | n/a | 2 | |
| Swarm, no compaction | 5 | 7.7% | 73(78, 68) | $341.84($338.39, $345.30) | 5,931(5,775, 6,087) | 33.7(34.5, 33.0) | n/a | 2 | |
| Swarm, no compaction | 10 | 5.8% | 55 | 84 (8.9%) | $578.53 | 9,501 | 58.1 | n/a | 1 |
| Swarm, compaction at 100k tokens | 1 | 2.0% | 19 | $33.53 | 1,771 | 7.9 | n/a | 1 | |
| Swarm, compaction at 100k tokens | 5 | 8.0% | 76 | $175.80 | 10,111 | 37.3 | n/a | 1 | |
| Swarm, compaction at 100k tokens | 10 | 9.8% | 93 | $238.80 | 14,774 | 69.4 | n/a | 1 |
With compaction the swarm resolved 22.5 bugs at 5 agents and 51 at 10, each for less money. Figure 5 compares tokens and bugs across all models.
About this figure
The swarm with compaction from Figure 4: one line per model through its 1, 5, 10 and 20-agent runs (where we have them); each point is a configuration's mean over its runs, totals over 5 repos, 948 bugs. Each color is a model; dots mark the data points. Click a point for its details, or a table row to find its point. Token counts depend on each model's tokenizer: the same prompt is about 1.7× more tokens for Sonnet 5.5 than for Luna 5.6 or Sol 6.1. * pandas broke a visible test in at least one run, so its bugs there count 0; click the point for how many were not counted.
Click a point for details, double-click to close · Click a table row to find its point · Use the buttons above to hide or show points
| Model | Agents | % resolved | Bugs | Before penalty | Cost | Tokens | Runs |
|---|---|---|---|---|---|---|---|
| Luna 5.6 | 1 | 1.3% | 12 | $7.04 | 195M | 2 | |
| Luna 5.6 | 5 | 2.4% | 22.5* | 31.5 | $25.60 | 764M | 2 |
| Luna 5.6 | 10 | 5.4% | 51* | 58 | $53.23 | 1.6B | 2 |
| Luna 5.6 | 20 | 5.5% | 52* | 55 | $77.23 | 2.3B | 2 |
| Sonnet 5.5 | 1 | 2.5% | 24 | $71.95 | 187M | 1 | |
| Sonnet 5.5 | 5 | 4.5% | 43 | $349.04 | 890M | 1 | |
| Sol 6.1 | 1 | 0.7% | 7 | $7.94 | 24M | 1 | |
| Sol 6.1 | 5 | 5.0% | 47 | $68.60 | 179M | 2 | |
| Sol 6.1 | 10 | 7.1% | 67 | $94.04 | 268M | 1 | |
| Sol 6.1 | 20 | 9.6% | 91 | $170.89 | 497M | 1 | |
| Argon | 1 | 2.0% | 19 | $33.53 | 96M | 1 | |
| Argon | 5 | 8.0% | 76 | $175.80 | 527M | 1 | |
| Argon | 10 | 9.8% | 93 | $238.80 | 771M | 1 |
Takeaways
- More agents find more bugs, but bugs found per dollar falls and returns diminish: each extra agent adds fewer new bugs than the one before.
- Whether it is worth the cost depends on what you need: per dollar, a single agent is the cheapest way to find a bug for most models, but more agents find more bugs, and a swarm does it in 1–2 hours of wall-clock time where 20 sequential agents took 8–17 hours per repository.
- Compaction saves money for most models while keeping similar quality*.
- Cost efficiency scales differently between models: one Luna 5.6 agent resolved 2.37 bugs per dollar against 0.96 for the 10-agent swarm with compaction, while for Argon the swarm was the more efficient (0.39 against 0.08).
Limitations
- Few runs. Every configuration has one or two runs, and reruns of the same 5-agent setup differ by up to 10 bugs (1-agent reruns by up to 19). We read the results for their rough scaling, not their exact counts; differences smaller than these spreads are within noise.
- Five repositories. All runs use the same 5 repositories of SWE-sweep, plus dmd and scipy for one Sonnet 5.5 comparison.
Future direction
As the emphasis on multi-agent systems grows, we hope mini-swarm can serve as a simple, open baseline for them, one that is easy to rerun as models and benchmarks evolve.
Notes on the figures
- Baselines: a stock mini-swe-agent loop per agent, up to 12 hours each (Sonnet 5.5 and Argon agents also up to $50). Sequential agents start from the previous agent's patch; union agents each start fresh. Cost, steps and hours add up over the N agents.
- Swarm: N agents on one checkout with a shared work queue, a 2-hour limit, no submitting before 1 hour, and a 30-minute warning. With compaction, an agent whose context passes 100k tokens has its history replaced by its own notes.
- Different limits: Swarm agents are stopped at 2 hours and cannot submit before 1 hour; baseline agents stop when they decide they are done (at most 12 hours), and the Sonnet 5.5 and Argon baseline agents were also capped at $50 each, which many hit. So part of a difference between the swarm and the baselines may come from time or budget rather than from how the agents work together. For Luna 5.6 we also ran the baselines under the swarm's time limits (the "2 h limit" rows in the table under Figure 2).
- ‡ Union scoring works like pass@k: a bug counts if any of the N agents fixed it, as if we could pick the right fix. It is a benchmark comparison, not a way to run agents. ↩
- Runs: each point is one run, or the mean of two where we have two (the tables and tooltips list each run); runs date from 2026-10-29 to 2026-12-02.
- † pandas is the most fragile repository: a patch that breaks one of its roughly 178,000 visible tests scores 0 there. This happened for three of the four models (16 times for Luna 5.6), wiping out up to 44 resolved bugs at once. ↩
- Hung grades: two baseline patches made the visible tests hang past the grader's 90-minute limit; we count them as failing.
Additional tables
These tables expand on the figures; click a title to open it.
Cost of every configuration
Totals over the 5 repositories; points with two runs show the mean. Sequential and union costs are cumulative over the N agents. Bugs per dollar is bugs resolved divided by cost.
| Model | System | Agents | Bugs | Cost | Bugs per $ | Agent-hours |
|---|---|---|---|---|---|---|
| Luna 5.6 | Sequential | 1 | 10 | $4.22 | 2.37 | 1.7 |
| Luna 5.6 | Sequential | 5 | 16 | $10.52 | 1.52 | 5.8 |
| Luna 5.6 | Sequential | 10 | 18 | $18.35 | 0.98 | 11.3 |
| Luna 5.6 | Sequential | 20 | 21 | $36.32 | 0.58 | 45.1 |
| Luna 5.6 | Union | 1 | 6 | $3.67 | 1.63 | 2.7 |
| Luna 5.6 | Union | 5 | 14 | $18.72 | 0.75 | 14.7 |
| Luna 5.6 | Union | 10 | 19 | $36.45 | 0.52 | 29.5 |
| Luna 5.6 | Union | 20 | 35 | $78.67 | 0.44 | 101.6 |
| Luna 5.6 | Sequential, 2 h limit | 1 | 9 | $13.20 | 0.68 | 4.6 |
| Luna 5.6 | Sequential, 2 h limit | 5 | 22 | $59.96 | 0.37 | 25.5 |
| Luna 5.6 | Sequential, 2 h limit | 10 | 26 | $116.61 | 0.22 | 50.0 |
| Luna 5.6 | Union, 2 h limit | 1 | 8 | $10.33 | 0.77 | 5.1 |
| Luna 5.6 | Union, 2 h limit | 5 | 22 | $58.33 | 0.38 | 26.0 |
| Luna 5.6 | Union, 2 h limit | 10 | 26 | $124.56 | 0.21 | 50.7 |
| Luna 5.6 | Swarm, no compaction | 1 | 5 | $12.08 | 0.41 | 5.1 |
| Luna 5.6 | Swarm, no compaction | 5 | 18.5 | $39.34 | 0.47 | 25.5 |
| Luna 5.6 | Swarm, no compaction | 10 | 33 | $70.00 | 0.47 | 51.6 |
| Luna 5.6 | Swarm, no compaction | 20 | 23.5 | $77.06 | 0.30 | 104.8 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 1 | 12 | $7.04 | 1.70 | 5.7 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 5 | 22.5 | $25.60 | 0.88 | 31.3 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 10 | 51 | $53.23 | 0.96 | 55.2 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 20 | 52 | $77.23 | 0.67 | 112.5 |
| Sonnet 5.5 | Sequential | 1 | 36 | $238.98 | 0.15 | 11.8 |
| Sonnet 5.5 | Sequential | 5 | 83 | $981.41 | 0.08 | 40.6 |
| Sonnet 5.5 | Sequential | 10 | 104 | $1,880.44 | 0.06 | 74.8 |
| Sonnet 5.5 | Union | 1 | 31 | $212.75 | 0.15 | 9.0 |
| Sonnet 5.5 | Union | 5 | 62 | $1,148.18 | 0.05 | 49.1 |
| Sonnet 5.5 | Union | 10 | 85 | $2,263.82 | 0.04 | 99.3 |
| Sonnet 5.5 | Swarm, no compaction | 1 | 22.5 | $175.03 | 0.13 | 7.9 |
| Sonnet 5.5 | Swarm, no compaction | 5 | 70.5 | $786.17 | 0.09 | 35.0 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 1 | 24 | $71.95 | 0.33 | 7.4 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 5 | 43 | $349.04 | 0.12 | 36.8 |
| Sol 6.1 | Sequential | 1 | 11 | $6.61 | 1.67 | 2.3 |
| Sol 6.1 | Sequential | 5 | 46 | $38.40 | 1.20 | 11.3 |
| Sol 6.1 | Sequential | 10 | 64 | $79.58 | 0.80 | 24.8 |
| Sol 6.1 | Sequential | 20 | 90 | $155.03 | 0.58 | 60.5 |
| Sol 6.1 | Union | 1 | 11 | $7.52 | 1.46 | 2.4 |
| Sol 6.1 | Union | 5 | 34 | $38.19 | 0.89 | 12.1 |
| Sol 6.1 | Union | 10 | 42 | $75.97 | 0.55 | 23.5 |
| Sol 6.1 | Union | 20 | 51 | $153.72 | 0.33 | 72.5 |
| Sol 6.1 | Swarm, no compaction | 1 | 13.5 | $11.73 | 1.15 | 6.2 |
| Sol 6.1 | Swarm, no compaction | 5 | 42.5 | $49.32 | 0.86 | 28.6 |
| Sol 6.1 | Swarm, no compaction | 10 | 52 | $118.70 | 0.44 | 60.5 |
| Sol 6.1 | Swarm, no compaction | 20 | 86 | $180.95 | 0.48 | 111.7 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 1 | 7 | $7.94 | 0.88 | 4.1 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 5 | 47 | $68.60 | 0.69 | 30.6 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 10 | 67 | $94.04 | 0.71 | 52.4 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 20 | 91 | $170.89 | 0.53 | 106.3 |
| Argon | Sequential | 1 | 13 | $171.78 | 0.08 | 13.5 |
| Argon | Sequential | 5 | 40 | $659.11 | 0.06 | 52.2 |
| Argon | Sequential | 10 | 41 | $1,184.29 | 0.03 | 97.7 |
| Argon | Union | 1 | 18 | $191.14 | 0.09 | 12.7 |
| Argon | Union | 5 | 64 | $922.53 | 0.07 | 64.5 |
| Argon | Union | 10 | 94 | $1,827.34 | 0.05 | 128.8 |
| Argon | Swarm, no compaction | 1 | 31 | $57.69 | 0.54 | 7.6 |
| Argon | Swarm, no compaction | 5 | 73 | $341.84 | 0.21 | 33.7 |
| Argon | Swarm, no compaction | 10 | 55 | $578.53 | 0.10 | 58.1 |
| Argon | Swarm, compaction at 100k tokens | 1 | 19 | $33.53 | 0.57 | 7.9 |
| Argon | Swarm, compaction at 100k tokens | 5 | 76 | $175.80 | 0.43 | 37.3 |
| Argon | Swarm, compaction at 100k tokens | 10 | 93 | $238.80 | 0.39 | 69.4 |
Results without pandas
pandas is the most brittle repository: a single broken visible test zeroes it, and it carries a large share of some models' bugs. Bugs resolved over all 5 repositories and over the four without pandas (720 bugs).
| Model | System | Agents | All 5 repos | pandas | Without pandas |
|---|---|---|---|---|---|
| Luna 5.6 | Sequential | 1 | 10 | 0 | 10 |
| Luna 5.6 | Sequential | 5 | 16 | 2 | 14 |
| Luna 5.6 | Sequential | 10 | 18 | 2 | 16 |
| Luna 5.6 | Sequential | 20 | 21 | 3 | 18 |
| Luna 5.6 | Union | 1 | 6 | 1 | 5 |
| Luna 5.6 | Union | 5 | 14 | 4 | 10 |
| Luna 5.6 | Union | 10 | 19 | 4 | 15 |
| Luna 5.6 | Union | 20 | 35 | 8 | 27 |
| Luna 5.6 | Swarm, no compaction | 1 | 5 | 0 | 5 |
| Luna 5.6 | Swarm, no compaction | 5 | 18.5 | 3.5 | 15 |
| Luna 5.6 | Swarm, no compaction | 10 | 33 | 4 | 29 |
| Luna 5.6 | Swarm, no compaction | 20 | 23.5 | 0 | 23.5 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 1 | 12 | 1.5 | 10.5 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 5 | 22.5 | 0 | 22.5 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 10 | 51 | 10 | 41 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 20 | 52 | 7.5 | 44.5 |
| Sonnet 5.5 | Sequential | 1 | 36 | 21 | 15 |
| Sonnet 5.5 | Sequential | 5 | 83 | 59 | 24 |
| Sonnet 5.5 | Sequential | 10 | 104 | 69 | 35 |
| Sonnet 5.5 | Union | 1 | 31 | 20 | 11 |
| Sonnet 5.5 | Union | 5 | 62 | 39 | 23 |
| Sonnet 5.5 | Union | 10 | 85 | 54 | 31 |
| Sonnet 5.5 | Swarm, no compaction | 1 | 22.5 | 12.5 | 10 |
| Sonnet 5.5 | Swarm, no compaction | 5 | 70.5 | 45.5 | 25 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 1 | 24 | 8 | 16 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 5 | 43 | 17 | 26 |
| Sol 6.1 | Sequential | 1 | 11 | 2 | 9 |
| Sol 6.1 | Sequential | 5 | 46 | 2 | 44 |
| Sol 6.1 | Sequential | 10 | 64 | 10 | 54 |
| Sol 6.1 | Sequential | 20 | 90 | 23 | 67 |
| Sol 6.1 | Union | 1 | 11 | 3 | 8 |
| Sol 6.1 | Union | 5 | 34 | 6 | 28 |
| Sol 6.1 | Union | 10 | 42 | 11 | 31 |
| Sol 6.1 | Union | 20 | 51 | 15 | 36 |
| Sol 6.1 | Swarm, no compaction | 1 | 13.5 | 1.5 | 12 |
| Sol 6.1 | Swarm, no compaction | 5 | 42.5 | 8 | 34.5 |
| Sol 6.1 | Swarm, no compaction | 10 | 52 | 0 | 52 |
| Sol 6.1 | Swarm, no compaction | 20 | 86 | 24 | 62 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 1 | 7 | 1 | 6 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 5 | 47 | 5 | 42 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 10 | 67 | 15 | 52 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 20 | 91 | 23 | 68 |
| Argon | Sequential | 1 | 13 | 4 | 9 |
| Argon | Sequential | 5 | 40 | 4 | 36 |
| Argon | Sequential | 10 | 41 | 12 | 29 |
| Argon | Union | 1 | 18 | 8 | 10 |
| Argon | Union | 5 | 64 | 22 | 42 |
| Argon | Union | 10 | 94 | 38 | 56 |
| Argon | Swarm, no compaction | 1 | 31 | 5 | 26 |
| Argon | Swarm, no compaction | 5 | 73 | 23 | 50 |
| Argon | Swarm, no compaction | 10 | 55 | 0 | 55 |
| Argon | Swarm, compaction at 100k tokens | 1 | 19 | 3 | 16 |
| Argon | Swarm, compaction at 100k tokens | 5 | 76 | 24 | 52 |
| Argon | Swarm, compaction at 100k tokens | 10 | 93 | 29 | 64 |
Union averaged over every choice of agents
Figure 2 scores the union of agents 1 to k in the order they ran. Averaging over every possible set of k of the agents we ran (10 or 20 per repository), as pass@k does, removes the dependence on that order.
| Model | 1 agent: in order | averaged | 2 agents: in order | averaged | 5 agents: in order | averaged | 10 agents: in order | averaged |
|---|---|---|---|---|---|---|---|---|
| Luna 5.6 | 6 | 5.2 | 11 | 8.7 | 14 | 15.9 | 19 | 24.3 |
| Sonnet 5.5 | 31 | 29.6 | 47 | 44.8 | 62 | 68.4 | 85 | 85.0 |
| Sol 6.1 | 11 | 15.3 | 25 | 23.6 | 34 | 35.9 | 42 | 43.9 |
| Argon | 18 | 23.2 | 26 | 37.3 | 64 | 64.6 | 94 | 94.0 |
Results per repository
Bugs resolved per repository; where the visible-test/build penalty zeroed a repository, the bugs found before the penalty are in parentheses. Points with two runs show the mean.
| Model | System | Agents | v | pandas | nim | symfony | rails | Total |
|---|---|---|---|---|---|---|---|---|
| Luna 5.6 | Sequential | 1 | 4 | 0 | 4 | 0 | 2 | 10 |
| Luna 5.6 | Sequential | 5 | 6 | 2 | 6 | 0 | 2 | 16 |
| Luna 5.6 | Sequential | 10 | 6 | 2 | 6 | 2 | 2 | 18 |
| Luna 5.6 | Sequential | 20 | 7 | 3 | 7 | 2 | 2 | 21 |
| Luna 5.6 | Union | 1 | 2 | 1 | 2 | 1 | 0 | 6 |
| Luna 5.6 | Union | 5 | 3 | 4 | 4 | 2 | 1 | 14 |
| Luna 5.6 | Union | 10 | 6 | 4 | 4 | 2 | 3 | 19 |
| Luna 5.6 | Union | 20 | 13 | 8 (9) | 7 | 3 | 4 | 35 |
| Luna 5.6 | Swarm, no compaction | 1 | 2 (2.5) | 0 | 2 | 1 | 0 | 5 |
| Luna 5.6 | Swarm, no compaction | 5 | 4.5 | 3.5 | 3.5 | 3 | 4 | 18.5 |
| Luna 5.6 | Swarm, no compaction | 10 | 11 | 4 (7.5) | 7.5 | 4.5 | 6 | 33 |
| Luna 5.6 | Swarm, no compaction | 20 | 5 (8) | 0 (9.5) | 4 | 4.5 | 10 | 23.5 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 1 | 7.5 | 1.5 | 1.5 | 0.5 | 1 | 12 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 5 | 11 | 0 (9) | 5.5 | 2.5 | 3.5 | 22.5 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 10 | 12.5 | 10 (17) | 7.5 | 14 | 7 | 51 |
| Luna 5.6 | Swarm, compaction at 100k tokens | 20 | 16.5 | 7.5 (10.5) | 3 | 9.5 | 15.5 | 52 |
| Sonnet 5.5 | Sequential | 1 | 8 | 21 | 7 | 0 | 0 | 36 |
| Sonnet 5.5 | Sequential | 5 | 12 | 59 | 11 | 0 | 1 | 83 |
| Sonnet 5.5 | Sequential | 10 | 17 | 69 | 14 | 0 | 4 | 104 |
| Sonnet 5.5 | Union | 1 | 7 | 20 | 3 | 0 | 1 | 31 |
| Sonnet 5.5 | Union | 5 | 13 | 39 | 9 | 0 | 1 | 62 |
| Sonnet 5.5 | Union | 10 | 15 | 54 | 11 | 0 | 5 | 85 |
| Sonnet 5.5 | Swarm, no compaction | 1 | 7 | 12.5 | 2.5 | 0.5 | 0 | 22.5 |
| Sonnet 5.5 | Swarm, no compaction | 5 | 16 | 45.5 | 6 | 0 | 3 | 70.5 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 1 | 12 | 8 | 1 | 0 | 3 | 24 |
| Sonnet 5.5 | Swarm, compaction at 100k tokens | 5 | 15 | 17 | 7 | 0 | 4 | 43 |
| Sol 6.1 | Sequential | 1 | 2 | 2 | 3 | 1 | 3 | 11 |
| Sol 6.1 | Sequential | 5 | 11 | 2 | 12 | 6 | 15 | 46 |
| Sol 6.1 | Sequential | 10 | 16 | 10 | 12 | 7 | 19 | 64 |
| Sol 6.1 | Sequential | 20 | 17 | 23 | 14 | 10 | 26 | 90 |
| Sol 6.1 | Union | 1 | 0 | 3 | 2 | 1 | 5 | 11 |
| Sol 6.1 | Union | 5 | 10 | 6 | 6 | 2 | 10 | 34 |
| Sol 6.1 | Union | 10 | 11 | 11 | 7 | 3 | 10 | 42 |
| Sol 6.1 | Union | 20 | 13 | 15 | 8 | 4 | 11 | 51 |
| Sol 6.1 | Swarm, no compaction | 1 | 3.5 | 1.5 | 4 | 0.5 | 4 | 13.5 |
| Sol 6.1 | Swarm, no compaction | 5 | 14 | 8 | 6.5 | 5 | 9 | 42.5 |
| Sol 6.1 | Swarm, no compaction | 10 | 19 | 0 (22) | 10 | 10 | 13 | 52 |
| Sol 6.1 | Swarm, no compaction | 20 | 21 | 24 | 10 | 13 | 18 | 86 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 1 | 1 | 1 | 1 | 1 | 3 | 7 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 5 | 18.5 | 5 | 8 | 6 | 9.5 | 47 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 10 | 23 | 15 | 10 | 8 | 11 | 67 |
| Sol 6.1 | Swarm, compaction at 100k tokens | 20 | 21 | 23 | 12 | 17 | 18 | 91 |
| Argon | Sequential | 1 | 9 | 4 | 0 | 0 | 0 | 13 |
| Argon | Sequential | 5 | 13 | 4 | 9 | 0 | 14 | 40 |
| Argon | Sequential | 10 | 14 | 12 | 0 | 1 | 14 | 41 |
| Argon | Union | 1 | 10 | 8 | 0 | 0 | 0 | 18 |
| Argon | Union | 5 | 18 | 22 (28) | 8 | 6 | 10 | 64 |
| Argon | Union | 10 | 19 | 38 (41) | 9 | 11 | 17 | 94 |
| Argon | Swarm, no compaction | 1 | 12.5 | 5 | 8 | 2 | 3.5 | 31 |
| Argon | Swarm, no compaction | 5 | 15.5 | 23 | 12.5 | 6 | 16 | 73 |
| Argon | Swarm, no compaction | 10 | 18 | 0 (29) | 12 | 9 | 16 | 55 |
| Argon | Swarm, compaction at 100k tokens | 1 | 10 | 3 | 2 | 0 | 4 | 19 |
| Argon | Swarm, compaction at 100k tokens | 5 | 16 | 24 | 12 | 8 | 16 | 76 |
| Argon | Swarm, compaction at 100k tokens | 10 | 22 | 29 | 17 | 10 | 15 | 93 |