Entities that perceive their environment and take actions autonomously to achieve their goals in the field of artificial intelligence (AI). They can range from simple entities like thermostats to complex ones like human beings.
A self-driving car is an example of an agent, as it perceives its environment through sensors and cameras, and takes actions to navigate and reach its destination autonomously.