The Hoop.dev agent is a small, reliable, and cross-platform task runner that simplifies the process of running tasks on your infrastructure. It has three main responsibilities: polling Hoop for work, executing tasks, and reporting the task's status code and output log.
The agent operates by polling Hoop's control plane via HTTPS. There is no requirement to forward ports or grant incoming firewall access. You can deploy the agents on any number of machines and networks.
The agent begins by registering itself with the control plane. Once registered, it is placed into the agent pool of your organization. The agent regularly checks Hoop for new tasks and waits to accept an available job.
Once a task is accepted, the agent will execute the command, streaming back the output of the script and posting the final exit status.