Demand forecasts with error bars, and the agents that act on them

A point forecast hides the one thing a planner needs to know. We build probabilistic forecasting, inventory policy, exception agents and vision QC on top of the ERP you already run.

ext-imp Research · 10 Oct 2026 · 8 min · Pillar 04

Operations is where small errors compound. A forecast that runs high becomes excess stock, then a markdown or a write-off, then a working capital problem the CFO raises in a meeting the planner is not invited to. A forecast that runs low becomes expedited freight, a missed order and a customer who tries a competitor. Most companies still plan from a single-number forecast in a spreadsheet that one planner fully understands.

New ventures face the problem before they have a single sale. A supplier wants a minimum order quantity commitment, a contract manufacturer wants a production slot, and the only demand data is a pre-order list and a hunch. Established businesses have the opposite issue: decades of transactions in the ERP, master data that nobody trusts, and planners who override the system's forecast as a matter of habit because it has burned them before.

What breaks today

  • Point forecasts hide uncertainty. A forecast of 1,200 units says nothing about whether 900 or 1,600 is plausible. Safety stock then gets set by a rule of thumb, often the same number of weeks' cover across every SKU.
  • Overrides are invisible. Planners adjust forecasts constantly. Almost nobody measures whether those adjustments make the forecast better or worse.
  • Exceptions live in inboxes. A supplier delay arrives as a PDF attachment. Someone reads it, updates a spreadsheet, and hopes the right people saw it.
  • Quality inspection samples. Manual checks on a fraction of output catch defects late, sometimes after the batch has shipped.
  • Master data rots. Lead times, pack sizes and units of measure drift out of date, and every downstream calculation inherits the error.

How we solve it

Probabilistic forecasting. We build forecasts that output quantiles, not single numbers: a P10, P50 and P90 for each SKU at each location and week. For most portfolios that means a global gradient-boosted model trained across all series, with features for price, promotions, seasonality, holidays, weather where it matters, and leading indicators such as open quotes or web traffic. Intermittent demand, common in spare parts, gets dedicated methods built for long runs of zeros. New products borrow strength from similar existing ones through attribute similarity. Forecasts are reconciled across the product and location hierarchy so that the sum of the parts matches the whole.

Inventory policy from service levels. Once you have a distribution, safety stock stops being a guess. You choose a target service level per segment (high for the A-items customers notice, lower for the long tail) and the policy engine converts quantiles into reorder points and order quantities. Where a network has central and regional stock, we optimise across echelons rather than one site at a time.

Forecast value added. Every planner override is logged with a reason code and scored against what actually happened. Within a few months you know which kinds of override help, which hurt, and which planners have knowledge the model lacks. That knowledge becomes features. Overrides that consistently hurt get flagged, gently.

Exception agents. An agent in the Agent runtime reads supplier emails, advance shipping notices and portal updates, extracts the change (a delay, a short shipment, a substitution), checks the impact against open orders and projected stock, and proposes a response: re-plan, expedite, reallocate or accept. A planner approves or edits. The agent then updates the ERP through the Connectors layer and records the decision.

Vision QC. Cameras on the line feed a defect detection model trained on images your QC team has labelled. Where real defect examples are scarce, we start with anomaly detection trained on good parts and add supervised classes as labelled defects accumulate. Models run at the edge for latency. Borderline cases go to a human inspector, whose decisions become new training data.

Throughout, humans hold the authority. No purchase order above an agreed value is released without approval, and the line never stops on a model decision alone.

The architecture

The Connectors layer reads orders, stock positions, purchase orders and bill-of-materials data from the ERP, production data from the MES, and supplier communications from shared inboxes and portals. The Data fabric cleans and stores that history with engineered features. Forecast and policy models run on a schedule. Exception agents and line vision run continuously. Planners work from a single console where every recommendation shows its reasoning and its data.

01
ERP + MES + suppliersOrders, stock, lead times
02
Data fabricCleaned history and features
03
Forecast modelsQuantiles by SKU and site
04
Inventory policyService level to reorder point
05
Exception agentsDelays, shortages, re-plans
06
Line visionDefect detection at the edge
07
Planner consoleApprove, override, log

Before any of this goes live, we back-test. The forecast models are run as if it were each week of the past twelve to twenty-four months, with only the data available at the time, and compared with what the existing process produced. If the new approach does not beat the old one on your data, we say so before you pay for anything beyond Diagnose.

Extend vs implement

Extend (existing operation) Implement (new venture)
Data Years of ERP history, messy master data Pre-orders, analogues, market data
First task Master data clean-up and back-test Choose systems that expose clean APIs
Forecasting Global model across the catalogue Analogue-based priors, updated weekly
Inventory Re-segment and reset safety stock Size MOQ commitments against a range
QC Retrofit cameras to existing lines Design inspection into the line

For a new venture, the most valuable output is often the first purchase commitment. A distribution over launch demand lets founders negotiate minimum order quantities and staged production slots with real numbers instead of a single optimistic estimate.

The outcome we get paid on

The headline metric is usually inventory value at target service level: we reduce the stock you carry while holding or improving fill rate. Secondary metrics include forecast accuracy and bias (weighted absolute percentage error and mean signed error at the planning horizon), expedite spend, and for QC, escaped defects reaching customers and first-pass yield.

Diagnose takes two to three weeks. We measure current stock, fill rate by segment and expedite spend, and we run the back-test described above. QC baselines come from your existing inspection and returns records.

A target we often agree is a 10–20% reduction in safety stock value with fill rate held at or above baseline. Guardrails: a fill-rate floor per segment that, if breached, pauses the policy change and reverts to the previous parameters; approval thresholds on order value; and for vision QC, a maximum false-reject rate so the model never becomes the reason good parts get scrapped.

A composite example

A composite of engagements in German manufacturing, not one company. Picture a family-owned maker of industrial components with several thousand active SKUs, a large spare-parts tail with intermittent demand, and an ERP installed over fifteen years ago.

Diagnose found that lead times in the master data were wrong for a meaningful share of purchased parts, so reorder points had been wrong for years. Planners had compensated with manual buffers. We fixed the master data first, with an agent that compared recorded lead times with actual receipt history and queued corrections for a buyer to approve.

The forecasting model handled the spare-parts tail with intermittent-demand methods and the core range with a global model. Safety stock was re-segmented by customer criticality. For QC, cameras inspected machined surfaces for scratches and porosity. Because cameras on a shop floor raise legitimate concerns, the installation was agreed with the works council in advance: fixed field of view on parts only, no images of people retained. Inspectors reviewed borderline calls, and their decisions retrained the model monthly.

If your planners trust their spreadsheet more than your system, there is usually a good reason, and it can be fixed. Talk to ext-imp about a back-test on your own data.

Keep reading
Start here

Let’s put a meter on it.

A 30-minute call. We pick one metric, sketch the agents that would move it, and tell you honestly whether an outcome contract makes sense.