Repair Outcome Learning Agent


Labels the outcome of each alert that led to work once its close-out is complete, measures alert precision and diagnosis agreement, and returns the results to the agents and models that raised and diagnosed the alert.

What it does

Labels the outcome of each alert that led to work once its close-out is complete, measures alert precision and diagnosis agreement, and returns the results to the agents and models that raised and diagnosed the alert.

Used by: Reliability engineers, maintenance planners, condition monitoring analysts and model owners.

Trigger: A work order that came from an alert is completed (WO_COMPLETED), or the weekly outcome review for an asset class is due (OUTCOME_REVIEW).

Output: An outcome label per alert returned to the source, precision and no-fault-found rates per asset class, failure mode and detection source, and proposals to change alert rules or retrain a model, for approval.

Item Value
Catalog ID E40
Domain Industrial
Area Maintenance
Kind agent
Role Creator (produces something a person reviews before use)
Highest authority Approval

Tools it uses

Served by Data Streams: lookups, and the actions it submits when you ask for them in chat:

  • Alert Outcome Lookup
  • Work Order Lookup
  • Condition Data Lookup
  • Event Lookup
  • Prediction Lookup
  • Failure Mode Lookup
  • Model Validity Lookup
  • Asset Lookup
  • Record Alert Outcome
  • Publish Report
  • Propose Alert Rule Change
  • Request Model Retraining
  • Escalate To Person

How to import

The import guide has every step in full, tested on XMPro 5.1 with MAGS Agent 2.5. In short:

  1. In Data Stream Designer, create the SQL and MQTT variables the streams use (the guide lists them).
  2. Run the scripts in 00_Industrial_Foundation/sql in a database named Masterdata, in file order (tables, demo data, SOPs, Submit Action).
  3. Import the shared Data Streams and then this package’s (the .xuc files, using the import password on this page) and publish them.
  4. In AI Designer, Teams, Import, choose team.json, then Overwrite All, Import and Save.
  5. Add a MAGS agent stream for each agent: the MAGS Agent block with the team ID, agent ID, client ID and name set to this team’s agent.
  6. Ask the agent a question in chat. The agents ship on OpenAI gpt-5.4; changing the model is a per-agent setting.

Status: Starter package. Template files and a synthetic worked example are supplied. Customer configuration and validation are required.

MIT License For assistance or requests, please contact support@xmpro.com