Answer
The agent receives input about its environment or task, reasons about what action would help achieve its goal, and then carries out that action, sometimes repeating this cycle many times.
Real-world example An AI agent can be given a goal like booking a flight and then independently search, compare, and complete the booking steps.