added and tested code to list and delete Setup CLI agents