Artificial IntelligenceAgents in Artificial IntelligenceThe study of rational agents is referred to as artificial intelligence. A rational agent might be any…