Manufacturing AI agent · Downtime
Downtime Root-Cause Analysis AI Agent
Reconcile stop signals with operator reason codes, group recurring stops, assemble the evidence around an event and propose candidate factors — an engineer establishes the cause and owns the countermeasure.
- Typical delivery
- 4–6 weeks
- Deployment
- Your stack
- Cause decision
- Never the agent
- After launch
- Agent Care
What this agent does
Assembles the evidence, does not name the cause
In
- 01
Take stop signals from the historian, PLC tags or MES alongside the reason code and notes the shift entered.
- 02
Pull what surrounded the stop — alarms, process values, changeover, shift, material lot and the last intervention.
Reason
- 03
Reconcile the recorded stop against the signal — start, end, duration, asset — and mark where the two disagree.
- 04
Trace a stop that cascaded down the line back to where it started, and mark blocked and starved time as such.
- 05
Group stops that behave like the same failure, and hold apart the ones that only share a reason code.
Decide
- 06
Propose candidate contributing factors, each with the evidence under it and what would rule it out.
- 07
Flag events too thin to investigate, and estimate the stopped time that never reached the record at all.
Out
- 08
Present the event, its group and the candidate factors for an engineer to accept, reject or send back.
- 09
Track whether a countermeasure held at 30 and 90 days, and reopen the group when the stops return.
Product statement
The agent assembles and proposes. An engineer or a team establishes the cause, decides the countermeasure and owns whether it worked.
Example workflow
One stop, end to end
- 1Stop detectedHistorian, PLC tag, MES downtime record or the line's own counter
- 2Record reconciledSignal start, end, duration and asset against the reason code and notes the shift entered
- 3Event groupedMatched to an existing recurring-stop group, or opened as one of its own
- 4Evidence assembledAlarms, process values, changeover, shift, material lot and the intervention before it
No human action required
Stages 1 to 4 run without a person in the loop — reconciliation, grouping and evidence assembly finish before anyone is asked to read anything. An event that will not reconcile ends that stretch early.
Reaches the engineer as a proposed factor set.
Goes to a person with the gaps named, and no factors.
Reliability or CI engineer
Reads the event, its group and the evidence under each proposed factor, then decides what the cause was and what to do about it.
Accept factor · Reject · Request more evidence
Cause agreed — handed back
- 6Findings filedWritten to the downtime record only where write access and policy allow; the cause field stays empty
- 7Outcome evaluatedReason-code accuracy, engineer agreement, cascade attribution and what the countermeasure did at 90 days
Rejections
Factors the engineer rejects are counted in the evaluation.
What should not run autonomously
Human approval stays in control
Outside the boundary — human approval required
8 items
- Declaring the cause of a downtime event.
- Approving or scheduling a countermeasure.
- Deciding that a countermeasure worked.
- Naming an operator, crew or shift as the cause.
Automation boundary
Agent acts unaided
- ✓Reconcile stop signals against reason codes and mark the disagreements.
- ✓Group recurring stops, and hold apart the ones that only look alike.
- ✓Assemble the alarms, process values, changeover, lot and shift context around an event.
- ✓Propose candidate factors with the evidence for each, and flag records too thin to work.
Write actions run only inside the approval boundaries agreed during implementation. The cause field is not one of them.
- Overwriting a reason code the shift entered.
- Re-attributing downtime between assets in the record.
- Changing the reason-code taxonomy or capture thresholds.
- Raising, changing or closing a maintenance work order.
Example output
One stop, annotated
Everything the agent proposes stays attached to the event and the signals it was assembled from.
Downtime output · single stop event
Illustrative example- Stop signal
- Filler 2 stopped for 14 min 20 s
- Reason code entered
- Changeover, keyed at shift end
- Next asset
- Starved 11 min
- Candidate factor
- Cap-feed jam, not changeover
- Confidence
- 78%
- Cause
- Not established by the agent
As received
The signal, the code the shift keyed and what the next asset did — as recorded, contradictions included.
Evidence used
- Alarm three minutes before
- No recipe change logged
- Nine like stops in 30 days
Why this factor is proposed
No recipe change was logged; one alarm precedes nine stops. Correlation, not cause.
What the score decides
Confidence decides how much evidence an engineer should demand, not who is at fault.
Action
Accept factorRejectRequest more evidenceValue
Where AI adds value
The same four claims, placed at the point in the workflow where each one applies.
Where the value lands
Value 01 – 04
Every recorded stop
Historian, PLC, MES or the line counter
Apply the plant's own taxonomy
Use the client's reason-code list, asset hierarchy, line topology, shift pattern and changeover records.
Hand the engineer an assembled event
Alarms, process values, lot and changeover context arrive gathered against the stop, so an investigation starts from a record rather than from a query.
Show which stops share a pattern
Recurring stops are grouped and the thin or contradictory records are separated out, so the meeting argues about evidence instead of about the data.
Build an evidence trail
Retain the signal, the entered code, the reconciliation, the sources read, the proposed factors, the engineer's decision and the 30- and 90-day check.
Integrations
Typical integrations
Five system groups connect to the same agent. Which of them are in scope is decided in discovery.
Machine & process data
- PLC and SCADA tags
- historian
- OPC UA
- Alarm and event logs
- edge collectors
MES & downtime capture
- Siemens Opcenter
- Rockwell FactoryTalk
- In-house MES
- operator terminals
Maintenance & work orders
- SAP PM
- IBM Maximo
- Fiix and Limble
- work-order history
Agent
Downtime root-cause analysis
- Reconciles the stop
- Assembles the evidence
- Proposes candidate factors
Production context
- Shift calendars
- changeover records
- Lot genealogy
- material receipts
Observability & evaluation
- OpenTelemetry
- Langfuse
- Supported monitoring/evaluation sources
Integration availability depends on the client's existing systems and API access.
Agent controls
Six layers between the model and the downtime record
Each control wraps the one inside it. An event clears every layer before an engineer reads it, and the cause sits outside all six.
L6 · Outermost — last line of defence
Inward → L1 · closest to the model
- L1 – L2
- Decide whether an event can be investigated
- L3
- Keeps people out of the factor list
- L4 – L5
- Keep the cause with a person and the trail intact
- L6
- Pulls automation back when signals degrade
How Nestack evaluates it
Evaluate the whole investigation — not only the factor that was accepted.
Coverage runs the whole depth of the workflow, and every layer is cut by slice.
Surface — the event record the engineer opens
- E1Final-output evaluationWhich proposed factors did the engineer accept, and which were rejected?
- E2Reconciliation accuracyDid duration, asset and reason code match a sample a person reviewed?
- E3Grouping evaluationWere separate failures merged, or one failure split across groups?
- E4Unrecorded-stop estimationHow much stopped time never reached the record at all?
- E5Slice evaluationHow does accuracy change across lines, shifts and stop lengths?
- E6Business outcomeDid the countermeasure still hold at 30 and at 90 days?
Floor — the countermeasure that had to hold
Failure modes
Where each failure originates in the agent
Seven failure modes plotted against the five stages of the agent lifecycle.
Agent lifecycle
Direction of processing →
01 · Capture
2 modes
- DT-01
Reason code keyed by default
One code is batched across a shift's stops at the end of it.
- DT-02
Micro-stops never recorded
Stops under the capture threshold leave no event to investigate.
Stage gathers
Stop signals, reason codes, alarms and shift notes
02 · Reconciliation
1 mode
- DT-03
Cascade hits the wrong asset
A starved downstream machine is logged as the failure.
Stage matches
Signal against entered code, duration and asset
03 · Grouping
1 mode
- DT-04
Different failures merged
One group hides two unrelated stop mechanisms.
Stage clusters
Recurring stops, and the ones that only look alike
04 · Proposal
2 modes
- DT-05
Correlation read as cause
A factor lands firmly enough that the team stops looking.
- DT-06
A factor points at people
Evidence resolves to a crew or a shift rather than a condition.
Stage proposes
Candidate factors and the evidence under each one
05 · Follow-up
1 mode
- DT-07
Countermeasure credited wrongly
The line ran well for unrelated reasons and the group closed.
Stage tracks
Countermeasure durability and version changes
- Sev-1 · cause or blame is overstepped
- Sev-2 · the record misleads the work
- Sev-3 · real loss, absent from the data
Affected slices
The record is worst where the stops are shortest
The stops that get recorded well are the long ones, and they dominate any plant-wide figure. Short stops, night shifts and cascades are where the entered code and the signal disagree. Reported by slice, not in total.
Slice performance — reported separately, not only in aggregate
Illustrative example| Slice | Failure rate | Lift | Lift vs. threshold | Status |
|---|---|---|---|---|
| Stops under two minutes | 7.2% | 3.8× | Review | |
| Night and weekend shifts | 5.5% | 2.9× | Review | |
| Cascaded line stops | 3.7% | 1.9× | Watch | |
| Long stops, single asset | 1.5% | 0.8× | Normal |
Bar: mis-recorded-event rate vs. long-stop baseline · scale 0–4.0× · tick marks the 2.0× review threshold
2 of 4 slices over threshold
Evidence-linked improvement
A rejected factor is worth as much as an accepted one
What an engineer throws out says something the evidence did not. So does a countermeasure that held for a month and then quietly stopped holding.
Improvement cycle · five stages
Switchback — the path turns at Improve and returns at Learn
- 01
Detect
Stops return in a closed group, or reason-code accuracy slips on a reviewed sample.
- 02
Diagnose
Traced to the signal, the entered code, the asset map, the grouping rule or evidence that was never pulled.
- 03
Improve
The reconciliation rule, grouping threshold or evidence set changes under change control, with a named approver.
- 04
Verify
Re-run over stored events from that cohort, including the factors the engineer rejected.
- 05
Learn
The rejected factor becomes a negative case, and the group keeps its 30- and 90-day check.
Learn → Detect
The return edge. A group is closed only after the 90-day check, and when a conclusion is withdrawn the people who acted on it are told.
Typical build scope
Twelve workstreams across six weeks
The build scope read against the delivery timeline. Week structure follows the six-week plan — discovery, signals and taxonomy, reconciliation and grouping, evaluation, review workflow, then production validation and handover.
Workstream
Week 1Week 2Week 3Week 4Week 5Week 6
- 01Workflow discovery and automation boundary.Week 1
- 02Historian, PLC and MES signal assessment.Week 1, Week 2
- 03Asset hierarchy and line-topology mapping.Week 1, Week 2
- 04Reason-code taxonomy review and mapping.Week 2
- 05Stop-signal reconciliation logic.Week 2, Week 3
- 06Cascade and blocked/starved attribution.Week 3
- 07Recurring-stop grouping and thresholds.Week 3, Week 4
- 08Evidence assembly from alarms and context.Week 4
- 09Candidate factors, confidence and rule-outs.Week 4, Week 5
- 10Unrecorded-stop study on the pilot line.Week 5
- 11Engineer review and rejection workflow.Week 5, Week 6
- 12Countermeasure tracking and Agent Care handover.Week 6
12 workstreams · 6 weeks · bar shows the weeks a workstream is active — several run in parallel
Final scope and sequence confirmed in discovery
Engagement tiers
What each tier includes
Rows are the capabilities named in each tier's scope. Higher tiers include everything below them.
| Capability✓ in scope · — not at this tier | PilotOne line, one asset group | ProductionPlant-wide downtime record | AdvancedMulti-line / multi-plant |
|---|---|---|---|
| Introduced at Pilot | |||
| Stop-signal and reason-code reconciliation | ✓ | ✓ | ✓ |
| Recurring-stop grouping | ✓ | ✓ | ✓ |
| Evidence assembly around an event | ✓ | ✓ | ✓ |
| Baseline evaluation | ✓ | ✓ | ✓ |
| Introduced at Production | |||
| Client reason-code taxonomy mapping | — | ✓ | ✓ |
| Candidate factors with evidence and rule-outs | — | ✓ | ✓ |
| Cascade and blocked/starved attribution | — | ✓ | ✓ |
| Engineer review and rejection workflow | — | ✓ | ✓ |
| Observability and evaluation | — | ✓ | ✓ |
| Introduced at Advanced | |||
| Countermeasure durability tracking | — | — | ✓ |
| Multi-plant and enterprise controls | — | — | ✓ |
| Build price | From $5,000 | From $8,000 | Custom quote |
- Final build price
- Confirmed after discovery based on signal sources, asset and line topology, reason-code taxonomy, number of lines and plants, review controls and deployment requirements.
- Separate from build
- Build pricing is separate from recurring Agent Care, which covers managed monitoring, evaluations, incidents and verified improvements after launch.
What we need from you
What you bring, and what we build with it
Each input maps to a piece of build scope and a week in the delivery timeline.
You bring
We build with it
01Your reason-code list and how operators actually key it
→Reason-code taxonomy review and mapping
Week 202Asset hierarchy and how the line is physically connected
→Asset hierarchy, line topology and cascade attribution
Week 103Access to the historian, PLC tags and MES downtime records
→Signal assessment, then stop-signal reconciliation logic
Week 204A sample of events an engineer has already worked through
→Reconciliation baseline and the reviewed-sample comparison
Week 305Investigations that reached the wrong conclusion
→Evaluation suite, regression cases and failure-mode testing
Week 406Where your capture threshold sits and what falls under it
→Unrecorded-stop study on the pilot line
Week 507Named reliability or CI engineers to review events
→Engineer review workflow, then pilot events and production validation
Weeks 5–6
Nothing else is required
Deployment, documentation and Agent Care handover are ours.
Delivery timeline
Four phases across six weeks
Phases are drawn over the weeks they actually occupy. Week 5 carries both the unrecorded-stop study and the first supervised review sessions.
Phase
W1
W2
W3
W4
W5
W6
- DiscoveryW1
- BuildW2 – W3
- EvaluateW4 – W5
- Pilot & LaunchW5 – W6
Week focus
W1Workflow discovery, asset hierarchy and line topology
W2Signal access, reason-code taxonomy and reconciliation logic
W3Cascade attribution and recurring-stop grouping
W4Evidence assembly, candidate factors and failure-mode testing
W5Unrecorded-stop study, supervised review sessions and corrections
W6Engineers work live events, then Agent Care starts
- Reading the band
- The unrecorded-stop study runs in week 5, before anyone builds a Pareto from this data. A chart drawn from an incomplete record is worse than no chart.
- At the end of W6
- Engineers have worked real events from the assembled record alongside their existing process, and the first 30- and 90-day countermeasure checks are already scheduled.
- Duration
- Six-week plan shown · typical delivery 4–6 weeks depending on scope confirmed in discovery.
Next step · Manufacturing AI agent
Build a downtime agent around your own stop records.
Show us how a stop reaches your system today, your reason-code list, and one recurring stop nobody has settled. We'll reconcile a month of your own events against a sample your engineers have already worked, and show you what the record cannot tell you.
- Typical delivery
- 4–6 weeks
- Deployment
- Your MES and historian stack
- Cause decision
- Engineer or team, always
- After launch
- Agent Care available
Nestack Agents · Downtime root-cause analysis
AGT-MFG-09 · Agent Care available after launch
