Artificial intelligence is defined as a study of rational agents. A rational agent could be anything which makes decisions, as a person, firm, machine, or software. An agent is anything that can be viewed as: perceiving its environment through sensors and. acting upon that environment through actuators. In artificial intelligence, an intelligent agent (IA) refers to an autonomous entity which acts, directing its activity towards achieving goals.