You are on page 1of 14

AI & AT

Intelligent Agents
Recap: Some Definitions
of AI
Thinking rationally: The
“laws of thought” approach
The Greek philosopher Aristotle
was one of the first to attempt to
codify “right thinking,” that is,
irrefutable reasoning processes
His syllogisms provided patterns
for argument structures that
always yielded correct conclusions
when given correct premises
◦ for example, “Socrates is a man; all men
are mortal; therefore, Socrates is mortal.”
These laws of thought were supposed
to govern the operation of the mind;
their study initiated the field called
logic
Acting rationally:
The rational agent approach
An agent is just something
that acts (agent comes from
the Latin agere, to do)
A rational agent is one that
acts so as to achieve the best
outcome or, when there is
uncertainty, the best expected
outcome
Advantages
More general than the “laws of
thought” approach because
correct inference is just one of
several possible mechanisms for
achieving rationality
more amenable to scientific
development than are
approaches based on human
behavior or human thought
Concept of Rational
Agents
Central to our approach to
artificial intelligence
It can be applied to a wide variety of
agents operating in any imaginable
environment
We use this concept to develop a
small set of design principles for
building successful agents—systems
that can reasonably be called
intelligent
Agents
An agent is anything that can be
viewed as perceiving its
environment through sensors
and acting upon that
environment through actuators
Agent function
The agent function maps from percept
histories to actions

The agent program runs on the


physical architecture to produce the
agent function

agent = architecture + program


Vacuum-cleaner world
Percepts:
Location and status,
e.g., [A,Dirty]
Actions:
Left, Right, Suck, NoOp

Example vacuum agent program:

function Vacuum-Agent([location,status]) returns


an action
if status = Dirty then return Suck
else if location = A then return Right
else if location = B then return Left

You might also like