1000+ merges/week (Stripe scale)

1000+ merges per week is the throughput level that Stripe's engineering organization achieved with their AI-assisted development program, published as the "Minions" model.

L5 · SELF-IMPROVINGWhat this level takes
MUSTNot met, not at this level
  • Full autonomous pipeline: agent produces PR, CI passes, merge, deploy, observe - no human in the loop
  • Rollback is agent-driven (agent detects regression, reverts, and opens fix PR)
  • Merge throughput sustains 1,000+ merges per week
SHOULDExpected in practice, not required
  • Mean time to rollback is under 5 minutes from anomaly detection
  • Agent-driven rollbacks succeed without human intervention 95%+ of the time
EVIDENCEHow you would check
  • Merge throughput dashboard showing 1,000+ per week
  • End-to-end autonomous pipeline logs (PR to production with no human steps)
  • Agent-driven rollback logs with timestamps and success rate
DEPENDS ON
  • Delivery L4 (Merge & Deploy) - auto-merge, auto-deploy, and canary deployment must be operational
  • Infrastructure L4 (Observability & Feedback Loop) - production anomaly detection required for agent-driven rollback

What It Is

1000+ merges per week is the throughput level that Stripe's engineering organization achieved with their AI-assisted development program, published as the "Minions" model. This isn't a theoretical benchmark - it's the observed output of a production system where AI agents produce the majority of code changes, each of which passes CI, satisfies merge policy, and deploys automatically. At this scale, the entire engineering process operates differently than at lower throughput levels.

At 1000 merges/week (approximately 143 merges/day or 6 merges per hour around the clock), the infrastructure requirements are qualitatively different from L4's 50/day. CI must be fast enough to process a continuous stream (batch CI and incremental builds are not optional). The merge queue must handle hundreds of concurrent pending PRs without creating hour-long backlogs. The CD pipeline must deploy continuously - not several times a day but dozens. Monitoring must be sophisticated enough to distinguish between 1000 simultaneous canary rollouts in various stages without generating noise.

Stripe's specific implementation includes: a custom merge queue system (not GitHub's native queue), Bazel-based incremental builds with remote caching (most CI runs in under 5 minutes despite a massive codebase), a proprietary deployment system that handles continuous deployment across hundreds of services, and an observability platform that can trace any production issue to a specific PR and agent session within seconds. They also have "Toolshed" - a platform that provides each AI agent with access to 400+ internal tools and ensures each agent has a well-defined permission boundary and audit trail.

The Minions model at Stripe uses a planner-worker hierarchy: senior engineers define tasks as structured specifications, AI agents execute them, and the resulting PRs flow through fully automated CI and merge pipelines. The planner's job is quality of specifications, not execution of code. This human-AI collaboration model is what makes 1000+/week sustainable rather than chaotic.

Why It Matters

  • Proof that autonomous delivery is possible - Stripe's published data demonstrates that 1000+ merges/week with AI agents is an achieved state, not a future aspiration; teams working toward L5 have a concrete reference implementation
  • Changes the bottleneck model - at this scale, the bottleneck is no longer throughput (agents can produce code faster than 1000/week) but quality and correctness; the limiting factor is the planning quality of the specifications given to agents
  • Requires infrastructure investment that compounds - the CI speed, merge queue sophistication, and observability platform required for 1000+/week are investments that benefit the entire organization indefinitely; L5 infrastructure is durable competitive advantage
  • Demonstrates the economics of AI development - at 1000 merges/week with AI agents, the cost per code change is a fraction of the cost with human developers; the economics of software development fundamentally change
  • Sets the target for L5 organizations - for teams building AI-native engineering organizations, Stripe's scale is the reference point; understanding what they built tells you what to build

Getting Started

  1. Understand your current throughput ceiling and why it exists - before targeting 1000/week, understand what's stopping you at your current level. Is it CI speed? Merge queue capacity? CD pipeline throughput? Observability resolution? Each ceiling has a specific fix. Work through the L2-L4 infrastructure improvements before attempting L5 scale.
  2. Invest in incremental build infrastructure - at 1000 merges/week, running full CI on every PR is not viable. Implement Bazel or Nx for incremental builds, with remote caching (Buildkite Remote Cache, EngFlow, or self-hosted). Only rebuild and retest what changed. This alone can reduce CI compute costs by 60-80% while cutting CI time from 30 minutes to 5.
  3. Implement a high-throughput merge queue - GitHub's native merge queue maxes out at roughly 50-100 concurrent PRs before experiencing latency issues. At Stripe scale, teams implement custom merge queue systems or use Trunk.io's enterprise merge queue, which is designed for 1000+ daily merges with sophisticated batching and priority scheduling.
  4. Build a continuous deployment system, not a scheduled one - at 1000 merges/week, "deploy every hour" is already 16 merges per deploy on average. True continuous deployment deploys every merge (or every small batch) with canary analysis. This requires a deployment system that can handle 100-200 simultaneous canary deployments across different services.
  5. Instrument for AI-scale observability - standard monitoring dashboards don't scale to 1000 merges/week. Implement trace-to-PR attribution: any production metric change should be automatically correlated with the PRs that deployed in that window. This is the observability capability that makes debugging at scale possible.
  6. Implement agent identity and permission scoping - at L5 scale, agents are acting as production engineers. Each agent session needs: a unique identity, a specific permission scope (which services can it modify?), an audit trail (what did it do, when, with what context?), and rate limiting (how many PRs per hour from a single agent?). Stripe's Toolshed model is the reference for this.
