Cockpit tends to be less ad-hoc than others ime. Often it'll use dbus on the backend.
It's also socket activated, which is nice.