code: def get_agents():
      
  
      agent_list = []
      agents = __get_all_agents()
      for agent in agents:
          agent_list.append(agent["hostname"])
  
      return agent_list
docs: Provides a list of hostnames / IPs of all agents in the cluster