The pagent is a software created by/for PurpleMaze, allowing a constant whitelist of the only used proxies, meaning that any scan attempt will fail. This way, attackers can't find your backend IP.
It does uses a REST API with the core infrastructure, exposing the port 6950. Every query is authenticated, and the source code is available here :