Agentic AI factory safety: enforcing hard separation from real-time PLCs

Autonomous AI agents can synthesize shift logs, propose sequence improvements, and diagnose anomalies across factory systems, yet probabilistic reasoning must never hold direct write authority over live PLC actuators or emergency-stop loops. Safe agentic factory architecture separates advisory AI orchestration from read-only telemetry, offline DS2 and 3D verification, human-in-the-loop approval, and certified hardwired safety relays.

Included visual & real-data evidence:Diagrams · 3Real Captures · 2Real Data · 1Tables · 4
On this page

DS Pilot · DS Studio · Learning Hub

Why probabilistic AI agents must stay isolated from deterministic PLC scan loops#

Agentic AI systems excel at multi-step reasoning across specifications, maintenance records, and asset metadata, but their token-level outputs remain probabilistic and variable in latency. Real-time factory PLCs operate under strict cyclic determinism where a single conflicting actuator command or delayed interlock evaluation can damage tooling or endanger operators. Separating the plant into an advisory AI orchestration plane, an engineer-gated verification plane, and a deterministic PLC plus hardwired safety plane lets teams adopt autonomous workflows without compromising physical safety.

Architecture Diagram · Agentic AI Layer vs Approval Gate vs Deterministic PLC & Safety RelaysDiagram
Three strict planes separate agentic AI orchestration from deterministic PLCs and hardwired safety circuitsThree-tier separation isolating upper agentic AI orchestration above an engineer-locked 3D verification gate, grounded deterministic PLC rack, and independent hardwired safety relay rail.
Architectural separation between agentic AI orchestration, engineering verification, and shop-floor safety
Factory PlaneExecution NaturePermitted AI RoleNon-Negotiable Safety Rule
Agentic AI OrchestrationProbabilistic reasoning & planningQuery read-only specs, logs, and AAS metadataZero direct writes to live PLC coils or motion blocks
Engineering Verification PlaneDeterministic DS2 compile & 3D SILSDraft models validated by static rules & simulationEvery revision requires human engineer sign-off
Real-Time Sequence PLCBounded deterministic scan executionNone at runtime (read-only telemetry export only)Offline vendor IDE import & staged commissioning
Hardwired Safety & E-StopCertified fail-safe hardware circuitsExplicitly excluded from all AI and MCP scopePhysically independent safety relays & safety PLC

Enforcing one-way read-only OT telemetry and specification discovery#

Safe agentic diagnostics rely on strict directional isolation: operational signals flow out of equipment into read-only diagnostic layers while reverse write commands remain blocked at the OT boundary. On the engineering side, DualSoft's public read-only Web MCP server exposes 10 discovery tools and 10 published process line examples so AI agents ground every proposal in canonical specifications instead of guessing controller registers.

Editorial Diagram · One-Way Read-Only OT Telemetry Diode & Blocked Reverse AI WritesDiagram
Telemetry flows left-to-right to AI diagnostics while reverse write commands are blockedRead-only PLC telemetry passes strictly left-to-right through a one-way optical diode to AI diagnostic dashboards while any reverse write command from AI toward equipment is blocked at the firewall.
Actual Software Capture · DS Studio Deterministic Modeling & Isolated Verification ArchitectureReal Software Capture
Actual DualSoft DS Studio English architecture capture showing unified DS2 modeling, 3D digital twin verification, and deterministic engineering output layers
DS Studio isolates deterministic modeling and 3D checks from live shop-floor controller writesReal DS Studio architectural view illustrating how read-only discovery, DS2 compilation, and virtual 3D verification stay strictly decoupled from live plant safety hardware.
Read-Only Agentic Discovery Contract (DualSoft Public Web MCP)src/data/mcp_first_use_receipt.json · verified read-only boundary
{
  "publicWebMcpSlimMode": true,
  "publicWebMcpToolsCount": 10,
  "livePlcWriteTools": 0,
  "allowedCapabilities": [
    "docs_search", "docs_read",
    "dsdx.examples.list", "dsdx.examples.get",
    "dsdx.library.search", "dsdx.library.get",
    "dsdx.scene.catalog", "dsdx.plc.formats"
  ],
  "safetyCircuitAccess": "EXCLUDED"
}
Directional OT security policy comparing unsafe bi-directional AI plugins vs one-way read-only architecture
Interface DirectionUnsafe Bi-Directional Agent PluginDualSoft Read-Only OT BoundaryRisk Mitigation
Plant -> AI TelemetryMixed with remote write sessionRead-only log & tag snapshots for anomaly triageZero runtime interference on PLC scan time
AI -> Spec & Asset LookupUnverified prompt memoryRead-only MCP with hashed DS2 & AASX metadataTraceable citations without mutating plant state
AI -> Live PLC WriteAllows direct coil or setpoint editsBlocked at firewall and absent from public MCPPrevents unauthorized actuator motion
AI -> Safety Relay / E-StopPotential logic confusionPhysically disconnected hardware safety railPreserves fail-safe stop guarantees

Human-in-the-loop approval gates and certified physical safety boundaries#

Every control change proposed with AI assistance must pass offline static compilation, visual 3D cell inspection, and explicit sign-off by a qualified control engineer before entering a vendor PLC toolchain. DualSoft records these boundaries explicitly in its public evidence ledger: vendor PLC IDE import (Vendor PLC IDE import not executed Not yet checked) is verified per target project, and physical hardware commissioning (Physical commissioning outside this reference scope Not yet checked) plus hardwired safety validation remain mandatory human responsibilities.

Editorial Diagram · Human-in-the-Loop Approval Gate & Hardwired Safety PLC IsolationDiagram
Keyed engineer approval gates vendor PLC downloads while safety relays remain physically isolatedAI proposals validated inside a 3D cell simulator still cross a keyed engineer approval gate before reaching the vendor engineering laptop and PLC rack, while hardwired E-stop safety relays stay physically isolated.
Real Hardware Photo · DualSoft Physical Test Belt Conveyor CellReal Hardware Photo
Photograph of DualSoft physical test belt conveyor cell representing physical equipment governed by engineer-approved commissioning and hardwired safety circuits
Physical hardware commissioning and hardwired safety relays always stay under qualified site engineersPhotograph of DualSoft's test belt conveyor cell demonstrating the physical equipment layer that remains strictly behind human approval and hardware safety barriers.
Human-in-the-loop accountability checklist before deploying AI-assisted control revisions
Approval GateRequired ArtifactGate OwnerPublic Verification Boundary
Offline Causal & Interlock CheckCompiled DS2 model & static rule reportDeterministic CompilerAutomated pre-export verification
3D Virtual Cell ReviewSimulated cycle & fault-recovery replayControl EngineerHuman inspection before code export
Vendor PLC IDE Import & BuildExported ST / LD / PLCopen XML projectControl Engineer (per site)Vendor PLC IDE import not executed Not yet checked
Physical Commissioning & E-StopHardware I/O test & safety relay sign-offSite & Safety EngineerPhysical commissioning outside this reference scope Not yet checked

Governance Matrix: Unguarded Agentic Automation vs DualSoft Safety-Separated Architecture#

Core safety and operational governance criteria for evaluating agentic AI architectures in manufacturing plants
Governance DimensionUnguarded Autonomous AgentDualSoft Safety-Separated StackPlant Safety Outcome
Live PLC Write AuthorityDirect runtime coil/tag writesZero live AI write paths (read-only OT)Eliminates erratic actuator motion
Control Change VerificationUnverified prompt outputDS2 static interlock checks + 3D SILSCatches sequence conflicts offline
Engineer AccountabilityOpaque automated changesMandatory human-in-the-loop approval keyFull revision auditability per site
Emergency Stop & Safety PLCRisks software-layer couplingCertified hardwired safety relays isolatedPreserves deterministic hardware fail-safe
Truth & Evidence BoundariesBlurs simulation with live plantExplicit VERIFIED vs NOT_RUN milestonesHonest commissioning scope for teams

Verified Facts and Scope Boundaries#

  • Read-only discovery tools10

    The public MCP endpoint provides discovery tools with read-only access.

  • Published process examples10

    Interactive process-line examples published on dualsoft.ai that open without local installation.

  • PLC engineering-tool importVendor PLC IDE import not executed Not yet checked

    Importing a project directly into a specific PLC vendor's engineering IDE has not yet been tested.

  • Physical equipment commissioningPhysical commissioning outside this reference scope Not yet checked

    Physical factory wiring, commissioning, and safety acceptance are outside this software reference scope.

Scope and Verification FAQ#

Should an agentic AI system ever have direct write permission to a running factory PLC?

No. Probabilistic AI reasoning can introduce latency jitter or logical hallucinations that conflict with deterministic PLC scan cycles. Industrial agentic architectures restrict live connectivity to read-only telemetry and route any control revision through offline deterministic compilation, 3D verification, and human engineer approval.

How do read-only diagnostic agents improve plant reliability without editing PLC code?

Read-only diagnostic layers analyze passive PLC signal logs, cycle timelines, and asset metadata to surface abnormal delays, micro-stops, and component wear trends early—helping maintenance engineers act before hard alarms stop the line, without touching running controller logic.

Where do certified safety PLCs and emergency-stop relays sit in an agentic AI factory?

Certified safety relays, hardwired emergency-stop circuits, and safety PLCs sit completely outside AI agent and MCP reach. They form an independent hardware fail-safe layer that cannot be bypassed by software or AI orchestration.

What is the role of human-in-the-loop review in DualSoft's AI PLC workflow?

Engineers review compiled DS2 logic and 3D virtual cell behavior, verify vendor PLC IDE imports for the target controller, and execute physical I/O and safety commissioning checks before authorizing production operation.

Verified by: DualSoft Engineering — Agentic AI Factory Safety & Real-Time PLC Separation Briefing

Content reviewed Prepared by: DualSoft · website content

Scope and deliverables are agreed together before any customer data is handled.

Back to top

opens in a new tab