Use consulapi for consul agent interaction