Hello,
Thank you for your message.
Unfortunately, since Agent module is meant for spontaneous attended remote sessions, you would need a remote user restart Agent after the remote machine is restarted. However, you can simply use Host instead since it runs in a background as a service and starts up automatically upon the system start.
Let us know if you have more questions.