For fifteen years, the first ticket a Java developer opened after joining a team was some version of “can I get more RAM?”. IntelliJ, a Gradle daemon, a few test JVMs and a Docker VM running Postgres and Kafka do not fit in 16 GB, so the standard answer became 32 GB, then 64 GB, and the laptop became the most expensive tool on the team.
With coding agents, I think that ticket is quietly becoming irrelevant, and a new one is replacing it. The question is no longer “is my machine fast enough?” but “why has my PR been waiting forty minutes for a runner?”. In an earlier post I wrote about how the bottleneck moves when an agent writes most of the code: from writing to specifying and reviewing. This post is about the physical side of the same shift. The compute that used to sit on the developer’s desk now sits in the platform, and it has to grow much faster than the team does.
The public numbers already point that way. GitHub’s Octoverse report (October 28, 2025) counted more than one million pull requests created by its coding agent between May and September 2025, and 11.5 billion GitHub Actions minutes used in public projects in 2025, up 35% year over year (GitHub, Octoverse 2025). Those are global figures. To see what this means for one team, let me take a concrete case.
The running example
Everything below uses one imaginary but ordinary setup. All numbers in this section and the next ones are illustrative assumptions, not measurements, chosen to be plausible for a mid-size Java shop. Change them to match your team; the shape of the conclusion does not change much.
| Assumption | Value |
|---|---|
| Codebase | Spring Boot monorepo, Gradle, Java 21, about 40 modules |
| Tests | about 6,000 unit tests, about 400 integration tests using Testcontainers (Postgres, Kafka) |
| Team | 8 engineers |
| One CI pipeline run | build (8 vCPU, 6 min), unit tests (2 shards of 8 vCPU, 5 min), integration tests (4 shards of 4 vCPU, 10 min), guardrails (4 vCPU, 8 min) |
| Cost of one run | 48 + 80 + 160 + 32 = 320 vCPU-minutes, about 20 minutes wall clock with stages in parallel and job start-up |
| Working window | 10 hours a day |
The old mode: a fat laptop and a modest CI
In the old mode, each engineer does most of the compiling and testing locally. They run the application from the IDE, start Postgres and Kafka through Testcontainers or a docker compose file, run the module’s tests before pushing, and debug with breakpoints in the running service. CI is the second opinion.
Look at what the laptop is holding at the busiest moment of the day (the left side of the figure below): about 22 GB of resident memory for the IDE and its indexes, the Gradle and Kotlin daemons, a couple of forked test JVMs, a Docker VM with Postgres and Kafka, the application under debug, and a browser. JetBrains’ own minimum for IntelliJ IDEA is modest, 8 GB of total RAM with 3 GB available for the IDE and a 4-core CPU (JetBrains, IntelliJ IDEA installation guide, consulted November 6, 2026), but that minimum covers the IDE alone, not the rest of the stack around it. Add headroom so the machine does not swap during a full build, and you understand why teams buy 32 GB and then 64 GB.
CI in this mode is small. Each engineer opens 3 to 6 PRs a week; take 4, so the team opens 32 a week, about 6.4 PRs a day. Each PR is pushed two or three times before it merges (take 2.5 runs per PR), so the CI sees about 16 pipeline runs a day. At 320 vCPU-minutes each, that is about 5,100 vCPU-minutes, or 85 vCPU-hours a day. A handful of runners covers it with room to spare.
The agentic mode: a thin laptop and two tiers of shared compute
Now give each engineer coding agents. The engineer writes an intent, starts several agent sessions in parallel, reviews the diffs, answers questions, and decides what to merge. The agents edit code, compile, run tests and open PRs.
What runs on the engineer’s machine now? A browser, a terminal, a thin editor to read diffs, and an agent CLI that sends requests to a model API. Inference happens in someone else’s data centre. 8 GB is enough, and 16 GB is comfortable. Nothing heavy is compiled or tested locally any more: the agent CLI and the terminal take a few hundred megabytes, and what actually fills an 8 GB machine is the browser and the chat and video-call apps, not the code. The exceptions are real but narrow: if you run models locally on a GPU, build mobile apps against emulators, or still need to reproduce a production bug with a debugger attached to the full stack, you keep a strong machine. For most backend work steered through agents, the laptop spec stops mattering.
The compute did not disappear. It moved to two places:
Tier 1: agent sandboxes, the inner loop
An agent that cannot build and run tests before pushing is a very expensive way to use CI: every guess becomes a 320 vCPU-minute pipeline run that comes back red. So each agent session needs its own isolated environment with the full toolchain: the right JDK, Gradle, Docker for Testcontainers, the dependency cache, and enough memory to compile the modules it touched and run the relevant tests. It has to be isolated per session because several agents work on the same repository at once, and you do not want one agent’s half-applied migration in another agent’s database.
This tier already exists in the products, and the details are instructive:
- Claude Code cloud sessions run each session in “a fresh virtual machine (VM) running Ubuntu 24.04 on x86_64” with OpenJDK 21, Maven, Gradle and Docker pre-installed. The documented ceilings are approximately 4 vCPUs, 16 GB of RAM and 30 GB of disk, and the docs warn that “the VM may stop tasks that need significantly more memory, such as large build jobs or memory-intensive tests”, pointing to self-hosted environments for heavier workloads. A setup script that finishes in roughly five minutes is snapshotted, so later sessions start “with your dependencies, tools, and Docker images already on disk” (Claude Code docs, Configure cloud environments, consulted November 6, 2026).
- GitHub Copilot’s cloud agent can run on GitHub Actions. You preinstall tools in
.github/workflows/copilot-setup-steps.yml, you can move the job to larger runners or to self-hosted runners managed by Actions Runner Controller, and GitHub recommends “ephemeral, single-use runners that are not reused for multiple jobs”. Each session that runs on Actions is capped at 59 minutes (GitHub Docs, Customize the agent environment and About Copilot cloud agent, consulted November 6, 2026).
In other words, an agent sandbox is a CI runner with a model attached. For our monorepo, 4 vCPU and 16 GB is enough for compiling a few modules and running their unit tests, and tight for a Kafka plus Postgres integration suite next to a Gradle daemon. So either the sandbox runs targeted tests only and leaves the heavy suite to CI, or you run sandboxes on your own, larger machines.
Sizing for our team: 8 engineers each keeping 3 agents busy is 24 concurrent sessions. At 4 vCPU each, that is 96 vCPU in use while they are active, or up to 960 vCPU-hours a day reserved over a 10-hour window. That alone is more than ten times the old CI.
Tier 2: CI runners, the outer loop
Once the agent pushes, the full pipeline runs on every push: build, unit tests, integration tests and guardrails. The guardrails list grows in the agentic mode because the author is no longer a human you can ask: static analysis (SAST), secret scanning, dependency and licence checks, policy checks, sometimes an AI review, and, for the code paths that matter, mutation testing to check that the tests actually test something. I described my own version of that chain in Intent First.
Two things inflate the number of runs per PR. First, agents iterate against CI. A red check is just more input: tools such as Claude Code’s auto-fix subscribe to a PR and push a fix when “a check fails or a reviewer leaves a comment” (Claude Code docs, Use Claude Code in the cloud, consulted November 6, 2026). Each fix is another full run. Second, the merge queue re-tests: GitHub’s merge queue validates each PR against the latest base branch plus the PRs ahead of it, on temporary branches, triggered by the merge_group event (GitHub Docs, Managing a merge queue, consulted November 6, 2026). That is the right thing to do, and it is one more run.
Back-of-envelope: before and after
Assume the agents multiply the team’s PR volume by 10, from 6.4 to 64 PRs a day (8 a day per engineer, under 3 per agent), and that each PR now takes 4 pipeline runs instead of 2.5 (the agent’s CI iterations plus the merge-queue run).
| Old mode | Agentic mode | Factor | |
|---|---|---|---|
| Laptop RAM, whole team | 8 × 64 GB = 512 GB | 8 × 8 GB = 64 GB | ÷ 8 |
| PRs per day | 6.4 | 64 | × 10 |
| Pipeline runs per PR | 2.5 | 4 | × 1.6 |
| Pipeline runs per day | 16 | 256 | × 16 |
| CI vCPU-hours per day | about 85 | about 1,365 | × 16 |
| Agent sandbox vCPU-hours per day | 0 | up to 960 | new |
The laptop budget shrinks by a factor of four. The shared compute grows by a factor of more than 25 once you add the sandboxes. Even if my multipliers are too high by half, the direction is the same: the laptop spec becomes almost irrelevant, and runner capacity becomes the constraint.
Why a saturated fleet hurts more than the numbers suggest
The table measures throughput. What engineers and agents feel is latency: how long a push waits before a runner even picks it up. That is a queueing problem, and queues behave non-linearly.
Two classic results are enough. Little’s law says the average number of items in a system equals their arrival rate times the average time each spends in it, L = λW (Little, 1961). And for a queue in front of busy servers, the waiting time grows roughly like ρ / (1 − ρ), where ρ is utilisation: the share of capacity in use. Kingman’s formula gives this as an approximation for a single server under heavy load, and adds that the wait also scales with the variability of arrivals and service times (Kingman, 1961). With random arrivals and service times, at 50% utilisation the wait is about one service time. At 90% it is nine. At 98% it is forty-nine.
Apply it to our example with a simple M/M/c model (c identical “pipeline slots”, random arrivals, 20-minute runs). A slot is the set of runners one pipeline needs at its widest point, about 36 vCPU here. Size the fleet at 10 slots, which is a capacity of 30 runs an hour, generous for the old mode:
- Old mode: 16 runs over 10 hours is 1.6 runs an hour, ρ ≈ 5%. Nobody ever waits.
- Agentic average: 256 runs over 10 hours is 25.6 runs an hour, ρ ≈ 85%. The mean wait is about 7 minutes. Uncomfortable, but it looks fine on a dashboard.
- Agentic peak: arrivals are not uniform. Everybody dispatches agents after the morning stand-up, and one flaky test can trigger a wave of re-runs. At just 15% above the average, 29.4 runs an hour, ρ ≈ 98% and the mean wait jumps to about 93 minutes.
Little’s law turns that into something you can see on the queue page. At the average, each run spends about 27 minutes in the system, so about 11 or 12 runs are in flight. At the peak, each run spends about 113 minutes, so about 55 runs are queued or running. And because each PR goes through about four runs, an agent that waits 93 minutes per run spends around six hours of the day waiting for CI on a single PR. Above 30 runs an hour the model has no steady state at all: the queue simply grows until the evening.
Doubling the fleet to 20 slots brings the same peak down to ρ ≈ 49% and a wait of under a minute. That is the whole argument in one chart: the expensive thing is not the extra runners, it is running the fleet close to full. Real arrivals from agents are burstier than the random arrivals the model assumes, and by Kingman’s formula more variability means longer waits, so these figures are, if anything, optimistic.
What to do about it
None of this is exotic. Most of it is ordinary build engineering that used to be optional and is now the main lever on velocity.
1. Make work cheaper before buying more machines.
- Build cache everywhere. Gradle’s build cache reuses task outputs from other builds. It is off by default; you enable it with
org.gradle.caching=true, and the documented pattern is that “your continuous integration server populates it from clean builds while developers only load from it” (Gradle docs, Build Cache, consulted November 6, 2026). In the agentic mode, “developers” means the agent sandboxes: point them at the same remote cache, read-only. Bazel goes further with remote execution, which distributes build and test actions across machines and gives “a consistent execution environment for a development team” (Bazel docs, Remote Execution). - Run fewer tests per push. Test impact analysis runs only the tests affected by a change. Develocity’s Predictive Test Selection learns from build history which tests are relevant and states it “is calibrated to catch over 99% of non-flaky test task/goal failures” for many project types, while recommending that the remaining tests still run later in the pipeline (Develocity docs, Predictive Test Selection, consulted November 6, 2026).
- Cancel superseded runs. When an agent pushes a fix while the previous run is still going, the old run is waste. A GitHub Actions concurrency group per branch with
cancel-in-progress: truecancels it (GitHub Docs, Control the concurrency of workflows and jobs).
2. Tier the guardrails. Not every check deserves every push. Put cheap, fast checks first so a failure stops the run before the expensive stages start, and move the slow ones (mutation tests, full regression, dynamic scans) to the merge queue or a nightly run.
3. Shard and parallelise. Wall-clock time per run is service time in the queueing model. Splitting the integration suite over four shards cuts it without changing the vCPU cost, and a shorter service time reduces the wait at any given utilisation.
4. Make the fleet elastic and disposable.
- Ephemeral, autoscaled runners. Actions Runner Controller is “a Kubernetes operator that orchestrates and scales self-hosted runners”; its runner scale sets scale automatically with the number of workflows running, and runners can be ephemeral: each one registers just in time, runs its job and is removed (GitHub Docs, Actions Runner Controller, consulted November 6, 2026). Ephemeral runners also matter for safety when the code under test was written by an agent.
- Larger hosted runners if you do not want to run Kubernetes. GitHub’s larger Linux x64 runners go from 2 vCPU and 8 GB up to 96 vCPU and 384 GB (GitHub Docs, Larger runners reference). Check the concurrency ceiling too: on standard hosted runners a Team plan allows 60 concurrent jobs, so with our 8-job pipeline that is about 7 pipelines at once; larger runners allow 1,000 concurrent jobs on Team and Enterprise (GitHub Docs, Actions limits, consulted November 6, 2026).
- Kill cold start. A runner that spends four minutes pulling images and resolving dependencies is a runner that is busy and useless. Pre-bake images with the JDK, Gradle distribution, dependency cache and the Postgres and Kafka images, and keep a small warm pool ahead of the morning peak.
5. Use the merge queue as a throttle, not just a safety net. Its build concurrency setting caps how many merge_group builds run at once (1 to 100), so a burst of approved agent PRs cannot flood the fleet. And because each PR is tested together with the PRs ahead of it, nobody has to rebase and re-run a PR by hand every time main moves (GitHub Docs, Managing a merge queue).
6. Give the agent the same environment as CI. Same base image, same JDK, same Gradle version, same cache, same Testcontainers images. Then “green in the sandbox” predicts “green in CI”, and the agent stops discovering environment differences one 320 vCPU-minute run at a time.
7. Cap the loop. An agent will happily push a fifth fix for a flaky test. Limit automatic CI iterations per PR (I cap them at three, then the agent reports back), quarantine flaky tests quickly, and skip the full pipeline for changes that cannot affect it, such as documentation.
8. Make the cost visible. Track queue time at p50 and p95 as a service level, runner utilisation by hour, and vCPU-hours per merged PR. Keep peak utilisation well below the knee of the curve, around 70%, rather than optimising for an average that looks efficient.
The budget moves, and so does the ownership
If this holds, the hardware line in the engineering budget changes shape. The money that went into 64 GB laptops goes into agent sandboxes, runner fleets, caches and the people who run them. The developer workstation becomes a commodity; the shared build platform becomes the thing that decides how fast the team ships.
That also moves ownership. In the old mode, a slow build was mostly a personal problem, fixed with a better laptop. In the agentic mode, a slow or saturated pipeline slows every engineer and every agent at once, and no individual can fix it. The platform team now owns developer velocity, and its key metric is simple: how long from a push to a trustworthy signal, queue time included.
What this does not say
- The numbers are illustrative. Your multipliers may be 3 instead of 10, and your pipeline may be 5 minutes instead of 20. Redo the table with your own figures; the queueing curve has the same shape at any scale.
- Compute is not the only bottleneck. Human review capacity is still the scarcest resource in an agentic team, as I argued in the AI-native SDLC post. A larger runner fleet makes sure humans review PRs that are already green; it does not review them for you.
- Some people still need a strong local machine: local models and GPU work, mobile and desktop builds, and deep debugging sessions. The claim is that this becomes the exception rather than the default.
References
- GitHub, Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1, October 28, 2025 (updated February 28, 2026).
- JetBrains, IntelliJ IDEA installation guide: system requirements, consulted November 6, 2026.
- Claude Code docs, Configure cloud environments (installed tools, resource limits, setup scripts, environment caching) and Use Claude Code in the cloud (isolated VMs, auto-fix), consulted November 6, 2026.
- GitHub Docs, Customize the agent environment and About Copilot cloud agent, consulted November 6, 2026.
- GitHub Docs, Larger runners and Larger runners reference, consulted November 6, 2026.
- GitHub Docs, Actions Runner Controller, consulted November 6, 2026.
- GitHub Docs, Actions limits, consulted November 6, 2026.
- GitHub Docs, Managing a merge queue, consulted November 6, 2026.
- GitHub Docs, Control the concurrency of workflows and jobs, consulted November 6, 2026.
- Gradle, Build Cache, consulted November 6, 2026.
- Bazel, Remote Execution Overview, consulted November 6, 2026.
- Develocity, Predictive Test Selection, consulted November 6, 2026.
- John D. C. Little, “A Proof for the Queuing Formula: L = λW”, Operations Research 9(3), 1961, doi:10.1287/opre.9.3.383.
- J. F. C. Kingman, “The single server queue in heavy traffic”, Mathematical Proceedings of the Cambridge Philosophical Society 57(4), 1961, doi:10.1017/S0305004100036094.
- My previous posts: Anthropic’s AI-Native SDLC Explained and Intent First: Confidence Gates and CI Guardrails.