I couldn't find this easily before, but are there docs for how to build a new device that would be Home Assistant-ready right away to facilitate easy integration? Most of the docs appear to be how to get existing devices managed by Home Assistant..
You should be able to look through the supported Home Assistant components. MQTT, as mentioned, is a good example. You could also do a RESTful interface and use the REST component