The Open Systems Assembly Protocol (OSAP!) is a new approach for the generation and integration of modular, interoperable hardware systems, and a love letter to computer plumbing and hardware heterogeneity.
This is the arduino library, that speaks to javascript and python (in the works) partners. See osap.tools for more detail.
The modular-things project is the most stable instantiation of an OSAP-based project.