Intelligent Agents and Their Capabilities
Perception carries information from the environment to the agent. Action carries the agent's effects back into the environment. Both directions are required.
Many Names, One Starting Idea
The word agent appears all over engineering. You may meet software agents, intelligent agents, user agents, conversational agents, and reinforcement learning agents. Each name points to a different kind of system, so it is easy to wonder whether these are unrelated ideas that just share a label. Before comparing them, it helps to settle on the base idea that the term rests on, because that base idea is what lets the word be used at all.
So the question for this article is simple: what makes something an agent in the first place? The source gives a short, direct answer. An agent is anything that can perceive its environment and act upon that environment. Every system in the list above can be analyzed with this definition, which is why it is the reliable starting point.
The Two Abilities in the Definition
An agent is anything that can perceive its environment and act upon that environment. The environment is the surroundings the agent is situated in.
Notice that the definition names two separate abilities and joins them with and. Perceiving means taking in information from the environment. Acting means doing something that affects that environment. The definition is not satisfied by one ability alone. An agent is characterized by its ability to perceive and to act, so both must be present together.
The small word upon matters too. It ties the two abilities into one loop: the agent acts on the same environment it perceives. The agent does not sense one world and change a different one. Its actions land back in the surroundings that its perception reads from.
Perception carries information from the environment to the agent. Action carries the agent's effects back into the environment. Both directions are required.
The Perceive-Act Loop
Read the definition as a path rather than a picture of parts. Information leaves the environment, reaches the agent as perception, and the agent responds with action that reaches back into the environment. Because the action changes the environment, the next perception the agent receives is shaped by what it just did. The path is therefore a loop, not a straight line.
The loop explains why the two abilities cannot be separated. Perception without action has no way to change what comes next. Action without perception has no information about the surroundings to guide it. The definition asks for both because the loop needs both halves to close.
Tracing a Heater Controller
Consider a simple heater controller in a room. You do not need any special vocabulary to describe it. The steps below are an original illustration written for this article, not taken from the source. Trace them in order and check each step against the two requirements from the definition.
Checking the heater controller against the definition
A controller reads the room temperature and switches a heater on or off. Does it count as an agent under the definition?
- 1Step 1: Perceive
The controller reads the room temperature. Information flows from the environment into the controller. This satisfies the perceiving requirement.
- 2Step 2: Decide
Using the reading, the controller determines whether the room needs more heat.
- 3Step 3: Act
The controller switches the heater on or off. This changes the environment, so the action satisfies the acting requirement.
- 4Step 4: Check the loop
The room warms or cools in response to the heater. The controller then perceives the new temperature. The action has fed back into what it perceives next.
The controller perceives its environment and acts upon it, so it meets both requirements and counts as an agent.
Removing One Half of the Definition
Now change one thing. Suppose the controller only displays the temperature and never switches anything. The perception is still there, but the action is gone. Before you read the answer, decide what the definition says about this version.
What do you think happens?
The heater controller now only displays the temperature and never switches the heater. Does it still count as an agent?
Reveal answer
No, because it lacks the acting half of the definition
The source states that perceiving alone or acting alone does not make something an agent. Without action, the system no longer meets the definition, even though its perception is unchanged. The ability to act is a required half of the definition, not a decoration added to perception.
Why Each Half Is Required
The source sets the two abilities side by side because they answer different questions. Perception answers what the system can learn about its surroundings. Action answers what the system can change in those surroundings. Keeping the questions apart makes it easier to see which half a system is missing.
Only the heater controller in the diagram meets the definition. The thermometer display perceives but never acts. The blind switch acts but never perceives its surroundings, so it has no information to act upon. Both of these systems are missing one half, and by the definition neither counts as an agent.
Following Information In and Action Out
A second way to see the two abilities is as flows in opposite directions. Perception carries information inward, from the environment to the agent. Action carries the agent's effects outward, back into the environment. The diagram below shows this as a path that starts and ends in the same place.
When you analyze a system, you can ask two separate questions. Which of its behaviours are inputs from the environment? Which of its behaviours change the environment? Each behaviour falls into one of these groups, and an agent needs at least one behaviour in each.
Mistakes When Identifying Agents
Common mistake Treating any system that reads data as an agent
What it looks likeA display that shows a sensor reading is treated as an agent because it takes in information.
Why it failsPerceiving alone does not make something an agent. The definition requires acting upon the environment as well.
Do this insteadCheck whether the system also produces an effect on its environment. If it does not, it fails the acting requirement.
Common mistake Treating any system that switches something as an agent
What it looks likeA switch that turns a light on at a fixed time is treated as an agent because it changes something.
Why it failsActing alone does not make something an agent. The definition also requires perceiving the environment.
Do this insteadCheck whether the system takes in information from its surroundings before it acts. If it does not, it fails the perceiving requirement.
Common mistake Thinking the action must be clever to count
Why it failsThe definition asks only that the system can act upon its environment. It does not require the action to be sophisticated.
Do this insteadFocus on whether an effect on the environment exists, not on how advanced that effect is.
Common mistake Assuming the two abilities can be checked separately and then forgotten
Why it failsThe definition joins perceiving and acting with and, and the word upon ties them to the same environment.
Do this insteadConfirm that the perception and the action both concern the same environment, forming one loop.
Classify Three Systems
A door opens automatically when a sensor detects someone approaching. For this system, list one behaviour that is perception and one behaviour that is action. Then state whether the system counts as an agent under the definition, and explain why in one sentence.
Hints
- Ask what the sensor takes in from the environment. That is the perceiving behaviour.
- Ask what the door does to the environment when it opens. That is the acting behaviour.
- If both behaviours act on the same surroundings, the definition is met.
A wall clock shows the time and never reads anything from its surroundings or changes them. Does it meet the definition? Name which half is missing, or explain why both halves are present.
Hints
- Decide whether the clock takes in any information from the environment.
- Decide whether the clock produces any effect on the environment.
Summary of the Definition
- 1An agent is anything that can perceive its environment and act upon that environment.
- 2Perceiving brings information from the environment to the agent, and acting carries the agent's effects back into the environment.
- 3Both abilities are required. Perceiving alone or acting alone does not make something an agent.
- 4When analyzing any system, check separately whether it perceives, whether it acts, and whether both act on the same environment.
At a glance
- An agent is anything that can perceive its environment and act upon that environment.
- Perception carries information from the environment to the agent, and action carries the agent's effects back into the environment.
- Both abilities are required; perceiving alone or acting alone does not make something an agent.
- The perceive-act path forms a loop, because each action changes the environment the agent perceives next.