Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

WYRM documentation

Start with the root README: what WYRM is, a quick start with one broker, and the demo of three sites (examples/demo/run.sh).

Guides

GuideRead it when you want to
broker.mdlook up the broker’s own trees: sys/** (links, packages, tokens, quarantine, logs, history, audit), profiles, storage, two or more brokers, the gateway, flows from the CLI
links.mdinstall a link while the broker runs, package one, give it network or grants; §12a: the official links (links/official.json, packages.repository: "official", the release workflow)
history.mdrecord points, read their history, keep broker storage (storage)
scheduler.mdswitch equipment on a weekly schedule, with special days and overrides
dql.mdcollect values from many points into one table, or write them on to a target
alarm.mdraise alarms from points (range, boolean, staleness, quality), acknowledge them, send the records to a central database
uplink.mdsend live values to an MQTT broker (UNS), a Sparkplug B host, ThingsBoard, Azure IoT Hub or AWS IoT Core
messenger.mdsend alarms and reports to chat platforms from templates and recipients; telegram.md: paired users read and set points; slack.md: mrkdwn and Block Kit
../deploy/dockerrun the broker and links in minimal scratch containers; image sizes and memory
filestores.mdconnect S3, Google Drive, WebDAV or a local directory and move files
claude.mdconnect Claude Desktop to the broker network as a gateway user (one-file extension, no API key)
mcp.mdlet an AI assistant read the tree and propose changes for a person to approve
agent.mdwork on the broker network from the command line (wyrm-agent), or run the AI agent link
flow-blocks.mdcalculate in a dataflow with its 125 blocks; start from a ready-made flow in examples/flows
operations.mdrun wyrmd under systemd or a container, know what a restart recovers and how fast, back up and restore data_dir
studio.mdbuild WYRM Studio, the Flutter app: layout, rules, the frx commands of each phase, every screen’s broker calls
GuideDevices or services
modbus.mdModbus TCP and RTU, as a master or as a slave
bacnet.mdBACnet/IP devices
opcua.mdOPC UA servers
s7.mdSiemens S7 PLCs
snmp.mdSNMP v2c and v3 agents
http.mdHTTP/REST services that answer JSON
prometheus.mdPrometheus and OpenMetrics endpoints

The history sync links (links/postgres, mysql, mongodb, influxdb, dynamodb) send the historian’s data to an external database. ADR 0026 describes them.

Every protocol link has a simulator. The guides show how to run it. No link has been checked against a real device yet (ADR 0029, decision 5).

Rules and decisions

  • spec/ is the normative protocol: keys, metadata, values, tokens, methods, flows.
  • adr/ holds one file per decision. ADR 0029 collects the decisions the owner delegated on 2026-10-31. ADR 0031 says what happens to each finding of the security review of 2026-10-31 (security/review-2026-10-31.md). security/review-2026-11-15-typing.md is the typing audit of 2026-11-15, with the status and order of work of each finding.
  • security/threats.md lists the threats and what answers each one.
  • backlog.md lists the work that is known and not done.