SlideShare a Scribd company logo
1 of 15
1
1
Artificial Intelligence
Intelligent Agents
Ms. Umaira Khurshid
Umairaabbasi46@gmail.com
2
2
Today’s Outline
• Defining agents
• Examples of agents
• What is perception
• What are rational agents
• Rationality vs omniscience
• PEAS (Performance measure, Environment, Actuators,
Sensors)
3
3
What is Agent
An agent is an entity which is:
1. Situated in some environment.
2. Autonomous, in the sense that it can act without direct
intervention from humans or other software processes, and
controls over its own actions and internal state.
3. Flexible which means
• Responsive (reactive): agents should perceive their environment and
respond to changes that occur in it.
• Proactive: agents should not simply act in response to their environment,
they should be able to exhibit opportunistic, goal-directed behavior and
take the initiative when appropriate.
• Social: agents should be able to interact with humans or other artificial
agents.
4
4
Agent
• An agent uses perception of the
environment to make decisions about
actions to take.
• The perception capability is usually
called a sensor.
• The actions can depend on the most
recent perception or on the entire
history (percept sequence).
5
5
Agent Definition
• “An agent is anything that can be viewed as perceiving its
environment through sensors and acting upon that
environment through effectors/actuators.” Russell & Norvig, Artificial
Intelligence, A modern Approach, 3rd edition (2010)
6
6
Agent Example
• Human agent:
• Sensors: Eyes, ears and other organs
• Actuators: hands, leg, mouth and other parts of the body.
• Robotic agent:
• Sensors: Cameras and infrared range finders
• Actuators: Various motors
• Software agent:
• Sensors: Keystrokes, file contents, receiving network packets
• Actuators: Displaying on screen, Writing files and sending network
packets
7
7
Agent Function and Agent Program
• The agent function maps from percept histories to actions:
[f: P*  A]
• The agent program runs on the physical architecture to
produce f
agent = architecture + program
8
8
Example: Vacuum-cleaner world
• Percepts: location and contents, e.g., [A,Dirty]
• Actions: Left, Right, Suck, NoOp
• Agent’s function → look-up table
• For many agents this is a very large table
9
9
Rational agents
Rationality: What is rational at any given time depends on
four things i.e.
Performance measure that defines success
Agents prior knowledge of environment
Actions that agent can perform
Agent’s percept sequence to date
This leads to the definition of Rational Agent
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.
10
10
Rationality vs Omniscience
• Rationality is different from omniscience
• Percepts may not supply all relevant information
• E.g., in card game, don’t know cards of others.
• Rational is different from being perfect
• Rationality maximizes expected outcome.
• while perfection maximizes actual outcome.
11
11
Specifying the Task Environments
• Task Environment are essentially the problems to which
rational agents are the solutions.
• In designing an agent the first step must always be to specify
the task environment as fully as possible a.k.a PEAS
(Performance measure, Environment, Actuators, Sensors)
12
12
PEAS - Example # 01
• Agent: Automated Taxi Driver
• Performance measure: Safe, fast, legal, comfortable trip, maximize profits
• Environment: Roads, other traffic, pedestrians, customers
• Actuators: Steering wheel, accelerator, brake, signal, horn
• Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors,
keyboard
13
13
PEAS - Example # 02
• Agent: Part-Picking Robot
• Performance measure: Percentage of parts in correct bins
• Environment: Conveyor belt with parts, bins
• Actuators: Jointed arm and hand
• Sensors: Camera, joint angle sensors
14
14
PEAS Example #03
• Agent: Specifying an interactive English Tutor
• Performance measure: Maximize student's score on test
• Environment: Set of students
• Actuators: Screen display (exercises, suggestions, corrections)
• Sensors: Keyboard
15
15
The End

More Related Content

Similar to Lecture 1 about the Agents in AI & .pptx

Similar to Lecture 1 about the Agents in AI & .pptx (20)

M2 agents
M2 agentsM2 agents
M2 agents
 
Agents1
Agents1Agents1
Agents1
 
mosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptmosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.ppt
 
Lecture 2 agent and environment
Lecture 2   agent and environmentLecture 2   agent and environment
Lecture 2 agent and environment
 
m2-agents.pptx
m2-agents.pptxm2-agents.pptx
m2-agents.pptx
 
M2 agents
M2 agentsM2 agents
M2 agents
 
Intelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceIntelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial Intelligence
 
Unit2: Agents and Environment
Unit2: Agents and EnvironmentUnit2: Agents and Environment
Unit2: Agents and Environment
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agents
 
2.IntelligentAgents.ppt
2.IntelligentAgents.ppt2.IntelligentAgents.ppt
2.IntelligentAgents.ppt
 
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem SolvingCS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
 
A.i lecture 04
A.i lecture 04A.i lecture 04
A.i lecture 04
 
AI week 2.pdf
AI week 2.pdfAI week 2.pdf
AI week 2.pdf
 
INTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptxINTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptx
 
AI3391 ARTIFICIAL INTELLIGENCE Session 1A Agents and Enviroments.pptx
AI3391 ARTIFICIAL INTELLIGENCE Session 1A Agents and Enviroments.pptxAI3391 ARTIFICIAL INTELLIGENCE Session 1A Agents and Enviroments.pptx
AI3391 ARTIFICIAL INTELLIGENCE Session 1A Agents and Enviroments.pptx
 
Slide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.pptSlide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.ppt
 
Lec 2-agents
Lec 2-agentsLec 2-agents
Lec 2-agents
 
Artificial intelligence(03)
Artificial intelligence(03)Artificial intelligence(03)
Artificial intelligence(03)
 
Intelligent agents.ppt
Intelligent agents.pptIntelligent agents.ppt
Intelligent agents.ppt
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Lecture 1 about the Agents in AI & .pptx

  • 1. 1 1 Artificial Intelligence Intelligent Agents Ms. Umaira Khurshid Umairaabbasi46@gmail.com
  • 2. 2 2 Today’s Outline • Defining agents • Examples of agents • What is perception • What are rational agents • Rationality vs omniscience • PEAS (Performance measure, Environment, Actuators, Sensors)
  • 3. 3 3 What is Agent An agent is an entity which is: 1. Situated in some environment. 2. Autonomous, in the sense that it can act without direct intervention from humans or other software processes, and controls over its own actions and internal state. 3. Flexible which means • Responsive (reactive): agents should perceive their environment and respond to changes that occur in it. • Proactive: agents should not simply act in response to their environment, they should be able to exhibit opportunistic, goal-directed behavior and take the initiative when appropriate. • Social: agents should be able to interact with humans or other artificial agents.
  • 4. 4 4 Agent • An agent uses perception of the environment to make decisions about actions to take. • The perception capability is usually called a sensor. • The actions can depend on the most recent perception or on the entire history (percept sequence).
  • 5. 5 5 Agent Definition • “An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through effectors/actuators.” Russell & Norvig, Artificial Intelligence, A modern Approach, 3rd edition (2010)
  • 6. 6 6 Agent Example • Human agent: • Sensors: Eyes, ears and other organs • Actuators: hands, leg, mouth and other parts of the body. • Robotic agent: • Sensors: Cameras and infrared range finders • Actuators: Various motors • Software agent: • Sensors: Keystrokes, file contents, receiving network packets • Actuators: Displaying on screen, Writing files and sending network packets
  • 7. 7 7 Agent Function and Agent Program • The agent function maps from percept histories to actions: [f: P*  A] • The agent program runs on the physical architecture to produce f agent = architecture + program
  • 8. 8 8 Example: Vacuum-cleaner world • Percepts: location and contents, e.g., [A,Dirty] • Actions: Left, Right, Suck, NoOp • Agent’s function → look-up table • For many agents this is a very large table
  • 9. 9 9 Rational agents Rationality: What is rational at any given time depends on four things i.e. Performance measure that defines success Agents prior knowledge of environment Actions that agent can perform Agent’s percept sequence to date This leads to the definition of Rational Agent 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.
  • 10. 10 10 Rationality vs Omniscience • Rationality is different from omniscience • Percepts may not supply all relevant information • E.g., in card game, don’t know cards of others. • Rational is different from being perfect • Rationality maximizes expected outcome. • while perfection maximizes actual outcome.
  • 11. 11 11 Specifying the Task Environments • Task Environment are essentially the problems to which rational agents are the solutions. • In designing an agent the first step must always be to specify the task environment as fully as possible a.k.a PEAS (Performance measure, Environment, Actuators, Sensors)
  • 12. 12 12 PEAS - Example # 01 • Agent: Automated Taxi Driver • Performance measure: Safe, fast, legal, comfortable trip, maximize profits • Environment: Roads, other traffic, pedestrians, customers • Actuators: Steering wheel, accelerator, brake, signal, horn • Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard
  • 13. 13 13 PEAS - Example # 02 • Agent: Part-Picking Robot • Performance measure: Percentage of parts in correct bins • Environment: Conveyor belt with parts, bins • Actuators: Jointed arm and hand • Sensors: Camera, joint angle sensors
  • 14. 14 14 PEAS Example #03 • Agent: Specifying an interactive English Tutor • Performance measure: Maximize student's score on test • Environment: Set of students • Actuators: Screen display (exercises, suggestions, corrections) • Sensors: Keyboard

Editor's Notes

  1. The agent function is mathematical description The agent program is implementation, running on some physical system.
  2. Look up table is very large unless we want to put a limit on the length of percept sequences.
  3. Agent performing the sequences
  4. Omniscient agent knows the actual outcome of its action and can act accordingly. Omniscience is impossible in reality.