Reading preferences
Concept

What Is Artificial Intelligence?

Meet intelligent agents through a familiar task and learn what rational behaviour means.

artificial intelligence, agents, rationality

A helper that observes and acts

Imagine a small robot that cleans a classroom floor. It senses whether the square beneath it is dirty, then chooses to clean or move. An agent is something that observes an environment and acts in it. The robot's sensor provides an observation; cleaning or moving is an action.

Artificial intelligence (AI) studies ways to build systems that perform tasks involving perception, reasoning, learning or decision-making. A simple rule-based robot is an agent; an agent does not have to use a language model.

Follow one decision

  1. The robot observes a dirty square.
  2. Its rule chooses to clean that square.
  3. The square is clean afterward, although the robot has not checked the rest of the room.

See the reasoning

Observe and act

Follow one cleaning decision, not an entire room. This is a prepared demonstration, not live code execution.

Observe dirt

Robot and current square
  1. SensorSquare dirtyCurrent focus
  2. ActionNot chosen
  3. SquareDirty

The agent receives one observation from its sensor.

What makes a choice rational?

A performance measure describes what the designer values, such as a clean floor without wasting energy. A rational agent chooses an action expected to perform well according to that measure, given its observations and knowledge. Rational does not mean all-knowing or always successful: a sensor may miss dirt, and an energy-saving action may leave an unseen square dirty. Changing the measure can change which action is best.

A short history and a caution

The field took its name at a 1956 research workshop. Early systems explored symbolic rules and search; later work expanded statistical learning and neural networks. These approaches coexist rather than forming a single ladder of progress. Systems can be brittle, biased or confidently wrong. Define the task, test its limits, and keep people responsible for consequential decisions.

Reflect on the concept

Four fixed questions to reinforce the reasoning. Answers are not saved or scored.

1. What is an agent in this lesson?
2. What is a robot's observation in the example?
3. Does a rational choice guarantee success?
4. Why should we test an AI system in different situations?

References and further reading