The United States and like-minded countries including India need to work together to shape the course of artificial intelligence, Arati Prabhakar, the Science Advisor to President Joe Biden, said on Friday as the administration roped in several IT giants like Google and Microsoft to ensure that it is not misused and is being used for public good.