TIP

The transition from L4 (50/day) to L5 (1000+/week) is not linear. It requires rebuilding several foundational systems: CI (incremental builds), merge queue (high-concurrency), CD (continuous), and observability (trace-to-PR). Plan for a 6-12 month infrastructure investment before hitting 1000+/week. Teams that try to scale linearly from L4 discover that each system hits a different ceiling at a different throughput level.

Common Pitfalls

Treating 1000 merges/week as a PR count goal rather than a capability state. 1000 merges/week is the output of a well-functioning autonomous engineering system, not the goal itself. Teams that optimize for PR count without the supporting infrastructure produce 1000 low-quality merges/week and ship regressions continuously. The target is 1000 merges/week with a post-merge incident rate comparable to or better than human-authored code.

Underestimating CI infrastructure requirements. CI at 1000 merges/week means 1000+ full CI runs per week minimum (2000+ with retry overhead). Without incremental builds and distributed caching, this requires enormous compute resources and still produces 15-30 minute CI times. Bazel/Nx with remote caching is not optional at this scale; it's the enabling technology.

Monorepo without smart test selection. At 1000 merges/week in a monorepo, running all tests on every merge takes too long. Implement smart test selection: determine which tests are affected by each PR's file changes and run only those. Combined with incremental builds, this keeps CI times manageable. Without it, CI becomes the terminal bottleneck regardless of other infrastructure improvements.

No agent rate limiting or permission scoping. An agent with unrestricted access that produces 50 PRs/hour for 1000 merges/week is equivalent to 25 senior engineers working in parallel on the same codebase with no coordination. Without rate limiting and scope boundaries, agents can create conflicting changes, circular dependencies, and coordination failures that scale the problem rather than the solution.

Insufficient observability for root cause analysis. When 143 deployments happen per day, a production incident that starts "sometime after noon" is hard to attribute to a specific change without trace-to-PR observability. At Stripe scale, teams need to be able to identify the specific PR that caused a production regression within minutes. Standard monitoring (which service had elevated errors) is necessary but not sufficient; you need change attribution (which PR introduced this behavior change).

How Different Roles See It

BobHEAD OF ENGINEERING

Bob is excited about Stripe's 1000/week number but his team is at 25 PRs/day. He's trying to build a roadmap toward L5 but doesn't know whether to start with CI speed, merge infrastructure, or agent workflow improvements.

What Bob should do: Bob should sequence the L5 infrastructure investments in the order that removes the current binding constraint. At 25 PRs/day, the binding constraint is almost certainly not CI speed (it's manageable) but merge workflow and review overhead. The right sequence: (1) implement merge queues and policy-based auto-merge to reach 50/day, (2) then optimize CI to under 10 minutes to scale to 100/day, (3) then implement continuous deployment with canary to reach 200+/day, (4) then invest in incremental builds and advanced merge queue for 1000+/week. Each step creates the prerequisite for the next. Bob should present this as a 12-18 month roadmap with measurable milestones at each level, not a single "L5 project."

SarahPRODUCTIVITY LEAD

Sarah wants to track progress toward L5 throughput over time. She has throughput (PRs/day) but needs leading indicators that predict whether infrastructure investments are paying off before the throughput number moves.

What Sarah should do: Sarah should identify the leading indicators for each infrastructure improvement: merge queue adoption (what % of PRs go through the queue?), auto-merge rate (what % are auto-merged?), CI time trend (is P95 CI time decreasing?), deployment frequency (how many times per day does code reach production?). These leading indicators move faster than throughput and tell you whether the infrastructure investments are working before the throughput ceiling is reached. Sarah should publish a monthly "delivery infrastructure scorecard" with these metrics alongside throughput, so the team can see infrastructure progress even when throughput hasn't yet reflected the improvements.

VictorSTAFF ENGINEER - AI CHAMPION

Victor has been following Stripe's engineering blog closely and wants to implement a version of their Toolshed model for his team: a curated set of tools and permissions that each agent can access, with audit logging for every tool call. He believes this is the missing piece for scaling agent workflows beyond his personal use.

What Victor should do: Victor should start with the minimal viable version of Toolshed: a small set of approved tools (run tests, create PR, query codebase, read documentation) with a permission wrapper that logs every call with agent identity and timestamp. This gives each agent session a bounded permission scope and creates an audit trail. Victor should pilot this for 30 days on his own agent sessions, verify that the audit trail is complete and actionable, then propose it as the team standard for agent tooling. The step from "agents with unrestricted access" to "agents with scoped, audited access" is the organizational infrastructure that makes L5 governance feasible.

Where does your team actually sit on this?

This guide describes one level of one area. Run the assessment to place your team across all 16 areas, see which gates you have passed, and get a report you can take to your stakeholders.

Start the assessment