Supply Chain, Manufacturing, Energy and Telecom

In physical operations, a wrong action can spoil stock, stop a line or hurt someone.

BeginnerIntermediateExpert · 12 min read · Last updated:

In short

Industrial agents earn their place by watching signals, assembling context, proposing plans and drafting orders or work tickets. Keep quantities and limits in tested calculations, require approval for unusual or irreversible actions, and keep language models away from direct control of equipment. Safety systems must work with the agent switched off.

What you will learn: uses across procurement, logistics, manufacturing, energy and telecom, how a reorder step combines calculation and review, how operational technology differs from office IT and how to test safely.
Prerequisites: Event-Driven and Background Agents and Human Approval, Thresholds and Secure Logging.

Versions used

The example runs in November 2026 with Python 3.13 and only the standard library. Items, demand history and limits are invented, and the stock formula is a teaching simplification. This page is general information and does not replace engineering or safety review.

Beginner Where the work is

Supply chain and procurement

TaskAgent contributionCheck
Demand and supply exceptionsCollect causes and affected ordersPlanner confirms
ReplenishmentDraft purchase ordersLimits, supplier and price rules
Supplier researchGather documents and certificatesVerify with issuer; dates
Shipment trackingExplain delays and propose optionsCost and promise approval
Contract and quote comparisonNormalize terms into a tableBuyer reads originals
Customs and trade documentsPrepare and check completenessQualified specialist

Manufacturing and maintenance

  • Search manuals, work history and drawings for a technician, showing revision numbers.
  • Summarize alarms with likely related events, labeled as hypotheses.
  • Draft work orders and parts lists for planner review.
  • Compare quality records with specifications using code for the limits.
  • Write shift handover notes from logged events.

Predicting equipment failure is usually a job for statistical or machine learning models built on sensor data. An agent can explain the prediction's context and arrange work; it does not improve the underlying forecast by describing it fluently.

Energy and utilities

Useful starting points include outage communication, field crew documentation, regulatory report preparation, asset record search and forecast commentary. Grid and plant control have strict reliability, security and safety requirements, and in many places are subject to mandatory standards.

Telecommunications

Network teams use agents to correlate alarms, find recent changes, draft diagnostics and propose fixes. The industry body TM Forum describes autonomous network levels from 0, fully manual, to 5, fully autonomous. A scale like this helps say which function runs at which level, since one network can sit at different levels for different tasks.

Senseevents
Explaincontext
Planoptions
Approveby risk
Verifyoutcome
Intermediate Calculation, review and example

Divide the work

MethodBest for
Optimization and planning solversRouting, scheduling, allocation with constraints
Forecasting modelsDemand, lead time, failure risk
RulesPolicy limits, approved suppliers, safety interlocks
Language model agentReading messages and documents, choosing which tool to call, explaining results
PeopleTrade-offs, relationships, unusual situations

Let the agent call the solver or forecast as a tool and report its assumptions. Do not ask a model to invent a schedule that a solver could compute and check.

A reorder step with review rules

The program calculates a reorder point as expected demand over the lead time plus safety stock based on demand variability. It drafts routine orders and sends doubtful ones to a planner.

"""Propose replenishment orders within limits; a planner approves exceptions."""
from math import ceil, sqrt
from statistics import mean, pstdev

Z = 1.65                 # service factor chosen by the business


def reorder_point(daily_demand, lead_days):
    average = mean(daily_demand)
    safety = Z * pstdev(daily_demand) * sqrt(lead_days)
    return average * lead_days + safety, safety


def propose(item):
    point, safety = reorder_point(item["demand"], item["lead_days"])
    position = item["on_hand"] + item["on_order"]
    if position > point:
        return point, 0, "no order"
    target = point + mean(item["demand"]) * item["cover_days"]
    quantity = ceil((target - position) / item["pack"]) * item["pack"]
    flags = []
    if quantity > item["usual_order"] * 2:
        flags.append("more than twice the usual order")
    if item["data_age_hours"] > 24:
        flags.append("stock data is stale")
    if max(item["demand"]) > 3 * mean(item["demand"]):
        flags.append("demand spike in history")
    return point, quantity, "planner review: " + ", ".join(flags) if flags else "auto-draft"


