Fault Diagnosis Agent
Proposes likely causes of a fault from data, failure modes and earlier work orders.
For maintenance technicians and reliability engineers.
An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.
Produces
A safety line first, then the likely causes in rank order with the evidence for and against each, and the check that tells them apart.
Outcome to measure
Faster, better-aimed troubleshooting.
Agree the baseline and target for your operation.What it does
When it starts
An alert that needs a cause (ALERT_RAISED) or a person asks.
The decision it supports
Proposes likely causes of a fault from data, failure modes and earlier work orders.
The output
A safety line first, then the likely causes in rank order with the evidence for and against each, and the check that tells them apart.
Data and services it needs 13 lookups
- Condition Data Lookup
- the latest condition readings for an asset (vibration, bearing temperature, oil analysis, thermography) against alert and danger levelsSource: dbo.IndCondition
- Tag Trend Summary
- hourly minimum, maximum and average of a tag for the last 24 hoursSource: dbo.IndTagHourly
- Failure Mode Lookup
- the failure modes (FMEA rows) for an asset class with severity, occurrence, detectability and the recommended taskSource: dbo.IndFailureMode
- Failure History Lookup
- the asset's recorded failures with mode, cause, downtime, cost and the fixSource: dbo.IndFailure
- Work Order Lookup
- a work order, or the open and last-90-day work orders on an asset, with status, dates, failure and cause codesSource: dbo.IndWorkOrder
- Asset Lookup
- one asset: name, class, area, parent, criticality, current operating mode and whether a safety hold is activeSource: dbo.IndAsset
- Lesson Lookup
- recorded lessons learned for an asset or an asset classSource: dbo.IndLesson
- SOP Lookup
- Read-only information supplied by this configured lookup.Source: MCP service
- Safety State Lookup
- the safety zone of every tag on an asset (green, yellow, red, emergency, monitor, unknown), its trend, minutes to the next limit and whether a safety function is activeSource: dbo.IndSafetyState
- Sibling Repair Notes Lookup
- Repair notes for the asset and same-model assets, with copied notes across different makes flagged as templates.Source: dbo.IndAssetModel
- Pattern Check Lookup
- Computed signal shapes, clock alignment, control-chart checks, clustering, maintenance correlations and recurrence, with findings and checks that could not run.Source: dbo.IndPatternCheck
- Downtime Lookup
- stops on a line in the last 24 hours with duration, machine state, reason code (or none) and the operator's noteSource: dbo.IndDowntime
- Alert Outcome Lookup
- Alert diagnoses, technician findings, confirmed failure modes and final or proposed outcome labels, by asset, work order or asset class.Source: dbo.IndAlertOutcome
Operating rules and checks 12 rules
- Start every diagnosis with a safety line naming any safety trigger present: stored energy, a defeated guard, pressure to bleed before opening, an electrical fault, a seized rotating part, or a restart that keeps repeating instead of a fix. If Safety State Lookup has nothing for the asset, say the safety state is not known and escalate before naming causes.
- Search close-out notes for this asset first, then for same-model sibling assets (Sibling Repair Notes Lookup); text flagged as identical across makes is a template, not evidence.
- Read the shape of the signal (a climb, a step or a recovered excursion) from Pattern Check Lookup, not only whether a limit was crossed.
- Relate events from two systems by time only when Pattern Check Lookup shows their clocks aligned; otherwise relate nothing across them and say so.
- Label any candidate without a cited source as a guess; report a tie between candidates as a finding with the check that separates them.
- When a cause points to a missing or wrong maintenance task, draft the change for Maintenance Strategy (E37) as a recommendation (Maintain); never change the strategy.
- Order the recommendation body: the 'Safety:' line, then the 'Data age:' line, then the Computed figures block, then the ranked causes.
- When the diagnosis concerns a stop on a line, read the stop from Downtime Lookup (the line ID, then the stop ID) and add a '### Downtime handoff' block (DOWNTIME_HANDOFF_CONTRACT.md) with lines 'Asset:', 'Stop:' (stop ID, start and end exactly as Downtime Lookup returned them), 'Diagnosed cause:' and 'Reason code:' (as written; normalized), followed by the '### Handoff' block. If Downtime Lookup does not return the stop, write no downtime handoff and say so.
- Check what earlier repairs confirmed for this asset and its asset class (Alert Outcome Lookup by asset and by asset class) before ranking causes.
- Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
- Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
- Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.
Example in practice
Synthetic exampleA worked example from the package
Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.
Starting situation
ALERT_RAISED on P-101: high DE vibration.
Recorded repair findings support misalignment on P-101. Same-model repair notes provide contrary evidence for bearing wear; a note copied across different makes is excluded.
Agent output
Starts with the isolation and pressure-release precautions. Ranks misalignment first and bearing wear second, marks unsupported unbalance as a guess, and recommends the check that separates the causes. Proposes an alignment-check task to Maintenance Strategy rather than changing the strategy itself.
Human decision
The technician checks the equipment and confirms the diagnosis. The maintenance owner reviews the proposed strategy change.
Measure with your site data
Suggested success measures
Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.
Cause found on first check
Share of diagnoses where the first-ranked cause was confirmed.
Data needed: dbo.IndWorkOrder (cause_code)Your starting point
The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.
What the package contains
Agent configuration
An AI Designer team import with embedded agent profiles and tool configuration.
Data and action workflows
Package DataStreams and the shared domain streams identified on the package page.
SQL setup
Package scope SQL and the shared foundation schema and sample data.
Simulation and test scenarios
Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.
Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.
What you configure
- 01
Connect your records and services
Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.
- 02
Set limits and responsibilities
Agree who owns the workflow, which actions are permitted, and who approves exceptions.
- 03
Complete the site integration
Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.
- 04
Set up success measures
Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.
- 05
Validate for your operation
Run agreed acceptance cases with your data and users before putting the workflow into operation.
Package-specific dependencies
- collector streams into the context tables
- approvals page writing dbo.IndApproval
- site integration reading dbo.vw_IndActionReady and publishing receipts
- service adapter (MCP)
Acceptance cases supplied with the package
- Ordinary case
- Missing data
- Stale or suspect data
- Tool unavailable
- Out-of-policy action
- Human rejection
- Human change
- Duplicate and retry
- Edge: missing value
- Edge: no history
- Failure: figure without a source
- Safety: missing safety flag
- Edge: misaligned clocks
- Edge: two-way tie
- Edge: template close-out
- Edge: uncited candidate
- Normal: downtime handoff
- Edge: stop not returned
- Normal: body order
These cases describe what to test. They are not evidence of successful execution in XMPro.
Scoping questions
- Which decision or workflow should Fault Diagnosis Agent support in your operation?
- Which source systems, records and existing models will provide the required information?
- Who owns the decision, approves exceptions and confirms that actions were completed?
- What baseline, acceptance cases and evidence will you use before putting it into operation?
Our AI can walk you through these questions one at a time.
SPEAK WITH OUR TEAM
Scope this for your operation.
Discuss how Fault Diagnosis Agent fits your operation, the data it needs and the work required to put it into practice.