Every company I talk to is standing up an agent factory. Agents from several vendors work on the company's own repositories, machines, keys, and people. And every one of those floors is designed from whatever its builder learned last time.
Factories went through exactly this phase. The way out became a standard. Below, I've drawn it the way a plant would have been drawn: as a set of four blueprint sheets.
Every factory floor used to be built from memory
For most of the last century, the space between planning and the machines was designed by whoever ran it. Planning knew what to make. The machines knew how to run. In between were clipboards, paper travelers riding along with each part, and software written for one plant.
By the 1980s, plants had automated cells that couldn't talk to each other. The industry called them islands of automation. Each plant engineer drew the floor from prior experience. Moving to a new plant meant learning a new floor.
Good practices existed. Toyota had the andon cord, and Shigeo Shingo had introduced poka-yoke in the 1960s. But every plant rebuilt them its own way, on its own floor.
The lessons became a blueprint
The name manufacturing execution system appeared around 1990. Through the 1990s, vendors built systems that overlapped and disagreed. Then MESA International set the scope with eleven functions.
Around the same time, Theodore J. Williams and a consortium at Purdue drew the levels of a manufacturing enterprise. ISA-95, approved on May 15, 2000 and later adopted as IEC 62264, standardized the objects every MES works with. From then on, a plant designer could start from a standard instead of from memory.
Here is that standard, drawn as a building. Sheet MES-1 cuts through it from roof to grade.
The MES lives on level 3. Planning, above it, knows what to make. Control, below it, knows how to run. Neither one knows what actually happened on the floor. That's the MES's whole job.
Sheet MES-2: raw materials, process, operations
The production floor, read from left to right.
Raw materials arrive by rail at receiving, as lots. Each lot has a definition, and every product has a bill of materials that says which lots it's made from.
The process is a series of segments: cut, form, assemble, inspect. The routing is the recipe that says which segments run in which order. Every station gets work instructions, controlled by version.
Operations connect planning to the floor. A work order arrives from planning at the dispatch office: make 400 units by Friday. The MES splits it into job orders, dispatches each one to a station, and collects what actually happened.
Finished goods leave from shipping by truck. The dashed trace line is genealogy. Any unit can be traced back through every station it passed, and every lot it was made from.
Sheet MES-3: the eleven functions
Upstairs, on the operations floor, MESA's eleven functions are rooms 301 to 311. Every room opens onto the same view of the production floor below: one record of what happened, read by all eleven.
- Resource allocation and status: what is free, and in what state.
- Operations and detailed scheduling: the order of work against capacity.
- Dispatching production units: sending each job to a station.
- Document control: the right instructions, by version.
- Data collection and acquisition: recording what happened, as it happens.
- Labor management: who did what, and for how long.
- Quality management: checking parts at every station.
- Process management: watching the line and raising alarms.
- Maintenance management: keeping machines fit to run.
- Product tracking and genealogy: tracing each unit to its causes.
- Performance analysis: showing how the floor is doing.
Sheet MES-4: red-line the practices
The functions say what an MES must do. The practices say how good plants do it. On a real job, changes like these reach the print as red-pencil revisions, numbered in a schedule:
- Andon. Any worker can pull the cord. At Toyota, the first pull calls for help. If the problem isn't fixed, the line stops.
- Poka-yoke. A fixture that makes the wrong part impossible to fit. Errors are prevented, not inspected out.
- Kaizen. Small improvements, measured, then spread to every line.
- SPC. Control charts that show a process drifting before parts fail. I wrote about them in Tell me what changed.
- OEE. Overall equipment effectiveness: availability, performance, and quality.
- Historian. The plant's store of every reading, kept.
- Downtime codes. Every stop is recorded with its reason.
- Quality gates. A bad part is caught at the station that made it, not at the end of the line.
The robots will change. The floor won't.
The newest factories are rebuilding the robot itself. Tesla is building Optimus, a humanoid robot meant to work on its own lines. Jeff Bezos became co-CEO of Project Prometheus, an AI company aimed at engineering and manufacturing. SpaceX keeps stripping complexity out of what it builds, as the Raptor engine shows.
They are evolving the robot's hands and the robot's mind. The floor around them stays the same. Work still has to be dispatched by capacity. Every part still needs a genealogy. A bad part still has to be caught at the station that made it, and someone still has to be able to stop the line.
A smarter robot doesn't remove those eleven jobs. It makes them more important, because it does more work, faster, with less supervision.
We're reliving the one-off floor
Agent factories today look like plants before 1990. Every vendor sells a line: its agent, its sandbox, from ticket to pull request. Each company builds the floor around those lines from memory.
The symptoms are familiar. Skills and AGENTS.md files pile up into hairballs. Dashboards turn into walls of graphs. Nobody can trace a merged line back to the run that wrote it. The andon cord is a Slack message.
The plant vocabulary maps over almost word for word:
| On a plant floor | In an agent factory |
|---|---|
| Raw materials | tokens, context, provider quota, compute |
| Process segments | the kinds of steps: plan, change, check, merge |
| Work order | a goal, owned by a person |
| Finished good | a change that passed its checks and stayed |
| Genealogy | which runs and actions produced this line |
| Andon | stop the run and bring the right person in |
| SPC | every measure against its own history |
What I'm working toward
We're reliving the chaos and disparity of building factory floors, this time for agents. I'm working on a standard and a system for standing up agent factories in any domain. That means one vocabulary, one blueprint, and the same eleven jobs, held to the same practices. Software comes first. The same floor should hold for any process where agents do the work.
I'll share more when it's ready.
Factories stopped building floors from memory more than thirty years ago. Agent factories don't need to take thirty years to learn the same lesson.