Every software team just installed the robots

Early in my product career, I was told one of my goals was to keep engineering busy.
It made sense at the time. I worked at bigger companies, with several engineering teams each working on many different things, and an engineer waiting for work felt like the most expensive thing in the building. A good PM kept the backlog full and the next sprint ready, so nobody ever sat idle.
I've been thinking about that advice a lot lately, mostly because of a novel about a factory.
Eliyahu Goldratt's The Goal opens with a plant manager bragging in an airport. Alex Rogo runs a factory that's losing money, but he's proud of one thing: the robots. They've pushed productivity up 36% in one department. Then he runs into Jonah, his old physics professor, who asks a few simple questions. Is the plant shipping more product? Did inventory go down? Is it making any more money?
It isn't. Then, Jonah tells him, you didn't increase productivity.
Every software team I know just installed the robots. Coding agents write a meaningful share of the code now, and the idea of a software factory, where agents do most of the building and people steer, comes up more every month. The dashboards look great: more pull requests, faster cycle times, a rising share of code written by AI. Those numbers are real, the same way Alex's 36% was real. I keep wondering what Jonah would ask about them.
Judging the factory
Jonah makes Alex say it out loud: the goal of a company is to make money, now and in the future. Everything else is a means. Then he gives him three measures to judge any decision against:
- Throughput, the rate at which the system generates money through sales. Not production. Sales.
- Inventory, the money tied up in things the system intends to sell.
- Operational expense, the money spent turning inventory into throughput.
What struck me rereading it is how reasonable the plant's own metrics sounded. Machine efficiency. Parts per hour. Making sure no machine and no worker ever sat idle. You could improve every one of them while the plant lost more money.
That last one got me. A machine that's never idle is a close cousin of an engineering team that always has something to work on.
Here's how I've been mapping the book onto a software factory:
| In The Goal | On the plant floor | In a software factory run by agents |
|---|---|---|
| Throughput | Product sold and shipped | Value customers use and pay for |
| Inventory | Parts on the floor, finished goods in the warehouse | Sessions waiting on a person, open PRs, features nobody uses |
| Operational expense | Labor, power, overhead | People and tokens |
| The robots | 36% more parts in one department | More code, more PRs, more agents running |
Seen this way, a few things start to look different. A feature nobody uses looks less like progress and more like a finished good sitting in a warehouse, still needing to be maintained, tested and supported. Agents aren't free, so a factory running flat out on the wrong work is spending real money to fill that warehouse. And the newest kind of inventory, the one I notice most, is the pile of agent sessions waiting for someone to review something or make a call.
The bottleneck moves
The heart of the book is the bottleneck. Alex learns that his plant's output is set by its slowest steps, a machine called the NCX-10 and a heat-treat oven. Every part has to pass through them. Make any other step faster and the plant doesn't ship more. It just piles up parts in front of the bottleneck.
Goldratt put it in two sentences I've thought about more this year than almost anything else I've read:
An hour lost at a bottleneck is an hour lost for the entire system. An hour saved at a non-bottleneck is a mirage.
By the end of the book, Alex and Jonah have turned this into a short loop. Goldratt writes it as five steps, but I find it easier to hold as four:
- Find the constraint. The one step that limits everything else.
- Get the most out of it. Make sure it never waits on anything, and arrange the rest of the work around it.
- Expand it. Add capacity, the way Alex brings an old machine back into service next to the NCX-10.
- Look again. Once it stops being the constraint, something else is, and the habits built for the old one don't notice.
For most of my career, the bottleneck in software was building, and looking back, "keep engineering busy" was step two. If engineering is the constraint, you'd never want it sitting idle, and you'd want a buffer of ready work in front of it. Nearly everything else a product team did was arranged around that scarce engineering time: specs so engineers wouldn't build the wrong thing, roadmap fights because capacity was fixed, estimates and groomed backlogs so every hour went to the most important work.
Agents look a lot like step three. Which puts us at step four, the one I keep coming back to. A bottleneck doesn't disappear when you widen it. It moves somewhere else, and the habits built around the old one keep running anyway. "Keep engineering busy" is one of those habits. It made sense for the constraint it was built for. I'm less sure it makes sense now.
I've watched the constraint move twice.
First it moved to decisions
At Customer.io, we noticed more than a year ago that prioritization was becoming the bottleneck. More and more, work was waiting on a decision rather than on code, and often on several people agreeing to it.
So we focused on the flow of decisions. We reduced the number of people needed to make a call, and gave the people closest to the work the ability to make big ones, including calls that historically belonged to a product manager.
There's a moment in The Goal this reminds me of. Once Alex's team knows which parts feed the bottleneck, they tag them red, so anyone on the floor can tell what to work on first without asking a supervisor. The decision moves to the person at the machine, and the information needed to make it well moves with it.
That changed my job. I used to be the one who made the call and built the roadmap. Now more of my work is figuring out how engineers can make the right call without me in the room. A lot of that comes down to whether they, and the agents they work through, have the customer context I used to carry around in my head.
That context matters more than it used to. In a factory where building is cheap, what's the most expensive defect? I've come to think it's a well-built wrong thing: a feature an agent built cleanly, someone reviewed carefully, and no customer needed. Alex's plant learned to inspect parts before they went into the heat-treat oven, not after, so its scarcest hours weren't spent on scrap. Getting the right customer context into the harness feels like the software version of that inspection.
Then it moved to me
Spreading decisions out helped the team. It didn't help me in my own work, and once I started running agents in earnest, the bottleneck moved again. This time it was me.
These days it's a bit like having a team of fifty product analysts. They're working through hundreds of customer calls, putting reports together, doing competitive research, drafting vision statements, building metric charts and digging through data for trends. All of it is genuinely valuable. And all of it lands in a pile that still needs a person to read it and sign off before anyone makes a big decision on it.
Engineers are building safeguards around this for code: tests, checks and automated review before a person ever looks. The equivalent for product work, for knowing whether something actually succeeded, feels less mature. There's a real difference between "does this software do what I told it to?" and "does this feature solve the customer problem it was supposed to?" Tests answer the first.
That second question isn't unanswerable anymore, though. A feature can ship with the metric that would show whether it worked, and an agent can watch it. Support ticket trends, sales calls and customer success calls can all be read at a scale no PM could manage alone. The pattern I'm testing now leans on both: strong metrics, and an AI harness that surfaces fleshed-out opportunities without me having to ask. It's still early, and in the meantime plenty of the pile still lands on me.
And I'm only human. I don't have infinite memory, and there are only so many open threads I can hold thoughtfully at once and still bring good judgment and taste to each one. Every session waiting on my review is inventory on the floor.
Building myself a rope
Here's what that looked like before I changed anything. I'd have twenty sessions running, and when it wasn't clear which one was the critical one, I'd spend my time, the actual constraint, keeping whichever session happened to be in focus moving. It took real energy to keep that one spinning, while the session that mattered most sat idle waiting for me.
The one in front of me stayed busy, which looked like progress. It was the same trap Alex's plant fell into: running parts through a machine that isn't the bottleneck, just to keep it busy, makes inventory, not throughput. Agents add a bill on top of that. Running them on unimportant work because I can spends tokens and fills the warehouse, and every hour I spent nudging the wrong session along was an hour lost at the bottleneck.
So I tried what Alex did and rebuilt my work around the constraint. It started with a limit I made up. I gave every terminal a set size and only allowed as many Claude Code sessions as fit on my screen. When the screen was full, I couldn't start anything new until another thread ended. It was an artificial limit, which was the point. Goldratt's plant did something similar with raw material. Instead of releasing it whenever a machine was free, they tied its release to the pace of the bottleneck. Goldratt later called that tie the rope.
That rule grew into a small internal tool I'm calling Helm. It runs my agent work around three ideas:
- A prioritized list of goals. I spend my time making sure the agent working on the top goal is always running. If something has to wait, it's never that.
- A cap on what's in flight. The screen rule, made official. Nothing new starts until a slot opens.
- Decisions, not transcripts. Every time an agent finishes a step, it has to propose three possible next actions and say plainly what it needs from me: review this document, make this decision. I don't read back through a chat log to figure out where things stand.
Plenty of agents spend part of the day waiting on me now, and that's fine. Early in my career, my job was to keep engineering busy. These days, one of the more useful things I do is let the agents wait.
Where it moves next
Late in The Goal, after Alex fixes the floor, the plant has more capacity than it has orders. The constraint has left the factory and moved into the market.
I wonder whether software is heading the same way. If building keeps getting cheaper and decisions keep moving closer to the work, maybe what's left is whether customers want what you made, use it, and come back. Enzo Avigo put it well: "A factory without a PM is just a faster way to make clutter."
What's the rope for a whole company?
Helm is a rope for one person. If the constraint is heading for the market, I keep wondering what the rope looks like for a whole company.
In my current role, we've been talking a lot about metrics, and about what it actually means for a product to be successful. Every company takes its shot at a north star, the handful of numbers that are supposed to say whether things are working. The more interesting part of those conversations, for me, has been what the numbers will drive. Goldratt put it bluntly in a later book: tell me how you measure me, and I will tell you how I will behave.
That's where the plant's efficiency metric keeps nagging at me. "Every machine busy" sounded like a measure of a healthy plant, and what it drove was parts piling up in front of the bottleneck. I can see the same shape in some of the numbers software teams reach for. Velocity. Features shipped. Every team with a full backlog. Percentage of code written by AI. They're easy to count, and each one rewards keeping a station busy. I'm not sure any of them would answer the question from earlier, asked of the whole factory: did this feature solve the customer problem it was supposed to?
So these are the questions I keep turning over. If a metric works like a rope, what is ours tied to? Does it pull work toward the constraint, or does it pull more work into the factory? Would it go up if we spent a month filling the warehouse? If the constraint moved to the market, would the metric notice?
Jonah's questions
Jonah never hands Alex the answers. He asks questions and makes Alex go find out. I don't have his answers either, but his questions travel well. These are the ones I've been asking about the factory:
- Did it sell more? Did more value reach customers, and did they use it and come back?
- Did the warehouse shrink? Fewer features nobody uses, fewer sessions waiting on someone, fewer half-finished things.
- Did the cost go down, counting tokens and attention, or did it just move somewhere new?
If the honest answer to all three is no, then maybe we installed the robots. One department got 36% more productive, and the plant didn't sell anything more.
The tools are genuinely better than anything we've had. What I'm still working out, at my own desk and across a team, is where the constraint moved this time, and whether we're building around it or around the last one.
Further reading: The Goal by Eliyahu M. Goldratt and Jeff Cox · Building something nobody asked for (Enzo Avigo) · Product managers need a harness too