To work in AI, you should major in computer science or a related field such as mathematics, engineering, or data science. Your studies should include machine learning, algorithms, and statistics courses focusing on developing AI tools. A more senior role may require an advanced degree such as a master's or Ph.D.