items = {
    "valve": dict(demand=[10, 12, 9, 11, 10, 13, 12], lead_days=5, on_hand=40,
                  on_order=0, cover_days=7, pack=25, usual_order=100, data_age_hours=2),
    "seal": dict(demand=[20, 22, 19, 21, 95, 20, 23], lead_days=4, on_hand=60,
                 on_order=0, cover_days=7, pack=50, usual_order=150, data_age_hours=3),
    "motor": dict(demand=[1, 0, 2, 1, 1, 0, 2], lead_days=10, on_hand=10,
                  on_order=0, cover_days=14, pack=1, usual_order=20, data_age_hours=30),
}
for name, item in items.items():
    point, quantity, action = propose(item)
    print(f"{name:6} reorder point {point:6.1f}  order {quantity:4}  {action}")

Output:

valve  reorder point   59.8  order  100  auto-draft
seal   reorder point  211.5  order  400  planner review: more than twice the usual order, demand spike in history
motor  reorder point   13.9  order   18  planner review: stock data is stale

The valve order is routine and is drafted, not sent. The seal order is much larger than usual and its history contains a spike, which might be a real change or a one-off project, so a person looks. The motor's stock record is old, so the calculation cannot be trusted however precise it looks. The formula assumes fairly stable demand and a fixed lead time. Intermittent spare-part demand, variable lead times, seasonality, expiry and capacity all need other methods.

Data that operations depend on

  • Show the timestamp of every figure and refuse decisions on stale data.
  • Keep units explicit: cases, pallets, kilograms, local time.
  • Resolve item, site and supplier identifiers through master data, not name guessing.
  • Detect sensor faults and gaps rather than treating zero as measured.
  • Record whether a value is measured, forecast, entered or inferred.

Messages from outside

Supplier emails, portals and shipping documents are untrusted input. They may be mistaken, forged or contain instructions aimed at an agent. Verify changes to bank details, delivery addresses and contacts separately. Limit what an agent may commit to in negotiation, and require approval for any acceptance (Prompt Injection Attacks and Defenses). Agent-to-agent exchanges between companies need the same identity, authority and record keeping as human ones (A2A Security and Interoperability).

Expert Operational technology and safety

Operational technology is different

Operational technology (OT) monitors and controls physical processes. Compared with office IT, availability and safety dominate, equipment may be old, changes need engineering approval and a restart can be hazardous.

In December 2025 cybersecurity agencies including the US CISA and Australia's ACSC published principles for securely integrating AI into operational technology. Their four themes cover understanding AI, considering whether to use it in the OT setting, establishing governance and assurance, and embedding safety and security with oversight.

ZoneAgent access
Business systemsRead and propose changes through supported interfaces
Replicated operational dataRead, ideally through one-way transfer
Supervisory systemsNone by default; any exception engineered and reviewed
Controllers and equipmentNo direct commands from a language model
Safety instrumented systemsNo access
Independent protection

Interlocks, limits and emergency stops must not depend on a model behaving well. Follow your sector's functional safety and control system security standards, such as the ISA/IEC 62443 series for industrial automation security.

Grading actions

ActionTypical handling
Open a ticket, notify a personAutomatic with rate limit
Draft order or schedule changeReview by exception
Place order within policyAutomatic only after evidence, with caps
Reroute shipment or change production planPlanner approval
Change equipment or network configurationEngineering change control
Override a safety functionNever

Cascades and many agents

Small automatic reactions can amplify one another. If each site orders extra after a delay, suppliers see a surge; if several network agents react to the same alarm, they may undo each other. Add caps per hour and per value, hold-down periods, a single owner for each resource, global view checks and a way to pause all related automation at once (Parallelism, Deadlocks and Conflict Resolution).

When connectivity fails

Plants, ships, depots and field sites lose connections. Decide what works locally, what queues and what stops. A queued order must be revalidated before release because the world has moved on. Smaller local models can help with search or notes, with the same permissions and records (Open-Source Stack and Local LLM Agents).

Testing without risking the plant

  1. Replay historical days, including disruptions, and compare proposals with outcomes.
  2. Use a simulator or digital model for actions, and state where it differs from reality.
  3. Inject faults: stale data, duplicate events, missing sensors, wrong units.
  4. Run in advisory mode alongside planners.
  5. Automate one low-consequence action with strict caps.
  6. Drill the manual fallback and the stop control.

Never test attacks or unusual commands on live control equipment.

Measures

