Skip to content

About

The open suite for process plants. Historian, analytics, alarms, dashboards, models and documents, built to work with AI.

Resources

Code of conduct

Contributing

Security policy

Stars

161 stars

Watchers

2 watching

Forks

Latest commit

 

History

266 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
PlantCraft

PlantCraft

Industrial software for process engineers. Spend your time on the plant, not on building the tools.

Website · Videos · Install · Getting started · Security guide

PlantCraft is a complete, open suite: historian, analytics, alarms, dashboards and diagrams, process models and plant documents in one place, built to work with AI. You ask, and the assistant builds the method, the block, the rule or the dashboard. You go straight to where the plant has a problem, and plan the fix with your team.

⭐ If PlantCraft is useful to you, or you would like to see it grow, star this repository. It is the simplest way to help an open industrial project get found.

Open, Secure, LLM-first, Fast

  • Open: all code and methods. Every line of code and every method is open (Apache-2.0), with no paid edition and no locked feature. A finding says how it was reached, and the algorithm behind it is blocks and Python you can read, change and share. Apps work together only through what they publish, so a new app for your process, your research or your client starts from the app template and slots in beside the official ones.
  • Secure: offline, read-only. It installs from one signed bundle with no internet, never writes to a DCS, PLC or historian, publishes one HTTPS port and asks for sign-in by default. No language model is called until an administrator sets one up. The security guide maps it to the Purdue model and IEC 62443.
  • LLM-first: ask, don't build. Every page has an assistant that proposes the block, the algorithm, the alarm rule or the model with its fields filled in, and answers questions from the plant's own data, results and documents. Your own AI can read the plant too, through a read-only MCP server (assistant access). It is off until an administrator connects a model: turn it on.
  • Fast: value in days, not months. The demo suite installs from the offline bundle in about ten minutes, and Analytics checks every loop and signal from its first round, the worst first, each with a sentence that says why (sizing).

The suite

One platform, every plant tool. Each app runs in its own container and shares the same people, plant assets, signals and look; an installation picks the apps it needs.

App Folder What it does
PlantCraft Analytics apps/link Scheduled monitors, diagnostics and KPIs for signals and control loops: finds bad data, oscillation, sticking valves and manual mode, and says why
PlantCraft Historian apps/historian The data layer: every plant connection (OPC UA, PI Web API, MQTT, Modbus TCP, SQL, CSV) and every history, read-only toward the plant
PlantCraft View apps/view Dashboards, process diagrams, scheduled reports and saved trends of any signal, shared with people or by a public link
PlantCraft Alarms apps/alarms Rules that raise ISA-18.2 alarms and alerts from signals and results, the Active list, history and alarm performance
PlantCraft Models apps/models Block-diagram models (Modelica underneath): draw or write them, simulate them on plant data, run studies and export FMUs
PlantCraft Documents apps/documents The plant's documents in one library (manuals, P&IDs, procedures, maintenance records), linked to the assets and searched by words and meaning; the assistant cites document, revision and page
PlantCraft Simulator simulator The simulated plant (OPC UA) behind the demo and the benchmarks
App template templates/app, published as plantcraft-app-template StarterCraft, the starting point for an app of your own: only the basics, full guides and recipes, tests and prompts for Claude Code, tried inside PlantCraft with make dev

Desk (each person's day) and Notebooks (JupyterLab with the plant's data) are part of the platform itself, at the root of this repository with the SDK (sdk/python) and the shared interface (ui). Ports, prefixes and versions: docs/suite.md.

How it fits together

flowchart LR
    people(["People"]) --> platform
    subgraph platform["PlantCraft platform"]
        p["People and access · assets and signals<br/>results and events · Desk · Notebooks · assistant"]
    end
    subgraph apps["Apps, one container each"]
        a["Historian · Analytics · View · Alarms<br/>Models · Documents · your app"]
    end
    apps <-->|"API v1"| platform
    apps -->|"read-only"| plant[("Plant: OPC UA, PI,<br/>MQTT, Modbus, SQL")]
Loading

The platform holds what every app shares; each app keeps only its own objects and methods and talks to the platform through one contract, API v1. Apps never call each other: they publish results and events and read what the others published. That is what lets anyone add an app without touching the rest. The full picture, with how the apps find one sticky valve together: docs/architecture.md.

Try it

  • Watch it: short videos of every app on plantcraft.io and YouTube, recorded on the demo plant.
  • On your own server: install PlantCraft from the offline bundle on Linux, macOS or Windows (./install.sh --demo adds the demo plant), then take the Getting started tour.
  • Questions: open an issue.

Run locally

From a checkout, the whole suite with the demo plant and the site, on your machine and in a folder of its own (~/plantcraft-preview), without publishing anything:

make preview          # with Docker: the suite at https://localhost:8260, the site at :8261
make preview-light    # without Docker: every server from source, the suite at http://127.0.0.1:8260
make preview-shots    # screenshots of the main pages; make preview-down stops it

Details, options and the other ways to run it from source: docs/development.md.

Documentation

Start with Install PlantCraft, the Getting started tour, the suite at a glance and how we build. The full index is in docs/README.md. The user guides are also in the app, under Help.

Built with AI, in the open

PlantCraft is written almost entirely by Claude Code, directed by a process engineer who decides what to build, reviews the results and owns every decision. We say so openly: it is how industrial software can reach researchers and process engineers who would never get a licence for it, and it is why the rules are strict. One standard for every module, tests that fail on network access, junk input, upward imports and slow tests, oracles on public data, and a security audit per stage (AGENTS.md, how we build).

Contribute

Bug reports, methods, translations, docs and apps are all welcome. Start by finding where your change lands:

You want to Where First
Fix a bug or improve one app apps/<app>/ A pull request, with make ci green in that folder
Add a method, a block, an algorithm or an example Inside the app that owns it A pull request with its public reference and tests
Change the platform, the SDK, the shared interface or API v1 (the core) plantcraft/, sdk/, ui/, frontend/ An issue, and a maintainer's agreement on the approach
Build an app for your process or client Your own repository, from templates/app Nothing here: it installs as a signed package

The rules, the checks and how a pull request is reviewed: CONTRIBUTING.md. Running it from source, the command line and the settings: docs/development.md. To report a vulnerability, see SECURITY.md. Everyone in the project follows the code of conduct.

PlantCraft is in alpha. If it helps you, ⭐ star the repository and tell us what you run it on.

Release notes: CHANGELOG.md · Videos: YouTube · plantcraft.io.

License

Apache License 2.0. See LICENSE and NOTICE. The names and logos are not part of the license: see TRADEMARKS.md.

About

The open suite for process plants. Historian, analytics, alarms, dashboards, models and documents, built to work with AI.

Resources

Code of conduct

Contributing

Security policy

Stars

161 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages