Ziya Kılıç

Method · Sense · Model · Decide · Act · Learn

A brain for the factory, and nerves to reach it.

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 →
Where AI sits in the loop ↓

Integrate

Nothing joins the loop until it is connected.

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 learnsReceives backHow
EquipmentPlies, lengths, stops, alarms, cut times, loadsWork order, lay plan, cut filePLC and CNC tags, OPC UA, MQTT; on older machines, through a retrofit
PeopleWhat only a person sees: a defect, the reason for a stop, a swapped rollThe next task, at the station, in their languageStation screens, barcode scans, a reason entered in two taps instead of a report at the end of the shift
SoftwareOrders, markers, bills of materials, stockActual consumption, losses, timesAPIs 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.

Specification

In 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.

Sample modelSpreading uses a measured relationship: 11.6 s per ply plus 2.13 s per metre (2,500+ plies; calibration fit, RMSE 0.52 s, not yet tested on held-out data). Cutting, roll change and handling use typical values. In a real case every figure comes from your own equipment, materials and order book, and the model adds what this sample leaves out: table lengths, ply height limits, shifts, sequence and waiting.

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.

Diagnosis

In 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 purchase

In 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

The problem travels under one name. Its causes rarely leave home.

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.

The materialIt relaxes after spreading, so the allowance has to be generous.
The order bookShort markers, so two ends are shared by very few parts.
The equipmentThe cut at the end of the ply is not repeatable, so operators add a margin.

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

Own the harness. Rent or run the model.

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.

Agent

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.

Tools

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.

Harness

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.

Loop

When the agent runs: on a schedule, or when something happens. A lay finished, a service record closed, a delivery late.

What it does

  • Turns service notes, quality reports and emails into data
  • Compares plan with measurement and flags drift
  • Writes and tests small programs, checks and reports
  • Proposes a change, with the evidence behind it

What it does not do

  • Close a control loop on a machine
  • Touch a safety function
  • Write to a production system without approval
  • Decide an investment

One loop, every night

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.

  1. ReadYesterday's events from every connected room: rolls inspected, plies spread, markers cut, parts checked.
  2. CompareWhat happened against what was planned or modelled, by machine, material and shift.
  3. FlagDrift beyond the tolerance the person responsible for that room has set.
  4. ProposeA recalibrated model or a corrected master value, with the data that justifies it.
  5. TestOn a held-out week the model has not seen. Pass or fail.
  6. ReportTo the person who approves. Nothing changes until they do.
RoomWhat it readsCompared with
Fabric inspectionWidth, length and defects per rollThe supplier's ticket, and the width the marker was made for
SpreadingTime, fabric and losses per plyThe spreading model and the marker length
CuttingCutting time, stops and blade changes per markerThe cutting time model and the maintenance plan
Cut-part inspectionEach part measured against its cut fileThe tolerances, and the marker, ply and machine that cut it
PlanningFabric issued and returned per orderThe bill of materials and the markers that were planned
Specification

Rent the model, or run it on your own hardware

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.

FactorFavours your own hardwareFavours a rented model
DataCosts, orders and supplier terms that must not leave the siteData that is already shared, or not sensitive
TaskRoutine work: sorting records, extracting fields, reading labelsHard reasoning, writing code, long documents
VolumeHigh and steady, where fixed hardware cost winsLow or occasional
ConnectionFloor use without a reliable connection, answers in under a secondOffice use, where a few seconds are fine
UpkeepSomeone can maintain the server and the model versionsNo 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.