See It Work
See It Work
Task agentStarter package

Deviation Investigation Agent

Gathers data and drafts the investigation for a batch deviation.

For quality and process engineers.

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

A stainless process vessel, retained sample vial and temperature instrument feeding evidence into an open investigation folio.

Produces

A draft investigation report with the data, likely cause and proposed CAPA.

Outcome to measure

Investigations started with the evidence already gathered.

Agree the baseline and target for your operation.

What it does

  1. When it starts

    A deviation is recorded (DEVIATION).

  2. The decision it supports

    Gathers data and drafts the investigation for a batch deviation.

  3. The output

    A draft investigation report with the data, likely cause and proposed CAPA.

Data and services it needs 5 lookups
Batch Lookup
a batch's recipe, phase, status, deviation score against its golden batch and its record statusSource: dbo.IndBatch
Tag Trend Summary
hourly minimum, maximum and average of a tag for the last 24 hoursSource: dbo.IndTagHourly
Operator Log Lookup
operator log entries for an area for the last 24 hoursSource: dbo.IndOperatorLog
Lab Result Lookup
lab results for a sample point or an inferential tag, with the online value at sample time and the biasSource: dbo.IndLabResult
Event Lookup
the last 50 events recorded for an asset (excursions, stops, trips, mode changes, agent decisions)Source: dbo.IndEvent
Operating rules and checks 3 rules
  • 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

DEVIATION on B-24120: hold time exceeded by 40 min.

Operator Log Lookup: transfer pump P-610 stopped; Event Lookup: P-610 trip at 03:12.

Agent output

Publishes an Investigation draft: cause transfer pump trip; impact assessment from Lab Result Lookup.

Human decision

The quality engineer completes it.

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.

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.

↓

Deviation closure time

Time to close a deviation.

Data needed: dbo.IndBatch

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
  • service adapter
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

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

Scoping questions

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