Creating and Testing The Supervisor Agent