Alistair Gray details in this second part the technical implementation of Minions, Stripe's end-to-end coding agents, which now merge more than 1,300 pull requests per week, up from the 1,000 announced in Part 1.
The infrastructure relies on devboxes — ephemeral AWS EC2 instances treated as "cattle, not pets." A pre-warmed pool allows each agent to get a complete environment in 10 seconds, identical to that of human engineers. This total isolation is fundamental: it allows agents to run without supervision or confirmation, since they cannot access production or user data.
The agent harness is a custom fork of goose, Block's open source tool, optimized for unassisted operation. Confirmation prompts have been removed because devbox isolation makes this safeguard redundant.
The major architectural innovation lies in blueprints — a hybrid orchestration system combining deterministic nodes and agent nodes within a state machine. Predictable steps (cloning a repository, creating a branch) are executed by traditional code, while creative steps (understanding a problem, writing code) are delegated to LLM loops. This approach "puts LLMs in contained boxes," saving tokens and significantly improving reliability compared to a purely agentic approach.
For context, Stripe has standardized its rules files on the Cursor format, with automatic synchronization to the Claude Code format. The same rules serve Minions, developers using Cursor, and those using Claude Code — a unification that amplifies the return on investment of every context improvement.
Tooling is centralized via Toolshed, an MCP server exposing about 500 tools. Each agent receives a curated subset suited to its task, avoiding the context overload that degrades LLM performance.
The feedback loop operates in two stages. First, pre-push lint hooks run in under a second to catch trivial errors. Then, the agent submits its code to one or two CI cycles maximum against a battery of more than 3 million tests.
Gray concludes with a cross-cutting philosophy: the investments Stripe has made to improve the productivity of its human engineers — tooling, infrastructure, CI — now pay double dividends by also serving agents. This is a powerful argument for organizations hesitant to invest in their development platform.