How is AI used in supply chain management today?
AI in supply chain management means using machine learning to forecast demand and risk, mathematical optimisation to decide inventory, production and routing, computer vision to see what is physically happening in warehouses and yards, and generative AI to read the unstructured documents and messages that link it all together — increasingly wired together by agents that triage disruptions and draft the response. The chain is a series of forecasting, decision and execution problems, each of which calls for genuinely different technology.
That distinction is the point of this article. A great deal of planning software has been rebranded as 'AI-powered' simply on the strength of a chat box, while the engines underneath are still statistical and operations-research methods, improved by better data rather than by language models. A language model applied to a replenishment problem is expensive and worse than the classical answer. A rules engine applied to ten thousand supplier emails a month never finishes. You need to know which is which.
A rule of thumb: numbers in, a decision under constraints out — that's optimisation or classical ML. Language or an image in, structure or judgement out — that's where modern AI models come into their own and earn their cost.
Demand forecasting: from single-point forecasts to probabilistic ones
Most programmes begin with demand forecasting, and rightly so, because every downstream decision consumes the forecast. The real shift over the last few years hasn't been a new architecture: mature teams have stopped asking for a single number and started asking for a distribution.
A point forecast tells you you'll sell 4,000 units next week. It tells you nothing about whether the realistic range is 3,900 to 4,100 or 1,500 to 9,000 — and those two scenarios demand radically different safety stock and customer promises. Probabilistic forecasting produces quantiles instead, which is precisely what inventory policy needs.
- Gradient-boosted trees on engineered features. Still the workhorse for retail and distribution demand: calendar effects, price, promotion flags, weather and lags. Unfashionable, fast and very hard to beat on tabular data.
- Global deep learning models. One network trained across all series rather than one per SKU. Worth the complexity when you have tens of thousands of related items and cold-start products.
- Intermittent-demand methods. Spare parts and slow movers break standard models and need methods built for series that are zero most weeks.
None of this is generative AI. Language models just help at the edges: turning a merchandising plan or a supplier email into structured covariates, and explaining why a forecast has moved.
Inventory optimisation and safety-stock policy
A forecast is not a decision. Inventory optimisation takes the demand distribution, lead-time variability, service targets and cost of capital and turns them into a policy: what to hold, where, when to reorder and how much. That's classical operations research, and it beats experienced judgement because the arithmetic across thousands of SKUs and dozens of locations is beyond intuition.
- Lead-time variability, not lead-time average. Safety stock absorbs variance. A supplier at 30 days plus or minus 2 needs far less safety stock than one averaging 21 days with a two-week tail — and most ERPs hold only a static planned lead time that nobody has looked at in years.
- Service level as an economic choice. A 98% fill rate isn't automatically better than 95%. It's a trade-off between stockout cost and holding cost, and it should vary by product and channel rather than being one global figure.
- Multi-echelon, not per-location. Optimising each warehouse in isolation pushes stock everywhere. Multi-echelon optimisation puts the buffers where they cover the most risk per unit held — generally less at the edge and more pooled upstream.
The deliverable is an auditable reorder policy that runs continuously, not a spreadsheet of quantities that goes stale in a fortnight. And the obstacle is rarely the solver; it's that the item master has duplicate part numbers, the warehouse location hierarchy doesn't match the ERP, and the units of measure differ between purchasing and shipping.
Supplier risk, procurement, and contract intelligence
Supplier risk is the first area where generative AI is clearly the right tool. It's a reading problem: filings, credit reports, news, sanctions lists, port advisories, certifications, audit reports and the supplier's own emails. Almost none of it is structured, and no rules engine is going to cope with it.
A working system ingests those sources continuously, pulls out structured events — an insolvency filing, a factory fire, a certification lapse — and then links each one to the correct legal entity in your vendor master. That last step is harder than it sounds when one supplier appears four times under three different spellings.
- Extraction with citation. Every flagged risk should point to the sentence and source document that produced it. An alert that a category manager can't verify in ten seconds will be ignored by the third week.
- Entity resolution first. The value is in the join, not the reading. Matching news about a parent company to the subsidiary you actually buy from is what turns text into an alert worth acting on.
Contracts and sourcing
Procurement holds the commercial terms for the whole chain, typically as thousands of PDFs behind a spreadsheet index. Contract intelligence extracts the parties, renewal dates, price schedules, volume commitments, penalties and force majeure language into a searchable form. You can then answer which contracts auto-renew in 90 days, which wording covers a port closure, and whether an invoice price matches the schedule agreed in the contract.
Sourcing splits the same way. Spend analysis is analytics on transaction history, which we typically build on BigQuery data analytics. Awarding a tender across a number of bids with volume breaks and capacity limits is constrained optimisation. Reading those bids into a comparable structure is the language problem.
Production planning and warehouse operations
In manufacturing, planning is scheduling under constraints: machine capacity, changeovers, shifts, material availability, due dates. It's a solver problem. The realistic goal isn't a mathematically optimal schedule, but a feasible one that respects the constraints planners hold in their heads, and that can be regenerated in minutes when material turns up late.
ML contributes in specific places: predicting actual cycle and changeover times from execution history, and predictive maintenance that turns unplanned downtime into planned downtime. Generative AI has one narrow role here — reading maintenance logs and shift handover notes, free text written under pressure and never analysed — which is often what makes a maintenance model viable at all.
Seeing what is actually in the warehouse
Warehouses are where AI becomes physical. Robotics handles movement; the software problem is knowing what's actually there, because the gap between system stock and physical stock drives a large share of downstream planning error.
- Cycle counting by vision. Cameras on forklifts, drones or fixed rails read pallet labels and count cases. The value is frequency — continuous partial counts are far better than an annual stocktake that's already out of date by the time it's finished.
- Vision-language models for edge cases. Handwritten labels and damaged barcodes defeat classical detectors. A model that reads a messy placard is a fallback, not the primary counting method.
Model accuracy is the easy half. Lighting, camera placement, network coverage in a steel-racked building, edge latency budgets and a retraining loop for packaging changes are what decide whether it survives the pilot. That's computer vision and MLOps work, and it should be scoped as an operations project with a model in it.
Transport: route optimisation and the freight documents nobody talks about
Routing and load building are the purest optimisation problems in the chain. Vehicle routing with time windows, capacity limits, driver hours and multi-drop sequencing is very well studied, with mature solvers available. ML helps by predicting the inputs — travel times by hour, dwell time per stop — which is where routes fall apart in practice. A plan built on optimistic drive times is just a late delivery with extra steps.
Freight document processing
Then there's the application that returns more per unit of engineering effort than anything else here, and that nobody puts in a keynote: freight paperwork. Bills of lading, packing lists, commercial invoices, customs declarations, carrier invoices — all high-volume, unstructured, and today handled by people reading fields off one screen and typing them into another.
- Modern document AI handles the variability. Template-based extraction failed here for a decade because every forwarder uses a different layout. Vision-capable models read the document as a document, which changed the economics.
- Freight invoice audit pays for itself. Cross-checking the invoice against the rate agreement and the shipment record catches billing errors that manual sampling never sees.
- Customs data must be exact. Tariff codes, values and origin declarations have legal consequences. That calls for confidence thresholds and mandatory review of low-confidence fields, not full automation.
Exception management and control-tower agents
Supply chain work is exception work. The plan is fine; the job is the container that missed the vessel, the supplier confirming only half the quantity, the customs hold. That's where agentic AI is genuinely a new capability rather than just a nicer interface, because the task is triage across systems where the rules were never written down. The last generation of control towers surfaced problems on a dashboard, turning an unknown problem into a queue of known ones. An agent prepares the response instead.
- Detect. The deviation from plan — carrier tracking, supplier messages, warehouse events, a forecast moving outside its band.
- Diagnose. Pull the related purchase order, shipment, contract terms, inventory position and customer commitment together into one picture.
- Assess impact. Which orders are at risk, whether buffer stock covers the gap, and what the options cost — expedite, resource, partial ship, or accept the delay.
- Draft the response. The reroute request, supplier chaser, internal escalation and customer notification, each with its evidence attached.
- Wait for a human on anything that matters. Reversible, low-value actions can run automatically. Anything that spends money or changes a customer commitment goes to a person who can approve or edit it in one click.
Two things decide whether this works. The agent needs real tool access to the ERP, TMS, WMS and messaging systems, with permissions, audit logging and idempotent actions — ordinary integration work, and the bulk of the build. And autonomy has to be tiered by action type in the specification, agreed with operations before anything ships. Skip that, and you end up with an agent nobody is allowed to switch on. That's practical AI agent development.
After-sales, returns, and reverse logistics
The chain does not end at delivery, and the return leg is usually the least instrumented part of it. Reverse logistics combines several of the techniques already covered.
- Return reason classification. Customer-written reasons and support tickets are free text. Classifying them consistently is what turns returns into a signal about sizing, packaging or a supplier quality problem.
- Disposition and grading. Restock, refurbish, liquidate or scrap is a value-versus-cost calculation per item, and grading condition from photographs makes it consistent across sites and staff.
- Feeding it back. Return rates by product and channel belong in the forecast as net demand. Many planning systems still forecast gross shipments and are systematically wrong in high-return categories.
The same pressures appear in retail AI use cases, where returns handling and delivery promises are judged by the end customer rather than by a planning KPI.
Which technique fits which supply chain function?
This is the summary worth keeping. Read the second column very carefully — for most of the chain, the honest answer is good data and a solver, not a language model.
| Function | Technique that fits | Data required | Typical blocker |
|---|---|---|---|
| Demand forecasting | Probabilistic ML forecasting; hierarchical reconciliation | Sales history, promotions, price, calendar, hierarchy | Promotion history never recorded; returns netted inconsistently |
| Inventory and safety stock | Multi-echelon optimisation over forecast quantiles | Actual lead times and variability, holding and stockout costs | ERP holds planned lead times nobody has updated |
| Supplier risk | LLM extraction from news and documents; entity resolution | Vendor master, contracts, external news and filings | Duplicate and unmatched supplier entities |
| Procurement and contracts | Document understanding; sourcing optimisation | Contract PDFs, spend transactions, bid responses | Contracts scattered across drives with no reliable index |
| Production planning | Constraint solvers; ML for cycle and changeover times | Routings, capacities, shift calendars, execution history | Master-data standards differ from reality on the floor |
| Warehouse stock accuracy | Computer vision counting and verification | Labelled images, slot and pallet master, camera coverage | Physical environment: lighting, placement, edge compute |
| Routing and load building | Vehicle routing solvers; ML for travel and dwell times | Orders, vehicle and driver constraints, telematics | Geocoding quality; unrecorded driver overrides |
| Freight documents | Vision-capable document AI with confidence thresholds | Historical documents across your real carrier mix | Scan quality; the long tail of layouts and languages |
| Exception management | Agent workflows over ERP, TMS, and WMS tools | Live system access, plan-versus-actual events, contract terms | Integration and permissions; no agreed autonomy boundaries |
| Returns and after-sales | Text classification, vision grading, disposition rules | Return reasons, condition images, warranty terms | Reverse flow barely instrumented next to the forward flow |
The data reality: why integration is harder than modelling
Every experienced practitioner reaches the same conclusion. The modelling is the well-understood part. What eats up the schedule is that the data describing your supply chain lives in several systems that all contradict each other.
- Master data quality sets the ceiling. Duplicate item numbers, inconsistent units of measure, locations that exist in one system and not another, suppliers spelled four ways. No model recovers from a join that silently drops a third of the rows.
- System fragmentation is the norm. ERP for orders and finance, WMS for the warehouse, TMS for transport, a supplier portal, a planning tool, and a great deal of email and spreadsheet. Each was chosen for good reasons; none was designed to be read by an analytics layer.
- Integration is a build, not a connector. Extracting from the ERP without degrading it, handling deletes, and reconciling everything to a consistent semantic layer is an engineering project. Either you budget for it, or it eats your modelling budget.
The way through is to build that semantic layer once — product, location, supplier, order and shipment each meaning one thing — and then let forecasting, optimisation and agents all read from it. Doing it per use case is how you end up with four models that disagree about last quarter.
How SoftmaxAI builds supply chain AI
We build these systems the same way we build everything else: a written, client-approved specification before any code, an agent-accelerated build led by senior engineers, and every decision that matters owned by a person.
- We pick the boring technique when it is the right one. If your replenishment problem actually needs a solver and better lead-time data, the specification says so, even though a language model would demo better. Recommending against generative AI is part of the job.
- Data assessment before model selection. We look at your item, location and supplier masters, and at what your ERP, WMS and TMS actually contain, before we commit to any approach. The specification names the gaps and who is going to fix them.
- Autonomy defined per action. For agentic workflows, we specify which actions run automatically, which require approval and what the audit trail records — agreed with operations before the build, not after an incident.
- Built in your cloud. As a Google Cloud Partner we commonly land the semantic layer in BigQuery and run vision workloads through a proper MLOps pipeline, inside your own account.
You can see the shape of this work in our case studies and the sector context in our logistics and supply chain practice. If you're still working out which part of the chain to tackle first, the AI Opportunity Sprint is a short, fixed-scope engagement that delivers a prioritised shortlist and an honest feasibility assessment.
Demand forecastingInventory optimisationSupplier riskDocument AIControl tower agentsComputer visionRoute optimisationBigQueryMLOps