How Stripe Achieves AI Engineering Velocity: 1,300+ PRs Per Week
Stripe's AI engineering velocity—over 1,300 pull requests per week containing zero human-written code—isn't about the model. It's a decade of infrastructure investment that most teams haven't made yet.
In early 2026, Stripe's engineering team quietly disclosed a number that redefined expectations for AI engineering velocity: their internal coding agents — called Minions — were merging over 1,300 pull requests per week containing zero human-written code. Not prototypes. Not test scripts. Production code, reviewed by humans, passing a CI suite of more than three million tests, and deployed behind blue-green infrastructure that processes over $1 trillion in annual payment volume.
The number has grown since. In Part 2 of their engineering blog series, the Stripe team confirmed the figure had risen from “over a thousand” to “over 1,300” in a matter of weeks. On Lenny's podcast, engineer Steve Kaliski described a world where he can't remember the last time he started work in a text editor.
But here's the part most coverage misses: Stripe isn't winning because they have access to a better model. They're winning because they spent years building the infrastructure that makes AI-speed development safe. The model is the accelerant. The infrastructure is what keeps the fire controlled.
This article breaks down exactly what Stripe built, why it works, what the rest of the industry is learning the hard way, and what practical lessons teams of any size can extract.
What Stripe Actually Built
Stripe's Minions system isn't a ChatGPT wrapper or a fancy autocomplete. It's a fully autonomous coding pipeline that runs from a Slack emoji reaction to a CI-passing pull request — with no human interaction in between.
The Agent Foundation: Goose + Deterministic Orchestration
Minions are built on a fork of Block's open-source coding agent, Goose, customized to interleave agent loops (the LLM reasoning) with deterministic code — git operations, linters, testing harnesses. This is a critical architectural choice: the non-deterministic parts (code generation) are sandwiched between deterministic guardrails (static analysis, CI, environment management).
Engineers invoke Minions primarily through Slack — tag the bot or apply an emoji reaction to a message describing what you want. But the system is also accessible via CLI, a web interface, and integrations with Stripe's docs platform, feature flag system, and ticketing UI. Engineers routinely spin up multiple Minions in parallel, each working on a separate task.
Devboxes: Pre-Warmed Cloud Environments
Each Minion runs in a devbox— a pre-warmed EC2 instance with Stripe's code and services already loaded. These spin up in approximately ten seconds, are isolated from production and the internet, and are identical to the environments human engineers use.
This matters enormously. When a single engineer can have half a dozen Minions running simultaneously — each in its own isolated environment — you get parallelization without git worktree overhead, merge conflicts, or resource contention. The environments are disposable and reproducible.
Toolshed: 400+ MCP Tools for Context
Stripe operates a central internal MCP server called Toolshed, hosting over 400 tools that span internal systems and SaaS platforms. Before a Minion starts working, relevant MCP tools are deterministicallyrun over likely-looking links in the task description — a process the team calls “context hydration.” Only about 15 of the most relevant tools are selected per run to prevent what Stripe calls “token paralysis.”
The tools provide internal documentation, ticket details, build statuses, and code intelligence via Sourcegraph search. This means the agent starts work with rich, relevant context — not hallucinated assumptions about internal APIs.
The CI Feedback Machine: 3+ Million Tests
The testing infrastructure is where Stripe's years of investment become most visible:
- Layer 1: Local linting — runs in under 5 seconds using heuristics to select relevant checks
- Layer 2: Selective CI — runs relevant tests from a battery of 3+ million tests
- Layer 3: Auto-fixes — many test failures have automated fixes that are applied without agent involvement
- Layer 4: Agent retry — if no autofix exists, the failure goes back to the Minion for another attempt
There's a hard cap of two CI rounds per task — a deliberate tradeoff balancing speed, cost, and diminishing returns. The philosophy is “shift feedback left”: anything that would fail in CI should be caught on git push, not minutes later.
The activation energy of starting to write code, seeing tests pass, maybe a test fails, occurs without me even participating. And then I can jump in and tweak and have that generative momentum.
— Steve Kaliski, Stripe Engineering
The Infrastructure Behind Stripe's AI Engineering Velocity
The temptation is to attribute Stripe's success to the AI model. But as Nelson Elhage (former Stripe engineer) documented, Stripe invested in developer productivity tooling years before AI agents were viable. A dedicated internal tooling team was created early, grew substantially, and was staffed with excellent engineers including very senior individual contributors.
More so than any of the technical choices, I think the existence of the developer productivity team, and its investment in stability and reliability of developer tooling were the major drivers in any success of the Stripe developer experience.
— Nelson Elhage, former Stripe engineer
Per-developer EC2 devboxes with full source code, a Sorbet type-checking server running on each devbox, and infrastructure to manage the devbox lifecycle — these existed long before Minions. The AI agents simply inherited an environment that was already optimized for fast, isolated, reproducible development.
Whether it's documentation, developer environments, or CI, we've found time and time again that our investments in human developer productivity pay dividends in the world of agents.
— Stripe Engineering Blog
This is the key insight: the coordination layer, not the AI model, is the differentiator. Every team in the world has access to Claude, GPT-4, and similar frontier models. Very few teams have ten-second reproducible environments, three million tests with autofixes, and 400 context-providing tools. The infrastructure is the moat. As we explore in our analysis of why orchestration is the next infrastructure layer, this pattern has repeated for every major shift in software engineering.
High-Velocity Engineering Teams — Common Infrastructure Patterns
Stripe isn't the only organization operating at this velocity. Looking across Google, Meta, Shopify, and GitHub reveals a striking pattern: high-velocity teams converge on the same infrastructure primitives regardless of their AI adoption level.
| Pattern | Stripe | Meta | Shopify | |
|---|---|---|---|---|
| Trunk-based dev | Yes | Yes | Yes | Yes |
| Cloud dev environments | Devboxes (~10s) | Cloud workstations | Sandcastle | — |
| Merge queue | Yes | Yes | Yes | Graphite MQ |
| Test suite scale | 3M+ tests | Extensive | Extensive | 400K+ tests |
| ML-powered review | — | Critique + AutoCommenter | Next Reviewable Diff | — |
| Stacked changes | Supported | Chained CLs | Stacked diffs | Graphite gt |
| Daily throughput | 1,300+ AI PRs/wk | Tens of thousands CLs/day | Thousands of diffs/day | ~400 commits/day |
The pattern is unmistakable. Every high-velocity engineering organization has invested heavily in the same categories: reproducible environments, massive automated test suites, merge orchestration, and fast feedback loops. The organizations that move fastest aren't the ones with the best developers or the best AI — they're the ones with the best absorption infrastructure.
Google reviews tens of thousands of changes daily with its Critique system. Meta achieved a 17% increase in review throughput with ML-powered “Next Reviewable Diff” routing and a 7% drop in time-in-review with Nudgebot. Shopify merges ~400 commits daily through Graphite's merge queue with 400,000+ tests running in parallel across hundreds of Buildkite workers.
GitHub itself — eating their own dogfood — ships 2,500 PRs per month through their native merge queue with 500+ engineers, calling it “one of the best quality-of-life improvements to shipping changes”they've ever seen.
The “Comprehension Debt” Warning
Not everyone is having Stripe's experience. For teams that adopt AI coding tools without the supporting infrastructure, velocity is creating a new and insidious form of technical debt.
Addy Osmani (Google Chrome team) coined the term “comprehension debt” — the growing gap between how much code exists in a system and how much of it any human genuinely understands. Unlike traditional tech debt (a conscious tradeoff), comprehension debt accumulates invisibly. AI-generated code is syntactically clean, passes tests, and looks reasonable in review. But volume overwhelms human capacity to maintain mental models.
AI generates code far faster than humans can critically evaluate it. What used to be a meaningful quality gate (code review) is turning into a throughput problem.
— Addy Osmani, Google Chrome team
The data supports the concern. Rob Zuber, CTO of CircleCI, recently shared findings from 28 million workflows:
- Average PR size increased 150%+ when teams adopt AI coding tools
- Main branch success rates fell to 70.8% — lowest in 5+ years
- The industry has become very good at generating change, but most delivery systems still struggle to absorb it
The industry has become very good at generating change, but most delivery systems still struggle to absorb it.
— Rob Zuber, CTO of CircleCI
An Anthropic study found that engineers using AI completed tasks in the same amount of time but scored 17% lower on comprehension quizzes about the code they'd produced — with the biggest decline in debugging ability. “LGTM” becomes the default as review volume overwhelms capacity, and the feedback loop that once ensured knowledge distribution breaks down.
This is the divergence: teams with Stripe-level infrastructure can absorb AI-speed output because they have automated confidence signals (massive test suites, selective CI, blue-green deployments) that substitute for deep human comprehension of every line. Teams without that infrastructure rely on human review as their primary quality gate — and that gate is collapsing under AI-generated volume. The answer lies in building orchestration infrastructure that provides automated coordination at the organizational level.
Lessons for Teams Scaling AI Engineering Velocity
Let's be honest about the gap. Stripe has a dedicated developer productivity team staffed with very senior ICs, years of infrastructure investment, 3+ million tests, 400+ internal MCP tools, and a custom agent harness built on top of mature infrastructure. Most teams have none of this.
But Stripe's approach decomposes into patterns that scale down. Here are the ones that deliver disproportionate value at any team size:
1. Shift Feedback Left (Low Effort, High Impact)
Run linters and type-checkers on pre-push hooks. Use AI review tools before opening PRs — one team reported engineers catch 90-95% of blockers by running AI review locally before the PR is even created. This is Stripe's “any CI failure should be caught on push” philosophy, accessible to anyone with a pre-commit hook.
2. Codify Your Standards (Medium Effort, High Impact)
Put conventions in machine-readable files — AGENTS.md, per-directory rules, linter configs. Stripe's insight applies universally: “What's good for humans is good for LLMs.” Clear documentation helps both human newcomers and AI agents. Treat every human review catch as a chance to update the codified rules — this creates a compounding effect where each review makes the next AI attempt more likely to succeed.
3. Adopt a Merge Queue (Low Effort, Medium Impact)
GitHub's native merge queue is free. Trunk.io, Mergify, and Graphite offer more advanced options. The principle is simple: never let main break, and test against the future state of main. This becomes critical when AI increases PR volume — without a merge queue, soft conflicts will break your main branch faster than humans can notice.
4. Invest in Test Coverage (High Effort, Highest Impact)
This is the single most important investment. Tests are what allow AI to iterate autonomously — they're the feedback loop that replaces a human sitting next to the machine saying “no, that's wrong.” Without tests, AI-generated code has no automated signal of correctness. Even basic integration tests provide the agent feedback loop that enables autonomous iteration.
Our investments in human developer productivity pay dividends in the world of agents.
— Stripe Engineering Blog
5. Use Cloud Dev Environments (Medium Effort, High Impact)
GitHub Codespaces, Gitpod, and Devpod enable parallel agent workflows without local resource constraints. Isolation prevents agent work from conflicting. You don't need Stripe's custom devbox infrastructure — you need reproducible, disposable environments that agents can spin up independently.
6. Deploy AI Review as a First Pass (Low Effort, Medium Impact)
Run AI reviewers in CI — informational and non-blocking initially. Use multiple specialized reviewers (security, quality, performance) as Cloudflare demonstrated with their seven concurrent AI reviewers. This frees human reviewers to focus on architecture and business logic. One team achieved 5.2x faster merge times with AI approval plus safety checks — median merge time of 14.6 minutes versus 75.8 minutes for human-only review.
The Real Lesson: AI Engineering Velocity Without Coordination Is Dangerous
The DORA 2025 report — surveying roughly 5,000 respondents — surfaced a finding that should alarm every engineering leader: “AI coding assistants boost individual output but organizational delivery metrics remain flat.”
How is that possible? Because individual velocity and organizational throughput are different things. An engineer generating 3x more code doesn't help if the review queue backs up, the merge queue breaks, the CI can't keep main green, and the team can't maintain a mental model of what changed.
The data tells the story:
- Change failure rates are trending up (12% → 15% over two years) — possibly AI-contributed
- Only 9.4% of teams achieve lead times under one hour
- 43.5% of teams still require more than one week from commit to production
- Main branch success rates are at five-year lows
The industry is generating more code than ever — and delivering it more slowly. The bottleneck has moved from code generation to code absorption: the ability of an organization's systems and humans to safely integrate, validate, review, and deploy changes at the rate they're being produced. This coordination bottleneck is the defining challenge of AI-native engineering.
Stripe solved the absorption problem before turning on the generation firehose. Most teams are doing the opposite: turning on AI generation tools while their absorption infrastructure remains unchanged. This is how you get comprehension debt, broken main branches, and rising change failure rates.
I can't remember the last time I started my work in a text editor. Instead, work begins where ideas happen — in a Slack thread, a Google Doc, or a ticket.
— Steve Kaliski, Stripe Engineering
What makes that quote remarkable isn't the AI capability — it's the trust. Kaliski can let agents work unsupervised because the infrastructure guarantees safety: isolated environments prevent damage, three million tests catch regressions, local linting provides five-second feedback, and blue-green deployments enable instant rollbacks. The trust is earned by infrastructure, not by model performance.
Conclusion: Infrastructure Is the AI Engineering Velocity Differentiator
Stripe's 1,300 PRs per week is impressive. But the real story isn't the throughput number — it's what made the throughput safe.
Every engineering team in the world has access to Claude, GPT-4, and the frontier models that power AI coding agents. The models are a commodity. What's not a commodity is the coordination infrastructure: the devboxes that spin up in ten seconds, the test suite that provides an autonomous feedback loop, the merge orchestration that keeps main green under 1,300 new PRs per week, the context management that gives agents the right information without drowning them in tokens.
The lesson isn't “be like Stripe” — few organizations have the resources for that level of investment. The lesson is that AI engineering velocity without coordination infrastructure is not just wasteful, it's dangerous. It creates comprehension debt, breaks main branches, overwhelms review capacity, and degrades the organizational knowledge that makes engineering teams effective.
The teams that will thrive in the AI-native era aren't the ones that adopt the best models. They're the ones that build — or adopt — the infrastructure to safely absorb AI-speed output: automated quality gates, fast feedback loops, intelligent routing, merge orchestration, and the coordination layer that turns raw velocity into reliable delivery.
If it's good for humans, it's good for LLMs, too.
— Stripe Engineering Blog
The virtuous cycle is clear: invest in developer experience, and you improve both human productivity and agent effectiveness. Invest in coordination infrastructure, and you can safely absorb the output of both. The AI model isn't the differentiator. The infrastructure is.
Sources & Further Reading
Building coordination infrastructure for AI engineering velocity
LoomStack is building the orchestration layer that makes AI-speed development safe — merge coordination, intelligent routing, automated quality gates, and organizational context management. The infrastructure Stripe built internally, accessible to every team.