Skip to content
@otfabric

OT Fabric

Open-source OT protocol libraries and tools: OPC UA, Modbus, IEC 104, IEC 61850, BACnet, S7, SunSpec. Built by people and AI agents.

OT Fabric

Unified data for industrial operations.

Built by people and AI agents together, OT Fabric creates open-source protocol libraries and tools that break down OT data silos, so industrial data is easy to discover, access and use across systems, sites and teams.

Why

Industrial data is valuable, but it is locked inside PLCs, RTUs, meters, inverters and building controllers. Every device speaks its own protocol, documentation is often incomplete, and integrations are rebuilt from scratch for every site and vendor. Teams spend their time fighting connectivity instead of using the data.

At the same time, the opportunity has never been bigger. Interconnecting devices unlocks better operations in factories, buildings and infrastructure. Energy is one of the clearest examples: a sustainable, decentralized grid only works when solar inverters, batteries, meters and substations can exchange data reliably.

We think the foundation for industrial connectivity should be open, well tested and reusable, so that nobody has to solve the same protocol problem twice.

What we build

Protocol libraries. Pure Go clients and servers, built for production use:

Protocol Library CLI
OPC UA go-opcua opcuactl
Modbus TCP/RTU go-modbus modbusctl, modbus-simulator
IEC 60870-5-104 go-iec104 iec104ctl
IEC 61850 / MMS go-iec61850, go-mms iec61850ctl
BACnet/IP go-bacnet bacnetctl
Siemens S7 go-s7comm s7commctl
SunSpec go-sunspec sunspecctl

Transport building blocks. go-cotp, go-tpkt and go-serial for ISO-on-TCP and RS-232/RS-485 links.

Discovery. go-otfp fingerprints OT protocols so you can see what is actually running on a network.

Interoperability testing. Dockerized and fixture-based suites run our implementations against other stacks: opcua-interop, modbus-interop, iec104-interop, bacnet-interop, mms-interop and snap7-interop.

How we build

OT Fabric is built by people and AI agents working together. We are heading toward a reality where LLMs write better code and deliver more secure software, and we build for that reality today. Engineers bring the domain knowledge of real OT systems, set direction and own every decision. Agents bring speed, breadth and tireless attention to detail. Each makes the other better.

Speed alone is not the goal. Industrial protocols leave no room for "mostly works," so everything we ship, whoever or whatever wrote it, is held to the same bar: public code, public tests and interoperability suites that check it against other implementations. Our repositories are written to be easy for agents to work in, and for people to review, so contributors can bring their own agents too.

Principles

  • Practical. Built for real OT networks: legacy devices, private networks and imperfect documentation.
  • Open, MIT first. Public code and public tests under the MIT license by default, so anyone can use, inspect and build on how a device is being talked to.
  • Modular. Use one library, one CLI or the whole stack.
  • Proven. If it ships, it interoperates. That is why every protocol gets a test suite.
  • Observable. Diagnostics and visibility are built in from the start.
  • People and agents. Built by engineers and AI agents together, and structured so both can understand, extend and test the code.

Where we're heading

The protocol layer is the foundation. From there, we're building toward:

  • Full coverage of all relevant OT protocols, so any industrial device can be reached with the same open, tested toolkit.
  • IT2OT gateways and data connectors that move OT data safely into the IT, cloud and analytics systems that need it.
  • OT MCP servers for agentic interaction, giving AI agents a structured, safe way to discover, read and work with industrial devices.

Who it's for

  • Energy and electricity startups moving the needle on sustainability: building the software that connects solar, storage, EV charging, grid and DER equipment in an increasingly connected world.
  • OT and automation engineers who commission, troubleshoot and maintain field devices.
  • System integrators who connect equipment from many vendors across many sites.
  • SCADA and edge builders who need dependable protocol stacks.
  • Data and software teams who need reliable access to industrial devices.

Get involved

Everything is MIT-licensed unless a repository says otherwise. Try a CLI, open an issue, or contribute a fix, written by you, your AI agent or both of you. If you work on industrial connectivity, we'd love to hear from you at otfabric.io.

