Neil Natarajan
08/24/2022, 4:49 PMSam Garvis
08/24/2022, 4:51 PMNeil Natarajan
08/24/2022, 4:53 PMJean Luciano
08/24/2022, 4:58 PMRyan Peden
08/24/2022, 5:05 PMOrionAgent
class is documented here:https://docs.prefect.io/api-ref/prefect/agent/#prefect.agent.OrionAgent
and you can see how the CLI creates an and runs an agent here: https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/agent.py#L113
But note that prefect.utilities.services is not a documented part of Prefect's Python API so it may not be safe to count on it working in perpetuity.Neil Natarajan
08/24/2022, 5:07 PM