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
| Guide | Read it when you want to |
|---|---|
| broker.md | look 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.md | install 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.md | record points, read their history, keep broker storage (storage) |
| scheduler.md | switch equipment on a weekly schedule, with special days and overrides |
| dql.md | collect values from many points into one table, or write them on to a target |
| alarm.md | raise alarms from points (range, boolean, staleness, quality), acknowledge them, send the records to a central database |
| uplink.md | send live values to an MQTT broker (UNS), a Sparkplug B host, ThingsBoard, Azure IoT Hub or AWS IoT Core |
| messenger.md | send 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/docker | run the broker and links in minimal scratch containers; image sizes and memory |
| filestores.md | connect S3, Google Drive, WebDAV or a local directory and move files |
| claude.md | connect Claude Desktop to the broker network as a gateway user (one-file extension, no API key) |
| mcp.md | let an AI assistant read the tree and propose changes for a person to approve |
| agent.md | work on the broker network from the command line (wyrm-agent), or run the AI agent link |
| flow-blocks.md | calculate in a dataflow with its 125 blocks; start from a ready-made flow in examples/flows |
| operations.md | run wyrmd under systemd or a container, know what a restart recovers and how fast, back up and restore data_dir |
| studio.md | build WYRM Studio, the Flutter app: layout, rules, the frx commands of each phase, every screen’s broker calls |
Protocol links
| Guide | Devices or services |
|---|---|
| modbus.md | Modbus TCP and RTU, as a master or as a slave |
| bacnet.md | BACnet/IP devices |
| opcua.md | OPC UA servers |
| s7.md | Siemens S7 PLCs |
| snmp.md | SNMP v2c and v3 agents |
| http.md | HTTP/REST services that answer JSON |
| prometheus.md | Prometheus 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.mdis the typing audit of 2026-11-15, with the status and order of work of each finding.security/threats.mdlists the threats and what answers each one.backlog.mdlists the work that is known and not done.