AdvancedGE Proficy (Historian, Plant Applications)Proficy Historian / Plant Applications

How to add AI to GE Proficy (Historian and Plant Applications) on-prem

Question
how to add AI to GE Proficy Historian on-prem

Also searched as

  • GE Proficy AI integration without cloud
  • Proficy Plant Applications LLM on-prem
  • chat with Proficy Historian data locally
  • Proficy Historian OLE DB query for AI

Short answer

Keep Proficy where it is and put a read-only AI layer beside it. The assistant reaches Historian through its documented OLE DB provider or client SDK, reaches Plant Applications through its SQL Server database or a reporting copy, and runs an open-weight model on local GPUs. No tag data leaves the site, and every question and query is logged.

Applies to: Proficy Historian (on-prem server editions), Proficy Plant Applications on SQL Server, Windows Server hosts. Verify object names against your installed version.

Reference rollout for a private AI layer on Proficy

  1. 1Inventory what you actually run: Historian server and collectors (OPC, iFIX, other), Plant Applications database, and which tags and units operators and engineers ask about.
  2. 2Create a dedicated read-only service identity for Historian and a db_datareader-style login for a reporting copy of the Plant Applications database. Never reuse an operator or admin account.
  3. 3Stand up a reporting copy of the Plant Applications SQL Server database (readable secondary, log shipping or scheduled restore) so AI queries never compete with production reporting.
  4. 4Decide the tag scope: build an approved list of tags and calculated values the assistant may read, keyed by area, line and unit, and store it as configuration.
  5. 5Build a tool server (MCP or plain HTTP) that exposes a small set of approved read actions: get tag trend, get events for a unit, get downtime summary, search procedures.
  6. 6Index documents the system does not hold itself: SOPs, control plans, batch records, maintenance notes and tag descriptions, with the area and unit as metadata for filtering.
  7. 7Serve an open-weight model with vLLM or Ollama on local GPUs and let it call only the tool server. Log every prompt, tool call, query text and result row count.
  8. 8Pilot with one line for 4 to 6 weeks, read-only questions only, and measure answer accuracy against a list of questions an engineer already knows the answers to.

Real data access paths in Proficy

Proficy Historian stores time-series data in its archive files and exposes it to clients through a documented OLE DB provider, an Excel add-in and a client SDK. For an AI layer the OLE DB provider is usually the easiest route because it behaves like a SQL data source: you query raw or interpolated tag values with a tagname and a time range. Tag metadata (descriptions, engineering units, collector assignment) is available through the same provider.

Plant Applications (the MES-style product that tracks events, production units, downtime, quality results and genealogy) keeps its configuration and history in a SQL Server database. Tables for events, production units, variables and test results are the ones most AI questions touch. Names differ between versions, so check the schema in your installation and build views over what you need rather than letting the model see raw tables.

Prefer views and parameterised queries owned by your team. The model should choose a tool and its arguments, never write free-form SQL against the production database.

-- Historian OLE DB (verify column and sampling mode names for your version)
SELECT tagname, timestamp, value, quality
FROM ihRawData
WHERE tagname = 'Line2.Extruder.Zone3.Temp'
  AND timestamp BETWEEN '2026-10-20 06:00:00' AND '2026-10-20 14:00:00'
  AND samplingmode = 'RawByTime'
ORDER BY timestamp;
-- Plant Applications reporting copy (illustrative, confirm against your schema)
SELECT TOP 100 e.Event_Num, e.[TimeStamp], pu.PU_Desc
FROM Events e
JOIN Prod_Units_Base pu ON pu.PU_Id = e.PU_Id
WHERE pu.PU_Desc = 'Line 2 Extruder'
  AND e.[TimeStamp] >= DATEADD(day, -1, GETDATE())
ORDER BY e.[TimeStamp] DESC;

Reference architecture, including air-gapped

Place the AI layer in a zone that can reach Historian and the Plant Applications reporting copy but is not on the control network. Read from the reporting copy for relational data. For tags, query Historian through a read-only service account, ideally against a Historian instance or mirror that sits at the site or enterprise level rather than the one feeding the line.

Components: a retrieval index over documents and tag descriptions, a tool server that wraps the approved queries, an open-weight model served by vLLM or Ollama, an identity layer and an audit log. Time-series answers should come from tool calls that return numbers, not from the model remembering values. The model explains and summarises; the query returns the facts.

For an air-gapped plant, ship model weights and container images on approved media, keep the index and logs local, and disable any outbound telemetry in the serving stack. Updates become a controlled change, like any other software on the plant network.

Permissions, write-back and honest limits

Mirror the access model you already have. Map each user to the areas, lines and units they may see, using the same groups that govern Plant Applications and Historian security. The tool server filters every query by that scope before it runs, and the retrieval index applies the same filter as metadata. If a user cannot open a unit in the Proficy clients, the assistant must not answer questions about it.

Write-back should be rare. Plant Applications can be updated through its supported interfaces, so an approved action such as adding a downtime reason comment can be proposed by the assistant and executed only after a named person approves it. Never let a language model write setpoints or tag values toward the control layer.

Limits: raw high-frequency data is large, so the assistant works best on aggregates and event windows, not on scanning months of one-second data. Older Proficy versions may lack interfaces you expect. If you only need trends and dashboards, the native Proficy clients are enough; the AI layer pays off for cross-system questions and for people who do not know the tag names.

Sizing and phased rollout

A site with a few hundred daily users and a modest document set typically needs one to two inference GPUs in the 24 to 48 GB class for a 7B to 32B class model, plus a CPU server for the index and tool server. Larger models and many concurrent users raise that; use a sizing calculator with your own numbers rather than a rule of thumb.

