Week 2
Week 2
To understand the structure of Intelligent Agents, we should be familiar with Architecture and
Agent programs. Architecture is the machinery that the agent executes on. It is a device with
sensors and actuators, for example, a robotic car, a camera, a PC. Agent program is an
implementation of an agent function. An agent function is a map from the percept
sequence(history of all that an agent has perceived to date) to an action.
Agent = Architecture + Agent Program
Examples of Agent:
• A software agent has Keystrokes, file contents, received network packages which act
as sensors and displays on the screen, files, sent network packets acting as actuators.
• A Human-agent has eyes, ears, and other organs which act as sensors, and hands, legs,
mouth, and other body parts acting as actuators.
• A Robotic agent has Cameras and infrared range finders which act as sensors and
various motors acting as actuators.
Types of Agents
Agents can be grouped into four classes based on their degree of perceived intelligence and
capability:
Utility-based agents
The agents which are developed having their end uses as building blocks are called utility-
based agents. When there are multiple possible alternatives, then to decide which one is best,
utility-based agents are used. They choose actions based on a preference (utility) for each
state. Sometimes achieving the desired goal is not enough. We may look for a quicker, safer,
cheaper trip to reach a destination. Agent happiness should be taken into consideration.
Utility describes how “happy” the agent is. Because of the uncertainty in the world, a utility
agent chooses the action that maximizes the expected utility. A utility function maps a state
onto a real number which describes the associated degree of happiness.
Learning Agent:
A learning agent in AI is the type of agent that can learn from its past experiences or it has
learning capabilities. It starts to act with basic knowledge and then can act and adapt
automatically through learning.
A learning agent has mainly four conceptual components, which are: