Welcome @Niclas Roos! Prefect agents are required to run somewhere in a process in order to poll the API for work. It could be in any python environment that has Prefect installed and access to any of the necessary dependencies for the platform that you are running flows with (docker, k8s, fargate, etc.)