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.

COMPOSITION ROOFING ON CINDER CONC. FILLGRADEPLANNING & LOGISTICSE.R.P. · WHAT TO MAKE, AND WHENSCHEDULE BOARDMANUFACTURING OPERATIONSM.E.S. · WHAT ACTUALLY HAPPENEDCONTROLSUPERVISE & RUN THE LINESENSING & MANIPULATINGSENSORS, DRIVES, P.L.C.'STHE PHYSICAL PROCESSMATERIAL CHANGES SHAPEROOF LINELEVEL 4 FLOOR LINEHORIZON: MONTHS · WEEKS · DAYSLEVEL 3 FLOOR LINEHORIZON: DAYS · SHIFTS · MINUTESLEVEL 2 FLOOR LINEHORIZON: HOURS · MINUTES · SECONDSLEVEL 1 FLOOR LINEHORIZON: SECONDS · MILLISECONDSLEVEL 0 · FLOOR LINE = DATUM EL. 0'CONTINUOUS13'-4"13'-4"13'-4"13'-4"13'-4"25'-0"37'-6"25'-0"87'-6"THIS FLOOR IS THE M.E.S.BETWEEN WHAT TO MAKE & HOW TO RUNNOTES:1. LEVELS PER THE PURDUE MODEL (T.J. WILLIAMS) AND ISA-95 (2000).2. PLANNING KNOWS WHAT TO MAKE. CONTROL KNOWS HOW TO RUN. LEVEL 3 KNOWS WHAT HAPPENED.— CROSS SECTION A-A —SCALE 1/8" = 1 FOOTREVISIONSCHETANCONIKEE.COMNOTES ON AGENT FACTORIES — SUNNYVALE, CAL.SUBJECT:THE PLANT · SECTIONFOR A PLANT BUILT TO THE M.E.S. STANDARDDRAWN C.C. TRACED C.C. CHECKED —DATE 11-26-26 SCALE AS NOTEDMES-1
Sheet MES-1. A cross section through the plant. The MES is level 3, between knowing what to make and knowing how to run. Open full size.

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.

ABCDEF123420'-0"20'-0"20'-0"20'-0"20'-0"100'-0"RAIL SIDINGMATERIAL INTRUCKDOCKRECEIVING101LOT 4471LOT 4472LOT 4480DISPATCHOPERATIONS OFFICE105RECORDSLOGS & TRAVELERS106UPS1CUTS2FORMS3ASSEMBLES4INSPECTCONVEYOR · ROUTING S1 → S2 → S3 → S4SHIPPING110#0391TRACE LINE · UNIT #0391 ← S4 ← S3 ← S2 ← S1 ← LOTS 4471, 4472, 4480PRODUCTION100AMES-1AMES-1NNOTES:1. WORK ORDER ARRIVES FROM PLANNING (LEVEL 4) AT DISPATCH, RM. 105.2. DISPATCH ISSUES A JOB ORDER TO EACH STATION, COLLECTS ACTUALS.3. RAW MATERIAL ENTERS AS LOTS AT RM. 101. BILL OF MATERIALS POSTED AT EACH STATION.4. ROUTING (THE RECIPE): S1 CUT, S2 FORM, S3 ASSEMBLE, S4 INSPECT.5. FINISHED GOODS LEAVE FROM RM. 110.6. EVERY UNIT TRACEABLE TO ITS LOTS AND STATIONS. SEE TRACE LINE.— FIRST FLOOR PLAN —SCALE 1/16" = 1 FOOTREVISIONSCHETANCONIKEE.COMNOTES ON AGENT FACTORIES — SUNNYVALE, CAL.SUBJECT:FIRST FLOOR PLANFOR A PLANT BUILT TO THE M.E.S. STANDARDDRAWN C.C. TRACED C.C. CHECKED —DATE 11-26-26 SCALE AS NOTEDMES-2
Sheet MES-2. The production floor: lots in by rail, four stations on the routing, goods out by truck, and a trace line back. Open full size.

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.

ABCDEF123420'-0"20'-0"20'-0"20'-0"20'-0"100'-0"DNOPEN TO PRODUCTION FLOOR BELOWONE RECORD OF WHAT HAPPENED,READ BY EVERY ROOM · 42" RAILRESOURCESALLOCATION & STATUS301SCHEDULINGOPERATIONS & DETAIL302DISPATCHPRODUCTION UNITS303DOCUMENTSDOCUMENT CONTROL304QUALITYMANAGEMENT307PROCESSMANAGEMENT & ALARMS308MAINTENANCEMANAGEMENT309GENEALOGYTRACKING & TRACE310DATACOLLECTION305LABORMANAGEMENT306PERFORMANCEANALYSIS311CORRIDORNOTES:1. ROOMS 301–311 ARE MESA'S ELEVEN FUNCTIONS OF AN M.E.S.2. EVERY ROOM OPENS ON THE SAME VOID OVER THE PRODUCTION FLOOR: ONE RECORD OF WHAT HAPPENED, READ BY ALL ELEVEN.3. NO ROOM KEEPS ITS OWN COPY OF THE FLOOR.4. FOR THE FLOOR BELOW SEE MES-2.— THIRD FLOOR PLAN —OPERATIONS · SCALE 1/16" = 1 FOOTNREVISIONSCHETANCONIKEE.COMNOTES ON AGENT FACTORIES — SUNNYVALE, CAL.SUBJECT:THIRD FLOOR PLANFOR A PLANT BUILT TO THE M.E.S. STANDARDDRAWN C.C. TRACED C.C. CHECKED —DATE 11-26-26 SCALE AS NOTEDMES-3
Sheet MES-3. The operations floor. Rooms 301 to 311 are the eleven functions, all opening onto one view of the floor below. Open full size.
  1. Resource allocation and status: what is free, and in what state.
  2. Operations and detailed scheduling: the order of work against capacity.
  3. Dispatching production units: sending each job to a station.
  4. Document control: the right instructions, by version.
  5. Data collection and acquisition: recording what happened, as it happens.
  6. Labor management: who did what, and for how long.
  7. Quality management: checking parts at every station.
  8. Process management: watching the line and raising alarms.
  9. Maintenance management: keeping machines fit to run.
  10. Product tracking and genealogy: tracing each unit to its causes.
  11. 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:

ABCDEF123420'-0"20'-0"20'-0"20'-0"20'-0"100'-0"TRUCKDOCKRECEIVING101LOT 4471LOT 4472LOT 4480DISPATCHOPERATIONS OFFICE105RECORDSLOGS & TRAVELERS106UPS1CUTS2FORMS3ASSEMBLES4INSPECTSHIPPING110#0391TRACE LINE · UNIT #0391 ← S4 ← S3 ← S2 ← S1 ← LOTS 4471, 4472, 4480RAIL SIDINGMATERIAL INAMES-1AMES-1NPRODUCTION100ANDON CORD & LAMP12QUALITY GATE AFTER EACH STA., TYP.34KAIZEN · LESSONS FLOW BACK TO S15HISTORIAN6DOWNTIME LOG7O.E.E.8RED-LINE REVISIONS · PRACTICES:1ANDON CORD OVER THE LINE. FIRST PULLCALLS HELP; UNFIXED, THE LINE STOPS.2POKA-YOKE FIXTURE AT S3: THE WRONGPART CANNOT FIT.3QUALITY GATE AFTER EACH STATION.BAD PARTS CAUGHT WHERE MADE.4S.P.C. CHART AT INSPECTION: DRIFTSHOWS BEFORE PARTS FAIL.5KAIZEN: SMALL IMPROVEMENTS, MEASURED,CARRIED BACK UP THE LINE.6RM. 106 BECOMES THE HISTORIAN:EVERY READING KEPT.7DOWNTIME LOG AT DISPATCH: EVERYSTOP RECORDED WITH ITS REASON.8O.E.E. BOARD AT SHIPPING: AVAILABILITY,PERFORMANCE, QUALITY.— FIRST FLOOR · REVISED —PRACTICES ADDED · SCALE 1/16" = 1 FOOTREVISIONS1ANDON2POKA-YOKE3QUALITY GATES4S.P.C.5SEE SCHEDULE: 5–8CHETANCONIKEE.COMNOTES ON AGENT FACTORIES — SUNNYVALE, CAL.SUBJECT:FIRST FLOOR, REVISEDFOR A PLANT BUILT TO THE M.E.S. STANDARDDRAWN C.C. TRACED C.C. CHECKED —DATE 11-26-26 SCALE AS NOTEDMES-4
Sheet MES-4. The production floor again, with the practices added the way changes reach a real print: in red pencil. Open full size.
  • 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.