Types of Agents: There are five types of agent. Special agent, general agent,Intelligent agents perceive it from the environment via sensors…