mlsanityData to 7 Oct 2026

Vendor-Aware Industrial Agents: RAG-Enhanced LLMs for Secure On-Premise PLC Code Generation

arXiv 2511.09122 ↗First posted 12 Nov 2025cs.SE cs.AIcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Programmable Logic Controllers are operated by proprietary code dialects; this makes it challenging to train coding assistants. Current LLMs are trained on large code datasets and are capable of writing IEC 61131-3 compatible code out of the box, but they neither know specific function blocks, nor related project code. Moreover, companies like Mitsubishi Electric and their customers do not trust cloud providers. Hence, an own coding agent is the desired solution to cope with this. In this study, we present our work on a low-data domain coding assistant solution for industrial use. We show how we achieved high quality code generation without fine-tuning large models and by fine-tuning small local models for edge device usage. Our tool lets several AI models compete with each other, uses reasoning, corrects bugs automatically and checks code validity by compiling it directly in the chat interface. We support our approach with an extensive evaluation that comes with code compilation statistics and user ratings. We found that a Retrieval-Augmented Generation (RAG) supported coding assistant can work in low-data domains by using extensive prompt engineering and directed retrieval.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 8 of its 21 references that are in the map. First posted on arXiv 12 Nov 2025.

Builds on

8 of 21 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Agents4PLC: Automating Closed-loop PLC Code Generation and Verification in Industrial Control Systems using LLM-based Agents18 Oct

Other references · 7

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  3. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  4. 2025Retrieval-Augmented Generation in Industry: An Interview Study on Use Cases, Requirements, Challenges, and Evaluationcited by 8
  5. 2024Training LLMs for Generating IEC 61131-3 Structured Text with Online Feedbackcited by 3
  6. 2025Spec2Control: Automating PLC/DCS Control-Logic Engineering from Natural Language Requirements with LLMs - A Multi-Plant Evaluationcited by 3
  7. 2024AutoPLC: Generating Vendor-Aware Structured Text for Programmable Logic Controllerscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generation
  2. 2025Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approach
  3. 2024LLM Agents Improve Semantic Code Search
  4. 2026SemaPLC: A Project-Grounded, Verification-Gated Agent Harness for PLC Code Generation
  5. 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
  6. 2023ChatGPT for PLC/DCS Control Logic Generation
  7. 2025A Survey on Code Generation with LLM-based Agents
  8. 2026Towards Reliable ML Feature Engineering via Planning in Constrained-Topology of LLM Agents