Agents
Intelligent Agents
• Rational agent: one that behaves as well as
possible
• This behavior depends on the environment
• Some environments are more difficult than
others
Agents and Environments
• An agent is anything that can be viewed as
perceiving its environment through sensors
and acting upon that environment through
actuators
• An agents behavior is described by the agent
function that maps any given percept
sequence to an action
AI-Lec2-Agents.pptx
Rational Agents
• In this course we will focus on Rational
Agents
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
How to describe an Agent
• What is the Environment?
• What type of Sensors it requires?
• Which Actuators are required?
• What Percepts it is getting via sensors from
environment?
– Percept Sequence
• Agent Function (map percepts or percept sequence to
action)?
– Agent Program
• Performance Measure: that evaluated the effect of
actions
Example of Agent
• Agent: Vacuum Cleaner
• Environment: Area A and B
• Sensor: Camera
• Percept: Area clean or not
• Actuator:
• Action: Move left, Move Right,
– Start cleaning
• Agent Function: on next slide
• Performance Measure?
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
AI-Lec2-Agents.pptx
Example of Agent
• Agent: Email Spam filter
• Environment: Inbox
• Sensor:
• Percept: Email
• Actuator:
• Action: Move email to
spam or inbox
• Agent Function:
Classification Model
• Performance Measure:
Accuracy, Precision, Recall
Agent: Spam filter
• Performance measure
– Minimizing false positives, false negatives
• Environment
– A user’s email account
• Actuators
– Mark as spam, delete, etc.
• Sensors
– Incoming messages, other information about
user’s account
Some more examples
Some
More
Examples
Properties of Environment
• Fully observable vs. Partially observable
• Deterministic vs. stochastic
• Episodic vs. Sequential
• Static vs. Dynamic
• Discrete vs. Continuous
• Single vs. Multivalent
Types of Envitonment
• Reading Assignment
• Section 2.3 (Stuart Russell)
• hardest case is partially observable, multiagent, stochastic, sequential,
dynamic, continuous, and unknown
Four kinds of Agents
• Simple Reflex Agent
– act only on current percept.
• Model Based Reflex Agent.
– How the world works. Percept sequence.
• Goal based Agent
– Act to fulfill some goal.
• Utility agent
– Act to maximize a utility function.
• Learning Agent
– Learn from environment and feed back on actions
Notes for further reading
Agents and Environments
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx
AI-Lec2-Agents.pptx

More Related Content

PDF
Unit2: Agents and Environment
PPTX
Artificial intelligence Agents lecture slides
PPT
Agents_AI.ppt
PPTX
W2_Lec03_Lec04_Agents.pptx
PPTX
A modern approach to AI AI_02_agents_Strut.pptx
PPTX
INTELLIGENT AGENTS.pptx
PPTX
Introduction to Artificial Intelligence Agents.pptx
PPTX
Agents-Artificial Intelligence with different types of agents
Unit2: Agents and Environment
Artificial intelligence Agents lecture slides
Agents_AI.ppt
W2_Lec03_Lec04_Agents.pptx
A modern approach to AI AI_02_agents_Strut.pptx
INTELLIGENT AGENTS.pptx
Introduction to Artificial Intelligence Agents.pptx
Agents-Artificial Intelligence with different types of agents

Similar to AI-Lec2-Agents.pptx (20)

PPT
Agents chapter of Artificial intelligence
PPT
Agents chapter of Artificial intelligence
PPT
Agents chapter of Artificial intelligence
PPT
Agents chapter of Artificial intelligence
PPT
Intelligent agent artificial intelligent CSE 315
PPTX
2. Intelligent_Agents_ShgfutydtfxcfdxdfL.pptx
PPTX
Lecture 2 Agents.pptx
PPT
Artificial intelligence introduction
PDF
agents.pdf
PPT
Lecture 2
PDF
Artificial Intelligence Course of BIT Unit 2
PPTX
AIML presentation about Intelligent Agents.pptx
PPTX
Intelligent AGent class.pptx
PPTX
UNIT 1 INTELLIGENT AGENTS ARTIFICIAL INTELIGENCE
PDF
Artificial intelligence what is agent and all about agent
PPTX
AI Basic.pptx
PDF
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf
PPTX
AgentsAgentsAgentsAgentsAgentsAgentsAgentsAgents.pptx
PDF
Lecture 2 agent and environment
PPTX
m2-agents.pptx
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
Intelligent agent artificial intelligent CSE 315
2. Intelligent_Agents_ShgfutydtfxcfdxdfL.pptx
Lecture 2 Agents.pptx
Artificial intelligence introduction
agents.pdf
Lecture 2
Artificial Intelligence Course of BIT Unit 2
AIML presentation about Intelligent Agents.pptx
Intelligent AGent class.pptx
UNIT 1 INTELLIGENT AGENTS ARTIFICIAL INTELIGENCE
Artificial intelligence what is agent and all about agent
AI Basic.pptx
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf
AgentsAgentsAgentsAgentsAgentsAgentsAgentsAgents.pptx
Lecture 2 agent and environment
m2-agents.pptx
Ad

More from HirazNor (14)

