Week_2_A_Intelligent Agents
Week_2_A_Intelligent Agents
Agent
WEEK – 2, PART – A
ABDUL BASEER BURIRO
This Chapter (Week) `ll Cover
• Agents
• Environments
• The Nature of Environments
• The structure of agents
• The Components of Agent Programs
Rational Agent – A Quick Recall
An agent is anything that can be
viewed as:
◦ Perceive its environment through sensors
◦ Act upon that environment through
actuators
Built-in
Percepts Actions
Knowledge
Agent Function – Example
Note that the table is of unbounded size unless there is a restriction on the
length of possible percept sequences.
Good Behavior: Rationality
Concept
•An agent that does the right things is a rational agent
•Right thing? (how to measure)
•Desirable sequence (Performance measure)
• Performance measure needs to be specified correctly
• There is a possibility that the wrong purpose is being put into the machine —
precisely the King Midas problem
King Midas Problem
•Many cultures have myths of humans who ask
for something.
•Invariably, they get what they literally ask for,
and then regret it.
•The third wish, if there is one, is to undo the
first two. The King Midas problem
• Midas, a legendary King in Greek mythology,
asked that everything he touched should turn
to gold, but then regretted it after touching his
food, drink, and family members
Rationality
•Rationality at a given time depends on four things:
1. The performance measure that defines the criterion of success
2. The agent’s prior Knowledge of the environment
3. The actions that agent can perform
4. The agent’s percept sequence to date
• For each possible percept sequence, a rational agent should select an action
that is expected to maximize its performance measure, given the evidence
provided by the percept sequence and whatever built-in knowledge the agent
has.
Is it a Rational Agent? – Example