Artificial intelligence has the potential to help military forces handle a variety of situations, both defined and undefined. It could also be used in hostile environments, increasing the effectiveness of troops.