Popular repositories Loading

  1. go-iec61850 go-iec61850 Public

    Pure Go IEC 61850 library for MMS client/server, GOOSE and Sampled Values (SV) pub/sub. SCL parsing, reports, IED controls and raw Ethernet.

    Go 7 3

  2. go-modbus go-modbus Public

    Modern Go (Golang) Modbus TCP/RTU client and server library. Supports TLS, typed register codecs, SunSpec discovery, connection pooling, retries, and industrial IoT.

    Go 5 1

  3. go-opcua go-opcua Public

    Pure Go OPC UA client and server library for SCADA and industrial automation. Secure connections, subscriptions, events, historical data and methods. No CGO.

    Go 4 3

  4. go-iec104 go-iec104 Public archive

    Pure Go IEC 60870-5-104 (IEC 104) client and server library for SCADA, RTUs and industrial automation. TLS, no CGO, interoperability tested.

    Go 3 1

  5. go-mms go-mms Public

    Pure Go MMS (ISO 9506) client/server library over RFC 1006. BER, ACSE, variable read/write, reports, files and journals for IEC 61850.

    Go 2 2

  6. iec61850ctl iec61850ctl Public

    Pure Go IEC 61850 CLI for MMS, GOOSE and Sampled Values (SV). Discover IEDs, browse/control data, monitor reports, sniff/publish frames and parse SCL.

    Go 2

Repositories

Showing 10 of 73 repositories
  • bacnetctl Public

    BACnet/IP command-line tool (CLI) for device discovery, property read/write, COV monitoring, alarms, BBMD and network diagnostics, and a simulated BACnet device for testing clients. Pure Go, standalone binaries.

    otfabric/bacnetctl's past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 19, 2026
  • go-bacnet Public

    Pure Go BACnet/IP client and server library for building automation, HVAC and BMS. Device discovery, property read/write, COV subscriptions, alarms, BBMD and routing. No CGO.

    otfabric/go-bacnet's past year of commit activity
    Go 0 MIT 1 0 2 Updated Nov 18, 2026
  • go-tpkt Public

    Pure Go TPKT framing library for RFC 1006/2126. Encode, decode and stream ISO transport packets for COTP, Siemens S7comm and MMS/IEC 61850 stacks.

    otfabric/go-tpkt's past year of commit activity
    Go 1 MIT 1 0 0 Updated Nov 18, 2026
  • go-sunspec Public

    Go (Golang) SunSpec Modbus library and CLI. Discover and read solar inverters, meters, batteries and DER devices over Modbus TCP/RTU, with typed, scaled values from 112 built-in SunSpec models.

    otfabric/go-sunspec's past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 18, 2026
  • go-sparkplugb Public

    Pure Go Sparkplug B 3.0 MQTT library for Edge Nodes, Hosts and Applications. Protobuf metrics, birth/death lifecycle, aliases and server walking.

    otfabric/go-sparkplugb's past year of commit activity
    Go 1 MIT 0 1 0 Updated Nov 18, 2026
  • go-serial Public

    Cross-platform Go (Golang) serial port library for UART, RS-232 and RS-485. Supports Linux, macOS, Windows, BSD, typed configuration and Modbus RTU.

    otfabric/go-serial's past year of commit activity
    Go 0 MIT 1 0 1 Updated Nov 18, 2026
  • go-profinet Public

    Pure Go PROFINET IO Controller/Device library with cyclic RT I/O, DCP, LLDP, GSDML, alarms, MRP and raw Ethernet support on Linux, macOS and Windows.

    otfabric/go-profinet's past year of commit activity
    Go 2 MIT 1 0 0 Updated Nov 18, 2026
  • go-ocpp Public

    Pure Go OCPP 1.6J, 2.0.1 & 2.1 library for EV charging stations and CSMS. Typed messages, schema validation, WebSocket, TLS and bidirectional RPC.

    otfabric/go-ocpp's past year of commit activity
    Go 2 MIT 0 0 0 Updated Nov 18, 2026
  • go-modbus Public

    Modern Go (Golang) Modbus TCP/RTU client and server library. Supports TLS, typed register codecs, SunSpec discovery, connection pooling, retries, and industrial IoT.

    otfabric/go-modbus's past year of commit activity
    Go 5 MIT 1 0 0 Updated Nov 18, 2026
  • go-cotp Public

    Pure Go COTP/ISO 8073 TP0 transport and X.224 TPDU codec over RFC 1006/TPKT. Client/server sessions, negotiation, and segmentation for S7comm and MMS.

    otfabric/go-cotp's past year of commit activity
    Go 0 MIT 1 0 0 Updated Nov 18, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…