PPTX
MobileAdHocRoutingProtocols.pptx
PDF
csevpnppt-170905123948 (1).pdf
PPTX
Folk Media Lec 14.pptx
PPTX
AI-Lec5-Searches in AI.pptx
PPTX
C3_Gossip_B_CSRAfinal-.pptx
PPTX
IAP presentation-1.pptx
PPTX
IAP PPT-2.pptx
PPT
Lecture 15.ppt
PPTX
Routing Protocols.pptx
PPTX
W13-L1&2.pptx
PPTX
W09-L01.pptx
PPTX
hafsa 24.pptx
PPTX
IAP PPT-1.pptx
PPTX
Group#04-PPT-IA&P.pptx
MobileAdHocRoutingProtocols.pptx
csevpnppt-170905123948 (1).pdf
Folk Media Lec 14.pptx
AI-Lec5-Searches in AI.pptx
C3_Gossip_B_CSRAfinal-.pptx
IAP presentation-1.pptx
IAP PPT-2.pptx
Lecture 15.ppt
Routing Protocols.pptx
W13-L1&2.pptx
W09-L01.pptx
hafsa 24.pptx
IAP PPT-1.pptx
Group#04-PPT-IA&P.pptx
Ad

Recently uploaded (20)

PPTX
operating_systems_presentations_delhi_nc
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PDF
CAT 2024 VARC One - Shot Revision Marathon by Shabana.pptx.pdf
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Chevening Scholarship Application and Interview Preparation Guide
PPTX
Theoretical for class.pptxgshdhddhdhdhgd
PDF
Diabetes Mellitus , types , clinical picture, investigation and managment
PDF
Lecture on Viruses: Structure, Classification, Replication, Effects on Cells,...
PDF
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
PPT
hsl powerpoint resource goyloveh feb 07.ppt
PDF
0520_Scheme_of_Work_(for_examination_from_2021).pdf
PPTX
4. Diagnosis and treatment planning in RPD.pptx
PDF
African Communication Research: A review
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PPTX
Designing Adaptive Learning Paths in Virtual Learning Environments
PDF
The TKT Course. Modules 1, 2, 3.for self study
operating_systems_presentations_delhi_nc
faiz-khans about Radiotherapy Physics-02.pdf
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
CAT 2024 VARC One - Shot Revision Marathon by Shabana.pptx.pdf
Laparoscopic Imaging Systems at World Laparoscopy Hospital
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
Disorder of Endocrine system (1).pdfyyhyyyy
Chevening Scholarship Application and Interview Preparation Guide
Theoretical for class.pptxgshdhddhdhdhgd
Diabetes Mellitus , types , clinical picture, investigation and managment
Lecture on Viruses: Structure, Classification, Replication, Effects on Cells,...
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
hsl powerpoint resource goyloveh feb 07.ppt
0520_Scheme_of_Work_(for_examination_from_2021).pdf
4. Diagnosis and treatment planning in RPD.pptx
African Communication Research: A review
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
Designing Adaptive Learning Paths in Virtual Learning Environments
The TKT Course. Modules 1, 2, 3.for self study

AI-Lec2-Agents.pptx

  • 2. Intelligent Agents • Rational agent: one that behaves as well as possible • This behavior depends on the environment • Some environments are more difficult than others
  • 3. Agents and Environments • An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators • An agents behavior is described by the agent function that maps any given percept sequence to an action
  • 5. Rational Agents • In this course we will focus on Rational Agents 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
  • 6. How to describe an Agent • What is the Environment? • What type of Sensors it requires? • Which Actuators are required? • What Percepts it is getting via sensors from environment? – Percept Sequence • Agent Function (map percepts or percept sequence to action)? – Agent Program • Performance Measure: that evaluated the effect of actions
  • 7. Example of Agent • Agent: Vacuum Cleaner • Environment: Area A and B • Sensor: Camera • Percept: Area clean or not • Actuator: • Action: Move left, Move Right, – Start cleaning • Agent Function: on next slide • Performance Measure?
  • 8. 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
  • 10. Example of Agent • Agent: Email Spam filter • Environment: Inbox • Sensor: • Percept: Email • Actuator: • Action: Move email to spam or inbox • Agent Function: Classification Model • Performance Measure: Accuracy, Precision, Recall
  • 11. Agent: Spam filter • Performance measure – Minimizing false positives, false negatives • Environment – A user’s email account • Actuators – Mark as spam, delete, etc. • Sensors – Incoming messages, other information about user’s account
  • 14. Properties of Environment • Fully observable vs. Partially observable • Deterministic vs. stochastic • Episodic vs. Sequential • Static vs. Dynamic • Discrete vs. Continuous • Single vs. Multivalent
  • 15. Types of Envitonment • Reading Assignment • Section 2.3 (Stuart Russell)
  • 16. • hardest case is partially observable, multiagent, stochastic, sequential, dynamic, continuous, and unknown
  • 17. Four kinds of Agents • Simple Reflex Agent – act only on current percept. • Model Based Reflex Agent. – How the world works. Percept sequence. • Goal based Agent – Act to fulfill some goal. • Utility agent – Act to maximize a utility function. • Learning Agent – Learn from environment and feed back on actions
  • 18. Notes for further reading

Editor's Notes

  • #11: Precision and recall In pattern recognition, information retrieval and binary classification, precision (also called positive predictive value) is the fraction of relevant instances among the retrieved instances, while recall (also known as sensitivity) is the fraction of relevant instances that have been retrieved over the total amount of relevant instances. Both precision and recall are therefore based on an understanding and measure of relevance.
  • #15: Fully observable vs. Partially observable: Complete state of environment is observable Deterministic vs. stochastic: next state is completely determined by the current action Episodic vs. Sequential: Agents experience is divided into atomic episodes, agent perceives and performs single action based on only current state. Static vs. Dynamic: If environment changes while agent is deliberating (semi-dynamic when environment doesn’t change but score of agent changes with passage of time) Discrete vs. Continuous Single vs. Multivalent