Phase 1 (weeks 1 to 6): read-only questions with cited sources and visible queries. Phase 2 (weeks 7 to 12): drafts such as shift summaries, downtime narratives and deviation write-ups for a human to edit. Phase 3: approved actions through supported APIs, each with an approval step and a log entry. Move to the next phase only when the accuracy review from the previous one is acceptable to the plant.

Try it here, free

GE Proficy AI Assistant Sizing and Value Calculator

Open full tool

Estimate GPUs, index size, hours saved and payback for a private AI assistant over GE Proficy.

Common pitfalls

  • !Letting the model write SQL against production tables. Use parameterised tools and views owned by your team.
  • !Querying the live Historian from the AI layer at high frequency and slowing collection or client trends.
  • !Indexing procedures without area metadata, so users see content from units they are not cleared for.
  • !Trusting model-recalled numbers. Every number in an answer should come from a tool result shown to the user.
  • !Putting the AI host on the control network. Keep it in a supervised zone with firewall rules limited to the sources it needs.
  • !Skipping a baseline question set, so nobody can say whether the assistant is right.

How an ERP-grounded AI assistant handles this

DataRay can sit over a Proficy reporting copy and document shares so engineers ask plain-language questions and see the exact query behind each answer. For deeper integration, Netray builds the tool server, retrieval index and local model serving on your hardware, with read-only defaults and human approval on anything that changes data.

Frequently asked questions

Can an AI assistant read Proficy Historian without sending data to the cloud?

Yes. The assistant queries Historian through a read-only service account over a documented client interface, the retrieval index lives on your server, and the model runs on local GPUs through vLLM or Ollama. Nothing needs to leave the site, and an air-gapped deployment works the same way.

Does the model see raw tag data?

Only what a tool call returns for that question and user. Tools return bounded aggregates or event windows, and the tool server enforces tag and unit scope. The model does not browse the archive.

Is this safe to run near the control system?

Keep the AI layer outside the control network, read-only, and fed from Historian or a mirror. It is advisory software, not part of a safety function, and it must never write to controllers or setpoints.

When is the native Proficy tooling enough?

If users only need trends, dashboards and standard reports, the Proficy clients cover it. Add an AI layer when people need questions across Historian, Plant Applications and documents, or cannot find the right tags.

What hardware do we need?

Usually one or two data-centre GPUs for the model plus a CPU server for retrieval and tools. The exact count depends on users, questions per day and model size, so size it from your own numbers.

Related

Advanced

How to Connect OPC UA Machine Data to Your ERP

Do not connect OPC UA servers straight to the ERP. Read machine tags through an edge gateway or MES, convert signals into business events (cycle complete, stop, state change, count), attach the work order context, and post summarised confirmations to the ERP through its supported API. The ERP wants quantities, times and reasons per order, not millions of raw tag values.

How-to

How to Calculate OEE from MES Data and ERP Standards

OEE equals Availability times Performance times Quality. Availability comes from MES run and stop events against planned production time, Performance compares actual output to the ideal cycle time (usually the routing standard from the ERP), and Quality is good units divided by total units. The numbers are only trustworthy if planned time, ideal cycle time and the good/scrap split are defined once and used consistently.

Advanced

ISA-95 and B2MML: How to Integrate ERP with MES

ISA-95 defines the boundary between business systems (Level 4, the ERP) and manufacturing operations (Level 3, the MES) and the information that crosses it. B2MML is the XML implementation of those models. In practice you exchange a ProductionSchedule from ERP to MES, and ProductionPerformance, plus material and equipment information, back, mapping each element to your ERP's work order and confirmation APIs.

How-to

How to Design Scrap and Downtime Reason Codes for MES and ERP

Keep one governed list of reason codes with a small hierarchy, owned in a single system and synchronised to the other. Separate scrap reasons from downtime reasons, mark each downtime code planned or unplanned and each scrap code as process, material, design or operator related, and map codes to ERP accounts or cost categories where accounting needs them. Fewer, clearer codes beat long lists nobody uses correctly.

How-to

How to Send Production and Labor Reporting from MES to ERP

Treat the ERP work order as the system of record for cost and quantity, and the MES as the system of record for what physically happened. Send one confirmation message per operation (or per shift or lot) containing work order, operation sequence, good quantity, scrap quantity with reason, and labor start/stop per employee and work center, post it through the ERP's supported transaction API, and make the message idempotent so a retry never double-posts.

How-to

How to Sync an NCR From Your QMS to ERP Quarantine and MRB Disposition

The reliable pattern is two events: when the NCR opens, the ERP moves or flags the affected lot or serial into a non-nettable quarantine status; when the Material Review Board closes it, the disposition (use as is, rework, repair, scrap, return to vendor) triggers exactly one matching ERP transaction. The NCR number is the key that ties both sides together.

AI for ERP

AI Agents for ERP, Running On-Prem

A practical guide to on-prem AI agents for ERP: what they can safely automate, where human approval belongs, and how to design the guardrails.

AI for ERP

An Air-Gapped Private LLM for SyteLine, Built for Defense Suppliers

Deploy a private LLM on an air-gapped network alongside Infor SyteLine for defense suppliers: no internet egress, ITAR and CMMC-aware architecture.

Stuck on GE Proficy (Historian, Plant Applications)?

Talk to engineers who work inside GE Proficy (Historian, Plant Applications) every week, and who build private AI that answers these questions from your own ERP data.

Keep exploring

Free tools

ERP fixes and how-tos

AI on your ERP

Software