AreaOutcomeGuardrail
InventoryService levelExcess and expired stock
ProcurementCycle timeOff-policy purchases
MaintenancePlanned work shareRepeat failures, safety events
NetworkTime to restoreIncidents caused by changes
PeoplePreparation time savedOverride rate and alert fatigue

Keeping operators capable

Operators must still understand the process when automation stops. Show why a proposal was made, which data it used and what happens if rejected. Avoid floods of low-value alerts. Give frontline workers a simple way to say a suggestion is wrong, and act on it. Check rules on workforce monitoring before using operational data to assess individuals.

Illustrative scenario

A replenishment agent sees a stock record of zero after a scanner outage and drafts large urgent orders for several sites. A freshness check and a rule that treats sudden mass zeros as suspected data failure would stop the batch and call a person. This scenario is invented.

Handling a disruption

A late vessel or a failed supplier is where planners spend their day, and where an agent can help most.

StepAgent workEvidence shown
DetectMatch a delay notice to shipmentsMessage, time, identifiers
AssessList affected orders, sites and datesStock and demand as of a stated time
OptionsCall planning tools for reallocation, other suppliers or routesCost, date and constraints for each
DecidePresent trade-offsWhat is assumed and unconfirmed
ActDraft messages and changesApproval and system confirmation
Follow upTrack whether promises holdOpen items with owners

Do not tell a customer a new date until the supplying system or responsible person has confirmed it.

Quality and traceability

In regulated or safety-relevant production, records show what was made, from which materials, on which equipment and with which results. An agent can search and summarize these records during an investigation, but it must not alter them, fill gaps by inference or release product. Keep limits and specifications in controlled systems with revisions, and have qualified staff make disposition decisions. A summary of a deviation should link every statement to a record and list what is missing.

Helping technicians in the field

Field staff work with gloves, noise and weak connections. Give short steps, show the manual page and revision, confirm the equipment identifier by scan rather than guess and put hazard warnings from the approved procedure before the step they apply to. Never let the assistant shorten or reorder safety isolation procedures. If it cannot find the exact model, it should say so rather than offer instructions for a similar one.

Judging the investment

Value in operations often appears as avoided downtime or waste, which is hard to attribute. Compare similar sites or periods, separate the effect of better data from the effect of the agent, count planner and engineering time for review and include integration and upkeep. Agree beforehand which result would justify expansion and which would end the trial (Business Case, Build vs Buy and Vendor Evaluation).

Recording decisions

Store the signals seen with their times, the calculation or solver inputs, the proposal, who approved or changed it, the system confirmation and the eventual outcome. Planners' reasons for rejecting suggestions are especially valuable: they reveal constraints that never reached the data, such as a customer who accepts partial delivery or a dock that closes early.

Sustainability and compliance reporting

Supplier and site data for environmental, safety or trade reporting arrives in many formats. An agent can collect it, normalize units and flag gaps. Keep emission factors and calculation rules in versioned code, separate measured values from estimates, record the source of each figure and have the accountable owner approve submissions. Do not allow gaps to be filled with plausible numbers; report them as gaps.

Common mistakes

MistakeConsequenceInstead
Model computes plans by itselfInfeasible or unsafe resultsCall solvers and check constraints
Acting on stale or faulty dataWrong orders or actionsFreshness and plausibility gates
Connecting agents to control networks for convenienceNew attack path to equipmentSegregate and use one-way data
No caps across agentsAmplified disruptionGlobal limits and pause
Trusting supplier messagesFraud or manipulationIndependent verification
Forgetting offline operationWork stops with the networkLocal and manual routes

Checklist

  • Each action has a grade, limit and approver.
  • Calculations and constraints run in tested software.
  • Data freshness and plausibility are enforced.
  • Control and safety systems are segregated from agents.
  • Engineering and safety teams approve OT-related designs.
  • Combined automated activity is capped and stoppable.
  • Fallback and offline procedures are rehearsed.
  • Outcomes are measured with safety and waste guardrails.

Frequently asked questions

Can an agent control a machine?

Treat direct control as out of bounds for a language model unless a qualified engineering and safety process has designed and proved a tightly bounded function.

Does an agent replace forecasting tools?

No. It can feed and explain them. Forecast quality still depends on data and methods that you should evaluate directly.

What is a sensible first project?

Exception summaries for planners or manual search for technicians, both read-only, with sources shown and easy feedback.

How should negotiations with suppliers be limited?

Set allowed topics, price ranges and terms in code, require approval to accept anything and keep the full exchange.

References

Where to go next