One plant. One stack.
A system you can operate.
Industrial telemetry underneath. AI investigation on top. Explore the processes, boundaries and failure modes using the SRE concepts you already know.
“The AI is down” is not “the plant is down.”
Choose an outage. Separate the affected service, evidence availability and physical plant operation. These are architectural expectations, not measured recovery guarantees.
Alive ≠ ready ≠ fresh
/livezProcess responds. Not evidence of fresh telemetry./readyzDependency readiness; alert or drain on failure. A restart does not fix full storage.:4857/metricsIngest: token-protected Prometheus text.:4856/metricsAPI: JSON diagnostics, not a Prometheus scrape target.Operator-center's Compose check expects a 404 from a private route: gateway responsiveness, not proof the worker or model is healthy.
Three buffers. Different promises.
- Collector outboxRetains pending readings near the source.
- EMQX durable sessionsQueues subscribed QoS1 traffic across disconnections/restarts within configured limits.
- Ingest journalDurable staging before ClickHouse commit.
All are bounded. Track backlog, disk headroom, age and commit progress—not only connection status. Broker receipt is not the same as database commit.
Observe the evidence pipeline
- Stale samples and collector reconnects
- Journal / quarantine capacity and ingest readiness
- ClickHouse insert errors, free space and merge pressure
- Database health and backup age
- Agent progress, worker restarts, model failures and token spend
- Certificate, license and clock health
Prometheus/Grafana are not core containers. Integrate the supplied monitoring configuration with your own stack; add agent-level checks as needed.
One host is still one failure domain.
The baseline has one ingest replica and one broker. Operator-center owns local state. Do not add replicas against the same state directories. Measure restore time before promising RTO.
At 28c2997, storage.yaml persists a separate operator-state directory, but the inspected backup/restore scripts do not include it. Container persistence is not disaster-recovery coverage. Resolve and test this before production handover.
One image. Several roles. A stack per customer.
The core manifest has seven long-running services and one migration job. The collector runs separately near the source. Optional services and external dependencies are additional.
Same artifact, different commands
Also packaged: collector/tools, compiled UI and knowledge. A packaged binary is not necessarily a running service.
Libraries are not extra servers.
The plant's configured model takes precedence over fallback defaults. Plant-specific skills and tool overrides synchronize to the runtimes; console read shortcuts are separate from the worker’s scoped functions. Local JSON/SQLite runtime state must be protected. Jev is optional; no separate Jev container is defined here.
Customer factory
Linux host or VM on the plant network. Dedicated storage, approved identity provider and backup boundary. Windows factories can host a Linux VM; the OPC DA bridge is a separate Windows service when needed.
Customer cloud
Same intended stack in the customer's account. The current README describes a VM/private network design; cloud-specific Terraform automation is not a completed deployment claim.
Valak-hosted
Valak operates the stack in its infrastructure. The checked-in demo profile differs from the core plant stack: demo seeding and identity are present; core EMQX/ingest are not defined there.
Expose the edge, not databases
443: browser HTTPS through Caddy.
80: HTTPS redirect.
8883: external MQTT over TLS.
4856 / 4857 / 8792: private service ports, not plant-LAN dashboards.
OPC UA endpoint ports are source-specific. The core uses internal MQTT on the app network; external collector traffic uses TLS.
Identity, egress, model
Dex can be added as an identity module. Closed mode adds a deny-by-default egress proxy. A local or approved external model endpoint is provisioned separately; GPU inference is not a core Compose service.
External AI calls require approved egress and may carry selected evidence. “Closed mode” must not be used to imply zero external traffic when egress is enabled.
Valak Control
Central console + its own PostgreSQL, with release-signing and licensing functions. Connected stacks can send outbound HTTPS reports. Air-gapped stacks do not depend on online heartbeats.
Builder AI is a separately configured central drafting service for tools and skills—not a mandatory hop in each plant investigation. This Cloudflare learning website is neither the industrial runtime nor its control plane.
Evidence, not deployment promises
This page follows code at 28c2997. Some READMEs lag behind the Dockerfile and Compose wiring. No running plant, model endpoint, HA setup or recovery exercise was validated for this guide. All six pages were reviewed against this main revision on 5 October 2026. Market and incident research retain their separately dated external evidence.