SlideShare a Scribd company logo
June 25, 2024 Artificial Intelligence, Lecturer #8 1
Artificial Intelligence
Lecture #08
June 25, 2024 Artificial Intelligence, Lecturer #8 2
Contents
 Agents and Intelligent Agents
 Agents And Environment
 Agent Function & Agent Program
 Properties of Agent
 Concept of Rationality
 Nature of Environment
 PEAS (Performance measure, Environment,
Actuators, Sensors)
 The Structure of Agent
June 25, 2024 Artificial Intelligence, Lecturer #8 3
Agents and Intelligent Agents
An agent is anything that can be viewed as
 perceiving its environment through sensors and
 acting upon that environment through actuators
 An intelligent agent acts further for its own interests.
June 25, 2024 Artificial Intelligence, Lecturer #8 4
Example of Agents
 Human agent:
• Sensors: eyes, ears, nose….
• Actuators: hands, legs, mouth, …
 Robotic agent:
• Sensors: cameras and infrared range finders
• Actuators: various motors
 Agents include humans, robots, thermostats, etc
 Perceptions: Vision, speech reorganization, etc.
June 25, 2024 Artificial Intelligence, Lecturer #8 5
Agent Function & program
 An agent is specified by an agent function f that maps seque
nces of percepts Y to actions A:
 The agent program runs on the physical architecture to prod
uce f
• agent = architecture + program
 “Easy” solution: table that maps every possible sequence Y
to an action A
0 1
0 1
{ , ,..., }
{ , ,..., }
:
T
T
Y y y y
A a a a
f Y A



June 25, 2024 Artificial Intelligence, Lecturer #8 6
Agents and Environments
 The agent function maps from percept histories
(sequences of percepts) to actions:
[f: P*  A]
June 25, 2024 Artificial Intelligence, Lecturer #8 7
Example: A Vacuum-Cleaner Agent
A B
 Percepts: location and contents, e.g., (A,dust)
• (Idealization: locations are discrete)
 Actions: move, clean, do nothing:
LEFT, RIGHT, SUCK, NOP
June 25, 2024 Artificial Intelligence, Lecturer #8 8
Example: A Vacuum-Cleaner Agent
June 25, 2024 Artificial Intelligence, Lecturer #8 9
Properties of Agent
 mobility: the ability of an agent to move around in an
environment.
 veracity: an agent will not knowingly communicate fa
lse information
 benevolence: agents do not have conflicting goals, an
d that every agent will therefore always try to do what
is asked of it
 rationality: agent will act in order to achieve its goals,
and will not act in such a way as to prevent its goals b
eing achieved.
 learning/adoption: agents improve performance over
time
June 25, 2024 Artificial Intelligence, Lecturer #8 10
Agents Vs. Objects
 agents are autonomous:
agents embody stronger notion of autonomy than objects, and in
particular, they decide for themselves whether or not to perform a
n action on request from another agent
 agents are smart:
capable of flexible (reactive, pro-active, social) behavior, and the
standard object model has nothing to say about such types of beh
avior
 agents are active:
a multi-agent system is inherently multi-threaded, in that each ag
ent is assumed to have at least one thread of active control
June 25, 2024 Artificial Intelligence, Lecturer #8 11
The Concept of Rationality
 What is rational at any given time depends
on four things:
The performance measure that defines the criterio
n of success.
The agent’s prior knowledge of the environment.
The actions the agent can perform.
The agent’s percept sequence to date.
June 25, 2024 Artificial Intelligence, Lecturer #8 12
Rational Agents
 Rational Agent:
For each possible percept sequence, a rational agent
should select an action that is expected to maximize it
s performance measure.
 Performance measure: An objective criterion for succ
ess of an agent's behavior, given the evidence provide
d by the percept sequence.
June 25, 2024 Artificial Intelligence, Lecturer #8 13
Nature of Task Environment
 To design a rational agent we need to specify a t
ask environment
• a problem specification for which the agent i
s a solution
 PEAS: to specify a task environment
• Performance measure
• Environment
• Actuators
• Sensors
June 25, 2024 Artificial Intelligence, Lecturer #8 14
PEAS: Specifying an Automated
Taxi Driver
Performance measure:
• safe, fast, legal, comfortable, maximize profits
Environment:
• roads, other traffic, pedestrians, customers
Actuators:
• steering, accelerator, brake, signal, horn
Sensors:
• cameras, sonar, speedometer, GPS
June 25, 2024 Artificial Intelligence, Lecturer #8 15
PEAS: Another Example
 Agent: Medical diagnosis system
 Performance measure: Healthy patient, minimize costs.
 Environment: Patient, hospital, staff
 Actuators: Screen display (questions, tests, diagnoses, tre
atments, referrals)
 Sensors: Keyboard (entry of symptoms, findings, patient's
answers)
June 25, 2024 Artificial Intelligence, Lecturer #8 16
Properties of Task Environment
 Fully observable :(vs. partially observable): An agent's senso
rs give it access to the complete state of the environment at eac
h point in time.
 Deterministic (vs. stochastic): The next state of the environme
nt is completely determined by the current state and the action
executed by the agent.
 If the environment is deterministic except for the actions of
other agents, then the environment is strategic
June 25, 2024 Artificial Intelligence, Lecturer #8 17
 Episodic (vs. sequential): The agent's experience is divided in
to atomic episodes during which the agent perceives and then
performs a single action, and the choice of action in each episo
de depends only on the episode itself.
 Episodic environments are simpler from the agent developer’s
perspective because the agent can decide what action to perfor
m based only on the current episode — it need not reason abou
t the interactions between this and future episodes.
Properties of Task Environment
June 25, 2024 Artificial Intelligence, Lecturer #8 18
 A static environment is one that can be assumed to
remain unchanged except by the performance of a
ctions by the agent
 A dynamic environment is one that has other proc
esses operating on it, and which hence changes in
ways beyond the agent’s control.
The physical world is a highly dynamic environment.
Properties of Task Environment
Static Vs. Dynamic
June 25, 2024 Artificial Intelligence, Lecturer #8 19
Discrete vs. continuous
An environment is discrete if there are a finite nu
mber of distinct states in the environment and a di
screte set of percepts and actions.
 The game of chess is an example of a discrete environment,
automated taxi driver is a continuous-state and continuous-t
ime problem.
Discrete environments could in principle be handl
ed by a kind of “lookup table”
Properties of Task Environment
June 25, 2024 Artificial Intelligence, Lecturer #8 20
Structure Of Agent
 Goals
• Given a PEAS task environment
• construct agent function f,
• design an agent program that implements f on a particul
ar architecture
• Agent= Architecture +program.
 Agent Architecture:
• Computing device with physical sensor and actuator.
• Makes the percept from the sensors and make it available
to the program.
• Runs the program
• Feeds the program action choices to the actuators.
June 25, 2024 Artificial Intelligence, Lecturer #8 21
Recommended Textbooks
 [Negnevitsky, 2001] M. Negnevitsky “ Artificial Intelligence: A guide to
Intelligent Systems”, Pearson Education Limited, England, 2002.
 [Russel, 2003] S. Russell and P. Norvig Artificial Intelligence: A Modern
Approach Prentice Hall, 2003, Second Edition
 [Patterson, 1990] D. W. Patterson, “Introduction to Artificial Intelligence
and Expert Systems”, Prentice-Hall Inc., Englewood Cliffs, N.J, USA, 19
90.
 [Minsky, 1974] M. Minsky “A Framework for Representing Knowledge”,
MIT-AI Laboratory Memo 306, 1974.
 [Hubel, 1995] David H. Hubel, “Eye, Brain, and Vision”
 [Ballard, 1982] D. H. Ballard and C. M. Brown, “Computer Vision”,
Prentice Hall, 1982.
June 25, 2024 Artificial Intelligence, Lecturer #8 22
Other References
 http://en.wikipedia.org/wiki/Intelligent_agent
 http://aima.eecs.berkeley.edu/slides-ppt/m2-agents.ppt#3
 http://www.cs.cmu.edu/~sandholm/cs15-381/Agents.ppt#2
June 25, 2024 Artificial Intelligence, Lecturer #8 23
End of Presentation
Thanks to all !!!

More Related Content

