Engineering

The Software Factory, Part 1: What It Is

Most of our engineering now runs through a factory of AI agents. I talk to one thread; it finds and fixes production problems, writes most of our code and asks a person only for risky steps.

Sarath Suresh

I talk to one chat. About 30 agents do the work behind it.

They find production problems, fix them and ship, around the clock. I step in only when a decision really needs me.

Last month they wrote 81% of our code. This is how.

The Front desk page: working tasks on the left, one chat thread in the middle where workers report back, and an approval card open on the right with its Approve button.
My Front desk. It looks like Codex, but the sidebar holds tasks, not chats: I talk to one thread, workers report back into it, and decisions come to me as cards. Customer names are blurred.

It fixes production on its own. On 18 Nov our US API rejected valid API keys 15,000 times. It found an 11-day-old bug and shipped the fix in under 3 hours.

The next morning Gregor, one of our cofounders, wrote in #general: "your agents are insanely good wtf".

It writes most of our code. Last 30 days: 1,014 of 1,250 merged changes (81%). Plus 1,100 changes to itself.

Two lanes over the steps of one change, request, fix, review, staging, production and watch: the agents' lane runs through every step; a person's lane is empty except for one tap before production, for risky changes only.
One change, request to production. Agents run every step, and a bad release rolls back on its own. A person steps in once, before production, and only for risky changes.

Who does what

The factory is a team of AI sessions, each with one job:

  • My desk: the one chat I talk to. It turns what I ask for into tasks.
  • Workers: one per task. Each builds its change on its own machine and takes it all the way to production.
  • The coordinator: sets the order of work, and is the only one allowed to release to production.
  • Watchers: follow every release and alert, and undo a release that hurts customers.

A Codex agent reviews every change; every change is tested on staging.

Where it runs

Every agent is Claude Code on Opus 5.5 (medium effort).

  • exe.dev VMs: every agent works on its own cloud machine. The factory creates and deletes them itself.
  • Our own cloud browsers: every UI change is checked in a real browser before it ships.
  • A hosted Mac Mini: for Mac-only work like Safari, the iOS simulator and sign-ins.

Nothing runs on a laptop.

What a person still does

We decide priorities and approve risky steps: money, security, production AWS. One tap approves. No session can approve its own work.

Three lanes

How many customers get a change over time, per lane: direct reaches everyone in the next release; a switch spends an hour on staging and an hour at 10% of customers before everyone; a person's word waits for a tap before each step.
How a change reaches customers. Black lines move on their own after an hour of clean numbers; the orange one waits for a person to press a button.

The reviewer picks the lane. Most changes take the first one. That's how two people keep up with dozens of agents.

Coming up in this series:

  • How a bug report becomes a fix in production
  • How we release safely without anyone watching
  • What went wrong, and what we threw away
  • …and more.

Published