Can you post some information about this local API? I'd love an interface for building end-to-end encrypted bots, but I haven't found anything that allows that yet.
We have already written a number of internal bots at Keybase. We have one that posts all our github commits into a channel, for example.