PPT
Artificial Intelligent Agents
PPTX
CS Artificial intelligence chapter 2.pptx
PPT
introduction to inteligent IntelligentAgent.ppt
PPTX
2 Intelligent Agent articial intellligence.pptx
PPTX
AI Basic.pptx
PPT
artificial Intelligence unit1 ppt (1).ppt
PDF
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
PDF
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf
Artificial Intelligent Agents
CS Artificial intelligence chapter 2.pptx
introduction to inteligent IntelligentAgent.ppt
2 Intelligent Agent articial intellligence.pptx
AI Basic.pptx
artificial Intelligence unit1 ppt (1).ppt
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf

Similar to Artificial Intelligence Lecture Slide-08 (20)

PPT
cs480-244444444444444444444444444444.ppt
PPT
cs480-2.pptcs480-2.pptcs480-2.pptcs480-2.pptcs480-2.pptcs480-2.ppt
PPT
cs480-2.pptssssssssssssssssssssssssssssssssssssssss
PPT
Artificial intelligence and machine learning
PPT
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
PPT
901470_Ch Intelligent agent introduction2.ppt
PPTX
AI_Lec1.pptx ist step to enter in AI field
PDF
Lecture 2 agent and environment
PPTX
AI_02_Intelligent Agents.pptx
PPTX
ARTIFICIAL INTELLIGENCE TO GENERATE BEST COMPILER DESIGN
PPTX
Artificial Intelligence
PPT
Agents_AI.ppt
PPTX
Intelligent AGent class.pptx
PPTX
Lecture 2 Agents.pptx
PPTX
1.1 What are Agent and Environment.pptx
PDF
Chapter word of it Intelligent Agents.pdf
PDF
agents.pdf
PPTX
Unit-1.pptx
PDF
Artificial Intelligence chapter 1 and 2(1).pdf
PPTX
Artificial intelligence(03)
cs480-244444444444444444444444444444.ppt
cs480-2.pptcs480-2.pptcs480-2.pptcs480-2.pptcs480-2.pptcs480-2.ppt
cs480-2.pptssssssssssssssssssssssssssssssssssssssss
Artificial intelligence and machine learning
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
901470_Ch Intelligent agent introduction2.ppt
AI_Lec1.pptx ist step to enter in AI field
Lecture 2 agent and environment
AI_02_Intelligent Agents.pptx
ARTIFICIAL INTELLIGENCE TO GENERATE BEST COMPILER DESIGN
Artificial Intelligence
Agents_AI.ppt
Intelligent AGent class.pptx
Lecture 2 Agents.pptx
1.1 What are Agent and Environment.pptx
Chapter word of it Intelligent Agents.pdf
agents.pdf
Unit-1.pptx
Artificial Intelligence chapter 1 and 2(1).pdf
Artificial intelligence(03)
Ad

More from asmshafi1 (11)

PPTX
Deep Learning - Based Bangladeshi Flower Identification System.pptx
PPTX
Quantum Computing in Computer Science.pptx
PPT
Artificial Intelligence Lecture Slide-09
PPT
Artificial Intelligence Lecture Slide-07
PPT
Artificial Intelligence Lecture Slide-06
PPT
Artificial Intelligence Lecture Slide-05
PPT
Artificial Intelligence Lecture Slide-04
PPT
Artificial Intelligence Lecture Slide-03
PPT
Artificial Intelligence Lecture Slide 02
PPT
Artificial Intelligence Lecture Slide 01
PPTX
Classification of Diabetic Retinopathy.pptx
Deep Learning - Based Bangladeshi Flower Identification System.pptx
Quantum Computing in Computer Science.pptx
Artificial Intelligence Lecture Slide-09
Artificial Intelligence Lecture Slide-07
Artificial Intelligence Lecture Slide-06
Artificial Intelligence Lecture Slide-05
Artificial Intelligence Lecture Slide-04
Artificial Intelligence Lecture Slide-03
Artificial Intelligence Lecture Slide 02
Artificial Intelligence Lecture Slide 01
Classification of Diabetic Retinopathy.pptx
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
RMMM.pdf make it easy to upload and study
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Lesson notes of climatology university.
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Cell Types and Its function , kingdom of life
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
102 student loan defaulters named and shamed – Is someone you know on the list?
Module 4: Burden of Disease Tutorial Slides S2 2025
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial diseases, their pathogenesis and prophylaxis
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
RMMM.pdf make it easy to upload and study
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
GDM (1) (1).pptx small presentation for students
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Cell Types and Its function , kingdom of life
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Computing-Curriculum for Schools in Ghana
Institutional Correction lecture only . . .

Artificial Intelligence Lecture Slide-08

  • 1. June 25, 2024 Artificial Intelligence, Lecturer #8 1 Artificial Intelligence Lecture #08
  • 2. June 25, 2024 Artificial Intelligence, Lecturer #8 2 Contents  Agents and Intelligent Agents  Agents And Environment  Agent Function & Agent Program  Properties of Agent  Concept of Rationality  Nature of Environment  PEAS (Performance measure, Environment, Actuators, Sensors)  The Structure of Agent
  • 3. June 25, 2024 Artificial Intelligence, Lecturer #8 3 Agents and Intelligent Agents An agent is anything that can be viewed as  perceiving its environment through sensors and  acting upon that environment through actuators  An intelligent agent acts further for its own interests.
  • 4. June 25, 2024 Artificial Intelligence, Lecturer #8 4 Example of Agents  Human agent: • Sensors: eyes, ears, nose…. • Actuators: hands, legs, mouth, …  Robotic agent: • Sensors: cameras and infrared range finders • Actuators: various motors  Agents include humans, robots, thermostats, etc  Perceptions: Vision, speech reorganization, etc.
  • 5. June 25, 2024 Artificial Intelligence, Lecturer #8 5 Agent Function & program  An agent is specified by an agent function f that maps seque nces of percepts Y to actions A:  The agent program runs on the physical architecture to prod uce f • agent = architecture + program  “Easy” solution: table that maps every possible sequence Y to an action A 0 1 0 1 { , ,..., } { , ,..., } : T T Y y y y A a a a f Y A   
  • 6. June 25, 2024 Artificial Intelligence, Lecturer #8 6 Agents and Environments  The agent function maps from percept histories (sequences of percepts) to actions: [f: P*  A]
  • 7. June 25, 2024 Artificial Intelligence, Lecturer #8 7 Example: A Vacuum-Cleaner Agent A B  Percepts: location and contents, e.g., (A,dust) • (Idealization: locations are discrete)  Actions: move, clean, do nothing: LEFT, RIGHT, SUCK, NOP
  • 8. June 25, 2024 Artificial Intelligence, Lecturer #8 8 Example: A Vacuum-Cleaner Agent
  • 9. June 25, 2024 Artificial Intelligence, Lecturer #8 9 Properties of Agent  mobility: the ability of an agent to move around in an environment.  veracity: an agent will not knowingly communicate fa lse information  benevolence: agents do not have conflicting goals, an d that every agent will therefore always try to do what is asked of it  rationality: agent will act in order to achieve its goals, and will not act in such a way as to prevent its goals b eing achieved.  learning/adoption: agents improve performance over time
  • 10. June 25, 2024 Artificial Intelligence, Lecturer #8 10 Agents Vs. Objects  agents are autonomous: agents embody stronger notion of autonomy than objects, and in particular, they decide for themselves whether or not to perform a n action on request from another agent  agents are smart: capable of flexible (reactive, pro-active, social) behavior, and the standard object model has nothing to say about such types of beh avior  agents are active: a multi-agent system is inherently multi-threaded, in that each ag ent is assumed to have at least one thread of active control
  • 11. June 25, 2024 Artificial Intelligence, Lecturer #8 11 The Concept of Rationality  What is rational at any given time depends on four things: The performance measure that defines the criterio n of success. The agent’s prior knowledge of the environment. The actions the agent can perform. The agent’s percept sequence to date.
  • 12. June 25, 2024 Artificial Intelligence, Lecturer #8 12 Rational Agents  Rational Agent: For each possible percept sequence, a rational agent should select an action that is expected to maximize it s performance measure.  Performance measure: An objective criterion for succ ess of an agent's behavior, given the evidence provide d by the percept sequence.
  • 13. June 25, 2024 Artificial Intelligence, Lecturer #8 13 Nature of Task Environment  To design a rational agent we need to specify a t ask environment • a problem specification for which the agent i s a solution  PEAS: to specify a task environment • Performance measure • Environment • Actuators • Sensors
  • 14. June 25, 2024 Artificial Intelligence, Lecturer #8 14 PEAS: Specifying an Automated Taxi Driver Performance measure: • safe, fast, legal, comfortable, maximize profits Environment: • roads, other traffic, pedestrians, customers Actuators: • steering, accelerator, brake, signal, horn Sensors: • cameras, sonar, speedometer, GPS
  • 15. June 25, 2024 Artificial Intelligence, Lecturer #8 15 PEAS: Another Example  Agent: Medical diagnosis system  Performance measure: Healthy patient, minimize costs.  Environment: Patient, hospital, staff  Actuators: Screen display (questions, tests, diagnoses, tre atments, referrals)  Sensors: Keyboard (entry of symptoms, findings, patient's answers)
  • 16. June 25, 2024 Artificial Intelligence, Lecturer #8 16 Properties of Task Environment  Fully observable :(vs. partially observable): An agent's senso rs give it access to the complete state of the environment at eac h point in time.  Deterministic (vs. stochastic): The next state of the environme nt is completely determined by the current state and the action executed by the agent.  If the environment is deterministic except for the actions of other agents, then the environment is strategic
  • 17. June 25, 2024 Artificial Intelligence, Lecturer #8 17  Episodic (vs. sequential): The agent's experience is divided in to atomic episodes during which the agent perceives and then performs a single action, and the choice of action in each episo de depends only on the episode itself.  Episodic environments are simpler from the agent developer’s perspective because the agent can decide what action to perfor m based only on the current episode — it need not reason abou t the interactions between this and future episodes. Properties of Task Environment
  • 18. June 25, 2024 Artificial Intelligence, Lecturer #8 18  A static environment is one that can be assumed to remain unchanged except by the performance of a ctions by the agent  A dynamic environment is one that has other proc esses operating on it, and which hence changes in ways beyond the agent’s control. The physical world is a highly dynamic environment. Properties of Task Environment Static Vs. Dynamic
  • 19. June 25, 2024 Artificial Intelligence, Lecturer #8 19 Discrete vs. continuous An environment is discrete if there are a finite nu mber of distinct states in the environment and a di screte set of percepts and actions.  The game of chess is an example of a discrete environment, automated taxi driver is a continuous-state and continuous-t ime problem. Discrete environments could in principle be handl ed by a kind of “lookup table” Properties of Task Environment
  • 20. June 25, 2024 Artificial Intelligence, Lecturer #8 20 Structure Of Agent  Goals • Given a PEAS task environment • construct agent function f, • design an agent program that implements f on a particul ar architecture • Agent= Architecture +program.  Agent Architecture: • Computing device with physical sensor and actuator. • Makes the percept from the sensors and make it available to the program. • Runs the program • Feeds the program action choices to the actuators.
  • 21. June 25, 2024 Artificial Intelligence, Lecturer #8 21 Recommended Textbooks  [Negnevitsky, 2001] M. Negnevitsky “ Artificial Intelligence: A guide to Intelligent Systems”, Pearson Education Limited, England, 2002.  [Russel, 2003] S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003, Second Edition  [Patterson, 1990] D. W. Patterson, “Introduction to Artificial Intelligence and Expert Systems”, Prentice-Hall Inc., Englewood Cliffs, N.J, USA, 19 90.  [Minsky, 1974] M. Minsky “A Framework for Representing Knowledge”, MIT-AI Laboratory Memo 306, 1974.  [Hubel, 1995] David H. Hubel, “Eye, Brain, and Vision”  [Ballard, 1982] D. H. Ballard and C. M. Brown, “Computer Vision”, Prentice Hall, 1982.
  • 22. June 25, 2024 Artificial Intelligence, Lecturer #8 22 Other References  http://en.wikipedia.org/wiki/Intelligent_agent  http://aima.eecs.berkeley.edu/slides-ppt/m2-agents.ppt#3  http://www.cs.cmu.edu/~sandholm/cs15-381/Agents.ppt#2
  • 23. June 25, 2024 Artificial Intelligence, Lecturer #8 23 End of Presentation Thanks to all !!!