Method · Sense · Model · Decide · Act · Learn
The brain is a model: one record of orders, markers, rolls, plies, times, losses and costs, with the rules that connect them. The nerves are connections to people, equipment and existing software. Between them runs a closed loop with five steps, and it does not stop.
See the brain and its nerves on the factory map →Integrate
A cutting room already holds most of the data it needs. It sits in controllers, CAD, ERP, spreadsheets and the memory of the people on the floor. Integration connects each of them to the one record, in both directions: the record learns what happened, and the decision returns to the place where the work is done.
| The record learns | Receives back | How | |
|---|---|---|---|
| Equipment | Plies, lengths, stops, alarms, cut times, loads | Work order, lay plan, cut file | PLC and CNC tags, OPC UA, MQTT; on older machines, through a retrofit |
| People | What only a person sees: a defect, the reason for a stop, a swapped roll | The next task, at the station, in their language | Station screens, barcode scans, a reason entered in two taps instead of a report at the end of the shift |
| Software | Orders, markers, bills of materials, stock | Actual consumption, losses, times | APIs and database links to ERP and CAD; files where no API exists |
One test: does a decision change because of the data? A connection nobody acts on is cost, not integration.
The connections belong to the factory. When a machine or a program is replaced, the record stays.
01
Sense
Capture what happens, where it happens, as it happens.
On a spreading table, every ply has a start, an end, a length and its stops. On a cutter, every lay has a cut path, a speed, the load on knife, vacuum and drives, and every stop with its alarm. Both controllers already know all of it. In most cutting rooms none of it leaves the controller.
SpecificationIn practice · PLC and CNC tags · encoder counts · drive and vacuum currents · OPC UA and MQTT · barcode and RFID · cameras
02
Model
Keep one record that explains what was sensed.
Spreading and cutting are one system. How many lays the spreaders can deliver in an hour, and how many the cutters can take, both follow from the work order: the length of the lay and the number of plies. As the order book changes, the constraint moves from one side to the other.
In practice · event log · relational data model · regression and system identification · discrete-event simulation · line balancing and scheduling
03
Decide
Compare plan with measurement, and choose.
One cutter, 6.6 years, 43 service records. Read in sequence, they show the same gearbox failure returning every 10 to 14 months. Repair parts made up 47% of the service cost. No preventive kit had ever been ordered.
DiagnosisIn practice · constraints and cost functions · scheduling heuristics and genetic algorithms · language models reading unstructured service and quality records
04
Act
Send the decision to the people and equipment that carry it out.
A bill of materials with 323 lines was compared with the engineering model before purchasing began. 225 lines matched. 16 had conflicting quantities, and they were corrected before an order was placed.
Found before purchaseIn practice · work orders on the operator screen · cut files and splice marks · APIs to ERP and CAD · alerts to the person who can act
05
Learn
Check the result. Correct the model.
The marker reports 88.0% efficiency. The cutting room delivers 83.5% of the fabric as parts. The difference is not one loss but several: ends, splices, edges, roll remnants. Tracked per lay, each becomes a number that someone owns.
Worked examplefollow this lay →In practice · residuals and re-calibration · held-out tests · AI agents that propose a change, test it against the record and report the result
What is measured can be modelled. What is modelled can be tested. What is tested can be improved.
Why measure first
Take end loss, the fabric left beyond the marker at each end of every ply. Three factories report the same figure and each is told the same remedy.
One name, three causes, three different investments. A remedy chosen from the name alone will be right for one of them. This is why I measure before I recommend, and why a system that fits one factory cannot simply be bought for the next.
See where the fabric goes: one lay, step by step →Where AI sits in the loop
AI does not replace the loop. It works inside it: it reads what people wrote, compares plan with measurement, writes and tests small programs, and reports. The control loops on the machines stay deterministic, and judgement stays with people.
A language model given a task and a set of tools, working step by step until the task is done or it has to ask.
What the agent may use, and nothing else: read the record, query the ERP with a read-only login, run the simulation, draft a report.
The frame around the agent: which tools and data it gets, a log of every action, tests that must pass, and who approves before anything is written. This is the part the factory owns.
When the agent runs: on a schedule, or when something happens. A lay finished, a service record closed, a delivery late.
The same loop runs for every room that keeps a record. It reads what happened, compares it with what was expected, and reports only what moved.
| Room | What it reads | Compared with |
|---|---|---|
| Fabric inspection | Width, length and defects per roll | The supplier's ticket, and the width the marker was made for |
| Spreading | Time, fabric and losses per ply | The spreading model and the marker length |
| Cutting | Cutting time, stops and blade changes per marker | The cutting time model and the maintenance plan |
| Cut-part inspection | Each part measured against its cut file | The tolerances, and the marker, ply and machine that cut it |
| Planning | Fabric issued and returned per order | The bill of materials and the markers that were planned |
Language models can be rented from a provider or run on a server in the factory. Neither is right by default. It is a decision like any other investment, and it is made with figures.
| Factor | Favours your own hardware | Favours a rented model |
|---|---|---|
| Data | Costs, orders and supplier terms that must not leave the site | Data that is already shared, or not sensitive |
| Task | Routine work: sorting records, extracting fields, reading labels | Hard reasoning, writing code, long documents |
| Volume | High and steady, where fixed hardware cost wins | Low or occasional |
| Connection | Floor use without a reliable connection, answers in under a second | Office use, where a few seconds are fine |
| Upkeep | Someone can maintain the server and the model versions | No capacity for it in-house |
The same evaluation set, real tasks from your factory with known answers, runs on both. Accuracy, cost per month, response time and where the data goes are compared side by side. The answer is often a mix: your own hardware for routine or sensitive work, a rented model for the hard problems. Because the harness is yours, the split can change task by task without rebuilding anything.
In practice · tool calling · MCP servers · read-only database roles · scheduled and event-triggered agents · evaluation sets · open-weight models on local hardware · audit logs
The diagnosis and the bill-of-materials check on this page were found this way: agents with read-only access to the business systems, working inside a harness, every finding checked by a person before it was used.
The sample model uses typical values. Yours would use your equipment, materials and order book.