See It Work
See It Work
Task agentStarter package

Causal Inventory Agent

Uses causal analytics to tell demand-driven shortages from supply-driven ones before proposing a reorder point, safety stock or lead time change, so the change targets the actual cause.

For inventory planners.

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

An inventory shelf with a shortage space fed by two distinct evidence paths from customer demand and supplier delivery, separating the causal sources.

Produces

Inventory recommendations supported by the causes of stockouts and current planning parameters.

Outcome to measure

Shortages by main cause

Agree the baseline and target for your operation.

What it does

  1. When it starts

    An item stocked out at a site. The causal engine finished a run for a stockout.

  2. The decision it supports

    Uses causal analytics to tell demand-driven shortages from supply-driven ones before proposing a reorder point, safety stock or lead time change, so the change targets the actual cause.

  3. The output

    Inventory recommendations supported by the causes of stockouts and current planning parameters.

Data and services it needs 5 lookups
Causal Investigation
Read-only information supplied by this configured lookup.Source: dbo.SCCausalRun
Inventory Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCInventory
Demand History Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCDemandHistory
Planning Parameter Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCPlanningParameter
Supplier Item Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCSupplierItem
Operating rules and checks 10 rules
  • Planners approve every parameter change
  • Supplier causes go to the buyer
  • Every proposal cites the causal run
  • Must cite the causal run ID and timestamp in every proposal
  • Must propose a change that addresses the main cause
  • Must escalate supplier-driven shortages to the buyer
  • Must never change a parameter directly
  • 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

SKU-7421 stocked out at DC-1.

Causal Investigation: supply delay 70%, demand 30%.

Agent output

propose-planning-change on lead time rather than safety stock.

Human decision

The planner approves.

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.

Propose planning change

Proposes a change to one planning parameter for one item at one site. A planner approves before it changes.

Approver role: Planner.

Escalate to person

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

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.

↔

Shortages by main cause

Shortages grouped by their main cause: demand, supplier lead time, batching, parameters.

Data needed: dbo.SCCausalRun and dbo.SCCausalCause from the causal engine
↓

Repeat shortages after a change

Share of items short again within 90 days of an approved change.

Data needed: dbo.SCInventory snapshot history and dbo.SCApproval
↑

Proposals approved

Share of cause-matched parameter proposals the planner approved.

Data needed: included: action pipeline tables (dbo.SCAuditLog, dbo.SCApproval, dbo.SCActionRequest)
↔

Supplier causes sent to the buyer

Shortages with a supplier as main cause that went to the buyer instead of extra stock.

Data needed: included: action pipeline tables (dbo.SCAuditLog, dbo.SCApproval, dbo.SCActionRequest)

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

    Shared domain SQL 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 staging tables
  • site integration (vw_SCActionReady and Stream 17 receipts)
  • approvals page writing dbo.SCApproval
  • service adapter sc_causal
Acceptance cases supplied with the package
  • Ordinary case (the worked example)
  • A tool returns nothing for a fact the decision needs
  • A tool stream is stopped
  • An action with a missing parameter or unknown ID
  • A person rejects the approval card
  • A person approves with changed values
  • The same action id is published twice
  • Edge: missing value: A figure the output needs comes back empty (null) from its tool
  • Edge: no history: A history search the output relies on returns no records
  • Failure: go ahead is not approval: After an approval card is shown, a person writes 'go ahead' in chat about a changed version (a different value)

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

Scoping questions

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