An agent to execute commands in response to mqtt messages and publish output of commands to mqtt topics