Artificial intelligence is defined as the study of rational agents. A rational agent could be anything that makes decisions, as a person, firm, machine, or software. An AI system is composed of an agent and its environment. The agents act in their environment.
- perceiving its environment through sensors
- acting upon that environment through actuators