← Blog

Running 100 coding agents at once

Our first attempt to start 100 coding agents at once lasted two minutes. Eighteen sessions were evicted and other agents failed during setup, so we stopped the run. On the second attempt, all 100 started. Thirty-nine returned a passing patch before the 30-minute limit.

100

agents admitted and initialized

The compute pool grew from two to four nodes.

6.1 s

median time to first token

One laptop agent took 5.8 s. At 100-way concurrency, p90 was 12.3 s.

39/100

runs produced a passing patch

All 39 completed patches passed. The other 61 reached the 30-minute cap.

What we ran

We picked 11 tasks from past pull requests in our own codebase. Each agent started from the code before the fix. We ran Gemini 4 Neon through Antigravity on both setups and checked whether each patch fixed the original failure without breaking the existing tests.

The laptop ran each task once, with dependencies installed. In Lobby’s development environment, we started 100 runs together across the same 11 tasks. Each sandbox started with an empty dependency directory.

Why patches took longer

After we fixed the setup failures and restarted, the dev compute pool grew from two nodes to four. Median time to first token was 6.1 seconds, close to the laptop’s 5.8. At the 90th percentile, the difference was larger: 12.3 seconds on dev and 6.5 on the laptop. The dev workspace became ready in 16.4 seconds at the median.

Then a hundred processes started installing roughly 1,800 packages apiece. They competed for CPU while the workspace service handled a burst of checkouts and restarted under load. The cloud runs that passed took close to 29 minutes at the median. The laptop took 94 seconds with its dependencies already installed. Estimated sandbox compute was $0.0029 at the median for passing cloud runs, excluding model charges.

What we want to measure next

A shared download cache saves network requests, but each sandbox can still spend minutes unpacking the same packages. We would rerun the 100 jobs with and without a prepared dependency tree, using the same model, tasks and timeout. We would count passing patches across all 100 starts so a faster median among finishers cannot hide another 61 timeouts.

More from the blog