See It Work
See It Work
Task agentStarter package

OEE Loss Agent

Calculates availability, performance and quality losses by line and shift, ranks the top losses and raises improvement actions.

For production managers and continuous improvement leads.

An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.

A silver production conveyor with one idle station, one running station and an inspection tray, beside three simple unlabeled analytical columns showing different loss contributions.

Produces

The largest losses for the shift ranked by minutes and by number of stops, each with its source, and a recommendation on the largest; in the scheduled run, one provisional OEE loss report per line and shift.

Outcome to measure

Improvement effort aimed at the losses that cost the most.

Agree the baseline and target for your operation.

What it does

  1. When it starts

    Each shift's OEE figures (OEE_SHIFT), including the scheduled run after each shift.

  2. The decision it supports

    Calculates availability, performance and quality losses by line and shift, ranks the top losses and raises improvement actions.

  3. The output

    The largest losses for the shift ranked by minutes and by number of stops, each with its source, and a recommendation on the largest; in the scheduled run, one provisional OEE loss report per line and shift.

Data and services it needs 8 lookups
OEE Lookup
availability, performance, quality and OEE by shift for a line for the last 7 daysSource: dbo.IndProductionHour
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
Production Lookup
planned and actual output, good output and run time by hour for a line for the current and previous shiftSource: dbo.IndProductionHour
Quality Lookup
inspection results for a lot or a production order with pass or fail and defect classSource: dbo.IndQualityResult
Production Order Lookup
a production order, or the released and running orders on a line, with quantity done and due timeSource: dbo.IndProductionOrder
Downtime Ranking Lookup
Stops ranked by minutes and by frequency, with planned stops, Other and uncoded stops identified separately.Source: dbo.IndDowntime
Source Freshness Lookup
When each source last arrived, its expected interval and whether it is current, late, missing or of unknown freshness.Source: dbo.IndSourceFeed
Action Status Lookup
An action’s status and body, recent actions for an agent, or all requests with an exact report key, including older requests.Source: dbo.IndActionRequest
Operating rules and checks 9 rules
  • Report availability, performance and quality as three separate figures from OEE Lookup; when one is missing, say so and give no OEE; never take a missing component as 100%.
  • Rank downtime losses by minutes and by number of stops (Downtime Ranking Lookup), both; report Other and uncoded stops outside the ranking with their share of unplanned stop minutes.
  • Price a loss only with a named rate source; with none, write 'value unknown', never $0.
  • Order the output body: 'Provisional (unattended run)' in an unattended run, then the 'Safety:' line (or 'Safety: not in scope of this agent'), then the 'Data age:' line (Source Freshness Lookup), then the Computed figures block, then actions; include a 'Checked, nothing wrong' block.
  • Quote every figure as its tool returned it: availability, performance and quality with their minutes and quantities from OEE Lookup, and each loss's minutes, stops and share of unplanned stop minutes from Downtime Ranking Lookup; planned stops, unplanned stops and Other are kept apart, and no share of lost minutes is worked out in the prompt.
  • In an unattended run ask nothing, show missing sources as gaps, and publish one provisional report per line and shift with publish-report (report type 'OEE loss', scope the line, period the shift exactly as the trigger event names it), with no recommendation; first ask Action Status Lookup for the report key 'publish-report|OEE loss|<line>|<shift>' and publish nothing if it returns a request in any status other than REFUSED, however old.
  • 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 example

A worked example from the package

Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.

Starting situation

OEE_SHIFT for L1: the shift before last.

OEE and Downtime Ranking Lookup provide the components and losses. Filler jams lead by minutes; starved infeed leads by number of stops. Label-skew rejects lead the quality loss.

Agent output

Recommends investigating filler jams, showing both rankings. Keeps planned changeover outside unplanned loss rankings, flags Other as a coding gap and reports loss value as unknown because no rate source is available.

Human decision

The production manager assigns the jam investigation in the morning meeting.

Actions and oversight

You set the authority.

The catalogue lists advisory as the highest supported authority for this offering. You configure actual permissions, limits and approval owners. Individual actions can have different requirements.

Record recommendation

Records a recommendation for a person to act on, as a card with the evidence. Changes nothing else.

Authority: Advisory. Approver role: Operations lead.

Publish report

Publishes a report or handover to the agreed channel (shift log, portal, mail).

Authority: Advisory. Approver role: Operations lead.

Escalate to person

Nothing changes in any system. Raises the situation and the agent's reasoning to the responsible person as a card.

Authority: Advisory. Approver role: Operations lead.

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.

↑

OEE

OEE by line and shift.

Data needed: dbo.IndProductionHour, dbo.IndDowntime
↓

Minutes in the top loss

Minutes lost to the largest loss category per shift.

Data needed: dbo.IndDowntime

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

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

  2. 02

    Set limits and responsibilities

    Agree who owns the workflow, which actions are permitted, and who approves exceptions.

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

  4. 04

    Set up success measures

    Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.

  5. 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
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
  • Edge: missing export
  • Edge: missing component
  • Edge: other-heavy reason codes
  • Edge: unattended run
  • Edge: unknown interval
  • Edge: new period with the same headline
  • Normal: figures as returned

These cases describe what to test. They are not evidence of successful execution in XMPro.

Scoping questions

  1. Which decision or workflow should OEE Loss Agent support in your operation?
  2. Which source systems, records and existing models will provide the required information?
  3. Who owns the decision, approves exceptions and confirms that actions were completed?
  4. 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 OEE Loss Agent fits your operation, the data it needs and the work required to put it into practice.