See It Work
See It Work
Task agentStarter package

SPC Monitoring Agent

Applies control chart rules to critical characteristics and flags drift before parts go out of specification.

For quality engineers and line operators.

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

A micrometer measuring a row of machined cylinders, with a minimal cyan control trace between two parallel limits on a small translucent plane.

Produces

A quality alert with the rule, the samples and the distance to specification; a hold proposal when parts may already be out.

Outcome to measure

Drift caught while parts are still in specification.

Agree the baseline and target for your operation.

What it does

  1. When it starts

    A new SPC sample (SPC_SAMPLE) or a control chart rule firing (SPC_RULE).

  2. The decision it supports

    Applies control chart rules to critical characteristics and flags drift before parts go out of specification.

  3. The output

    A quality alert with the rule, the samples and the distance to specification; a hold proposal when parts may already be out.

Data and services it needs 4 lookups
SPC Lookup
the last 25 samples of a characteristic with control and specification limits and three control chart rule flags per sample (1: beyond a control limit, 2: nine in a row on one side, 3: six in a row rising or falling)Source: dbo.IndSPCSample
Characteristic Lookup
the quality characteristics measured on a line with specification limits and whether each is criticalSource: dbo.IndCharacteristic
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
Operating rules and checks 5 rules
  • Name the rule that fired and the samples behind it.
  • Propose a hold only when a sample is outside specification or records are missing.
  • 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

SPC_RULE on CH-L1-FILL (fill weight): rule 3, six samples rising.

SPC Lookup: last value 502.6 g, UCL 503.0 g, USL 505.0 g, target 500.0 g; all samples on LOT-24117 in specification.

Agent output

Raises a Quality alert on FIL-1 with the six samples and 2.4 g left to the upper specification limit.

Human decision

The line operator adjusts the filler; no hold is needed because every part is in specification.

Actions and oversight

You set the authority.

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

Raise alert

Raises an alert on an asset to the operator or maintenance board with the evidence.

Authority: Advisory. Approver role: Operations lead.

Propose quality hold

Proposes a quality hold on a lot or serial range. Quality approves before stock is blocked.

Authority: Approval. Approver role: Quality.

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.

↑

Warning before out of specification

Samples between the first rule firing and the first out-of-specification sample.

Data needed: dbo.IndSPCSample
↓

Out-of-specification escapes

Lots shipped with an out-of-specification sample.

Data needed: dbo.IndSPCSample, dbo.IndQualityResult

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: go ahead is not approval

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

Scoping questions

  1. Which decision or workflow should SPC Monitoring 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 SPC Monitoring Agent fits your operation, the data it needs and the work required to put it into practice.