eleticle

Core No. 17Logged 23 Nov 2026Code & data →

How should a local agent get access to your site’s historian?

Published studies, vendor documents and security guidance, January 2023 to November 2026 · no experiment on this page · the first of five on a local agent and a site’s own data

We read what has been published on language-model agents reading plant historians, what the historian vendors offer and what security guidance says, then compared five ways to give an agent running on site access to the data.

What we found

  • The tag is the weak stepA prototype on an ABB historian turned the question’s time into a query right in 30 of 30 questions, but chose the right tags in only 18 of 30.
  • A query that runs can be wrongA 2-billion-parameter model on a factory’s live time-series database wrote eight queries for time-dependent totals; all eight ran, none gave the exact answer.
  • Not yet shown at a mineOf nine studies we coded, one had a local model, real records, read-only access and scored answers together: one wind turbine’s archived file. None at a mine or concentrator.
  • Read-only is not enoughThree risks remain with read-only access: a shared account showing data a user should not see, a long query loading the historian, and text in a tag description steering the agent.
  1. Method
  2. 01What has been published
  3. 02Five ways in
  4. 03What read-only leaves
  5. 04Our approach
  6. 05At your site
  7. Sources

Method

Four questions, searched and read, then coded

  • SearchedFour research questionsPublished agents reading historian or time-series data; what historian vendors offer agents; guidance on safe access to operational data; how large tag lists are made findable. Each run by Codex (gpt-6.2-astra, highest reasoning, web search), primary sources preferred, dates checked.
  • CodedNine studies, four marks eachEach study marked on what it reports: a local model (run on the user’s own hardware, not a cloud service), real records, read-only access, answers scored against a reference. “Not reported” is not “no”.
  • ComparedFive ways inEach judged on four questions: can it change plant data, do readings leave the site, can it overload the historian, does it find the right tag.
  • Not testedHere, nothing ranThe recommended layout is built in No. 18 and tested with a local 27B model in Nos. 19 to 21. No. 18 builds the tools, the catalogue and the limits; rights per user and the user in the log are not built there.

Limits: what we found is what the searches turned up by 23 November 2026; vendor documents describe capability, not use; the marks are our reading of each publication. The four research answers with every source, the codings and the comparison: the article’s public repository.

01 · What has been published

Agents that read plant data, and what was checked

Nine selected studies and reports since 2023 in which an agent read plant or equipment records. Most leave out where the model ran or what the agent was allowed to do, and few score whether it read the right tag.

Nine studies · four marks each1 of 9 with all four
Nine published studies, by date: Sun et al., Electronics (2025-01), a coal mine's gas alarms, SQL agent: local model not reported, real records yes, read-only not reported, answers scored in part; risk class right 0.87; finding the right sensor not scored; Nexa Resources, Cerro Lindo (2025-02), a concentrator's databases, a Gemini-based assistant: local model not reported, real records yes, read-only not reported, answers scored no; an assistant in use; no accuracy reported; Korpela, Tampere University (2025-04), ABB historian, 30 questions: local model not reported, real records not reported, read-only yes, answers scored yes; right identifiers 18 of 30; time conversions 30 of 30; Mulayim et al., Berkeley Lab (2025-06), building test cells, cloud model: local model no, real records yes, read-only not reported, answers scored yes; three questions, five runs each: 5, 5 and 3 of 5; Rayfield et al., EMNLP Industry (2025-11), data-centre sensors, site to asset to sensor: local model not reported, real records yes, read-only in part, answers scored in part; 9 of 20 tasks without worked examples, 20 of 20 with 17; judged by a review agent; Dranca et al., Frontiers in AI (2026-05), a cheese factory's live time-series database, small models on one GPU: local model yes, real records yes, read-only not reported, answers scored yes; time-sensitive totals, CodeGemma 2B: 8 of 8 ran, 0 of 8 exact; Siregar, Novia University (2026-06), SCADA demo project, Qwen3-14B local: local model yes, real records no, read-only no, answers scored in part; 235 tool questions, no malformed calls; wrong tags and numbers not scored; Hasan et al., Energy and AI (2026-07), one wind turbine's archived records, Qwen3-14B local: local model yes, real records yes, read-only yes, answers scored yes; 24 operator questions: 91.7 % right on health checks; Intel Foundry and Formant (2026-10), 540 days of a treatment plant's records, isolated read-only copy: local model not reported, real records yes, read-only yes, answers scored in part; 47 past alarms replayed: about 60 % less time to resolve, estimated.

Each study’s main number is its own, on its own questions; they do not compare with each other. Vendor demonstrations and open-source connectors (several for the PI System, InfluxDB, Ignition and WinCC OA) are listed in the repository; none reports a scored run at a mine.

02 · Five ways in

From a file export to a searchable catalogue

Five ways a site can let an agent read its historian, each judged on four questions. Pick one to see why.

Five ways · four questionsall five
Five ways to give a local agent historian data: A file export: can it change plant data good, do readings leave the site good, can it overload the historian depends, does it find the right tag depends; The agent's own login: can it change plant data depends, do readings leave the site good, can it overload the historian bad, does it find the right tag bad; A vendor's cloud assistant: can it change plant data depends, do readings leave the site bad, can it overload the historian good, does it find the right tag depends; Read-only tools: can it change plant data good, do readings leave the site good, can it overload the historian good, does it find the right tag depends; Read-only tools and a tag catalogue: can it change plant data good, do readings leave the site good, can it overload the historian good, does it find the right tag good.

Green is the safe answer, sand depends on the set-up, red is the risk. With the model, tools and logs on site and the server’s routes out closed, no option but the vendor cloud sends readings off site.

Only the last row is green on all four: read-only tools, limits on every call, and a catalogue the agent searches before it reads. No. 18 builds it.

03 · What read-only leaves

Three risks, and a record

A read-only account stops the agent changing anything through it. It does not stop these, so they are handled outside the model, in the service the agent calls.

RiskWhat happensWhat limits it
One account for everyoneThe agent answers each user with the service’s rights, so a user can see tags they otherwise could not.Check each user’s rights in the service, searches included.
A heavy queryYears of raw values across many tags load the historian the control room also uses.Limits per call on tags, values and window, and on calls per minute; summaries first; a one-way copy to read from.
Text that steersA tag description or operator note written like an instruction can change the agent’s next step.Tools that can only read; tool output treated as data; every call logged.
No recordNobody can say later who asked for which data.Log the user, tags, window, allowed or refused, rows returned and time taken; never the credentials.

04 · Our approach

Read-only tools and a catalogue, on a copy, on site

The agent reads a copy of the historian fed one way out of the plant network, as the UK’s national cyber security centre describes for business access. A read-only connector, a nightly catalogue, an MCP server with limits and a log, and the model all run on one site server.

Where each part runsall on one site server
The recommended layout. In the plant network, the plant historian. In the DMZ, a copy of it, fed one way. In the site network, the agent's server: a read-only connector with its own account, the nightly crawler and tag catalogue, the MCP server with limits and an audit log, and the local model. People ask from the site network; nothing goes to the internet.

Where a site has no copy in a DMZ, the same parts read the historian itself through a read-only account, with the limits doing more of the work: more exposure, and a decision for the site’s control-system team.

05 · At your site

Before an agent reads your historian

  1. Keep the model, tools and logs on siteAnd close the server’s routes out: then no reading can leave, whatever the agent asks for. Check where every tool sends its results.
  2. Give it tools, not a loginA few fixed read tools over a read-only account, with limits per call, rather than a database account it writes queries against.
  3. Give it a way to find tagsA searchable catalogue of the tag list, crawled on a schedule, with units and health: choosing the tag is the step that fails.
  4. Read from a copy where you canA historian copy fed one way keeps the agent’s queries off the plant network.
  5. Score it on your own questionsRight tag, right value for the time and unit, and nothing it could change: three separate checks, before anyone relies on it.

Sources

  1. Korpela, O. (2025). Master’s thesis on a plain-language interface to an ABB historian, Tampere University. trepo.tuni.fi.
  2. Dranca, L. et al. (2026). LLMs for industrial databases: an agro-food production plant use case. Frontiers in Artificial Intelligence. doi.org/10.3389/frai.2026.1764367.
  3. Rayfield, J. T. et al. (2025). ReAct meets industrial IoT: language agents for data access. EMNLP 2025 Industry Track. aclanthology.org/2025.emnlp-industry.24.
  4. Mulayim, O. B. et al. (2025). Extraction and analysis of time series data from building automation systems using large language models. Lawrence Berkeley National Laboratory. eta.lbl.gov.
  5. Siregar, F. (2026). Integrating AI language model with WinCC OA using MCP. Master’s thesis, Novia University of Applied Sciences. theseus.fi.
  6. Hasan, A., Widyotriatmo, A. and Nguyen, D. T. (2026). An open-weight large language model agent for condition monitoring and predictive maintenance in wind energy systems. Energy and AI. doi.org/10.1016/j.egyai.2026.100828.
  7. Sun, Y., Han, Y. and Liu, X. (2025). Intelligent gas risk assessment and report generation for coal mines. Electronics 14(2), 379. mdpi.com/2079-9292/14/2/379.
  8. Alvarez Garcia, N., Puyt, A. and Thoma, D. (2026). Proving the value of context in AI-driven industrial operations. Intel Foundry and Formant. intel.com.
  9. Nexa Resources Perú (2025). Memoria Anual 2024, p. 107. smv.gob.pe.
  10. UK National Cyber Security Centre and partners (2026). Secure connectivity principles for operational technology, principle 4. ncsc.gov.uk.
  11. CISA, ASD’s ACSC and partners (2025). Principles for the secure integration of artificial intelligence in operational technology. cyber.gov.au.
  12. Model Context Protocol specification, tools: security considerations. modelcontextprotocol.io.
  13. OWASP GenAI Security Project, Top 10 for LLM applications: excessive agency. github.com/GenAI-Security-Project.
  14. AVEVA PI Web API reference. docs.aveva.com.