SlideShare a Scribd company logo
Intelligent (Knowledge Based) Agents
Agent: Definition
• An agent is anything that can be viewed as perceiving its environment
through sensors and acting upon that environment through actuators
• Human agent:
– Sensors: eyes, ears, and other organs
– Actuators: hands, legs, and some body parts
• Robotic agent:
– Sensors: cameras, range finders, etc.
– Actuators: levers, motors, etc.
• Softbots (s/w agents)
Agent Architecture
Real World Agent
Sensors
Effectors
Reasoning &
Decisions Making
Model of World
(being updated)
List of
Possible Actions
Prior Knowledge
about the World
Goals/Utility
Intelligent Agents
• Fundamental abilities of intelligence
– Sensing
– Understanding and reasoning
– Acting
• In order to act, it must first sense. Blind action is not intelligent action
• To sense wisely, AI system has to understand
• Agent must be autonomous
• Agent must be rational
Sensors and Effectors
• An agent perceives its environment through sensors
– Percept: the complete set of inputs to an agent at a given time
– The current percept or a sequence of percepts determines the action
of an agent
• An agent can change its environment through effectors or actuators
– Operation involving an actuator is an action
Agents and Environments
• The agent function maps from percept histories to actions:
[f: P  A]
• The agent program runs on the physical architecture to
produce f
• f = agent = architecture + program
Agent Functions
• An agent is completely specified by the agent function that maps percept
sequences to actions
• Find a way to implement the agent function concisely
• An agent program implements the above mapping (ie, from percept sequences
to actions)
Agent’s Performance
• Behavior of Agent: In terms of agent function:
– Mapping: “Perception history into Action”
– Ideal Mapping: the sequence of actions the agent ought to take at any
point in time
• Performance of Agent: a subjective measure to characterize how successful
an agent is performing in terms of
– Power consumption, accuracy, profit, etc.
Setting of Agent: PEAS
• Specification of the setting for intelligent agent design
has 4 coordinates: PEAS
–Performance measure
–Environment
–Actuators
–Sensors
PEAS: Example 1
• 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
PEAS: Example 2
• Medical diagnosis system:
– Performance measure: Healthy patient, minimize costs,
lawsuits
– Environment: Patient, hospital, staff
– Actuators: Screen display (questions, tests, diagnoses,
treatments, referrals)
– Sensors: Keyboard (entry of symptoms, findings, patient's
answers)
PEAS: Example 3
• 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
PEAS: Example 4
• Interactive English tutor:
– Performance measure: Maximize student's score on test
– Environment: Set of students
– Actuators: Screen display (exercises, suggestions,
corrections)
– Sensors: Keyboard
task
environm
ent
observable deterministic/
stochastic
episodic/
sequential
static/
dynamic
discrete/
continuous
agents
crossword
puzzle
fully determ. sequential static discrete single
chess with
clock
fully strategic sequential semi discrete multi
taxi
driving
partial stochastic sequential dynamic continuous multi
image
analysis
fully determ. episodic semi continuous single
partpicking
robot
partial stochastic episodic dynamic continuous single
refinery
controller
partial stochastic sequential dynamic continuous single
interact.
tutor
partial stochastic sequential dynamic discrete multi
Realistic Environments
• The simplest environment is
– Fully observable, deterministic, episodic, static, discrete
and single-agent.
• Most real situations are:
– Partially observable, stochastic, sequential, dynamic,
continuous and multi-agent.
Types of Agents
Concept
• Autonomous agent
• Rational agent
• Perfect rationality
• Bounded
rationality
Type of Agent
– Table-driven agent
– Simple reflex agent
– Model-based reflex agent
– Goal-based agent
• Problem-solving agent
– Utility-based agent
• Can distinguish between
different goals
– Learning agent
Autonomous Agent
• Autonomous: free, independent, sovereign, not subject to the
rule or control of another.
• An agent is autonomous if its behavior is determined by its
own experience (with ability to learn and adapt)
– An autonomous agent decides autonomously which action
to take in the current situation to maximize progress
toward a goal
Rational Agents
• An agent should strive to "do the right thing", based on what it
can perceive and perform the actions.
• For each possible percept sequence, a rational agent should
select an action that is expected to maximize its performance
measure using the agent has whatever built-in knowledge.
• Rationality is distinct from omniscience (all-knowing with
infinite knowledge)
Perfect Vs Bounded Rationality
• Perfect Rationality: Assumes that the rational agent knows all
information and takes action that maximizes its utility.
– Humans do not satisfy this definition
• Bounded Rationality: Because of the limitations of the human
mind, humans use approximate methods to handle many tasks.
Table-driven Agents
A table is a simple way to specify the mapping, [f: P  A]
• Information comes from sensors: percepts
• Look it up in a table
• Triggers actions through effectors
• No notion of history. Action determined by current state
Drawbacks of Table-driven Agents
• Huge tables for mapping
– Chess needs a table with 35100 entries
• Take a long time to build the table by the designer
• No autonomy – all actions are pre-determined
• Even with learning, need a long time to learn the table entries
• Types of tables
– Rule based, Neural networks, etc
Simple Reflex Agents
Model-based Reflex Agents
34
Goal-based Agents
36
State-based Models (Search, Planning)
– Solutions are defined as a sequenceof steps
– Model the task as a graph of statesand solution as a
path
– A state captures all the relevant information about the past
in order to act (optimally) in the future
Applications: Navigation, Games
– State-space graphs
Logic-based Models (Logic)
– Implicit representation of classes of objects
– Deductive reasoning
Applications: Question answering systems, natural
language understanding
– Propositional logic, First-order logic
References
• Tom Markiewicz & Josh Zheng, Getting started with Artificial Intelligence,
Published by O’Reilly Media,2017
• Stuart J. Russell and Peter Norvig, Artificial Intelligence A Modern Approach

More Related Content

PPT
Problems, Problem spaces and Search
PPT
Classical Planning
PPT
Randomized algorithms ver 1.0
PPTX
Lecture 15 monkey banana problem
PDF
Artificial Intelligence Notes Unit 1
PPTX
Lecture 16 memory bounded search
PPTX
Intelligence Agent - Artificial Intelligent (AI)
PPT
Artificial Intelligence and Expert Systems
Problems, Problem spaces and Search
Classical Planning
Randomized algorithms ver 1.0
Lecture 15 monkey banana problem
Artificial Intelligence Notes Unit 1
Lecture 16 memory bounded search
Intelligence Agent - Artificial Intelligent (AI)
Artificial Intelligence and Expert Systems

What's hot (20)

PPT
Greedy Algorihm
PPTX
AI: Learning in AI
PDF
I. Alpha-Beta Pruning in ai
PDF
I.INFORMED SEARCH IN ARTIFICIAL INTELLIGENCE II. HEURISTIC FUNCTION IN AI III...
PPTX
Plant disease detection and classification using deep learning
PPTX
Reasoning in AI
PPTX
Support Vector Machine ppt presentation
PPTX
Foundation of A.I
PPTX
2. forward chaining and backward chaining
PPTX
HCI Good designs and Bad designs.
PPTX
sum of subset problem using Backtracking
PPTX
Minmax Algorithm In Artificial Intelligence slides
PPTX
The structure of agents
PPTX
Future operating system
PDF
I.BEST FIRST SEARCH IN AI
PPTX
Unification and Lifting
PPTX
Knnowledge representation and logic lec 11 to lec 15
PPTX
Artificial Intelligence Notes Unit 3
PPTX
Probabilistic Reasoning
PPTX
Inductive bias
Greedy Algorihm
AI: Learning in AI
I. Alpha-Beta Pruning in ai
I.INFORMED SEARCH IN ARTIFICIAL INTELLIGENCE II. HEURISTIC FUNCTION IN AI III...
Plant disease detection and classification using deep learning
Reasoning in AI
Support Vector Machine ppt presentation
Foundation of A.I
2. forward chaining and backward chaining
HCI Good designs and Bad designs.
sum of subset problem using Backtracking
Minmax Algorithm In Artificial Intelligence slides
The structure of agents
Future operating system
I.BEST FIRST SEARCH IN AI
Unification and Lifting
Knnowledge representation and logic lec 11 to lec 15
Artificial Intelligence Notes Unit 3
Probabilistic Reasoning
Inductive bias
Ad

Similar to Intelligent (Knowledge Based) agent in Artificial Intelligence (20)

PPT
Intelligent agent artificial intelligent CSE 315
PDF
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
PPTX
Lecture 4 (1).pptx
PPT
Artificial intelligence and machine learning
PPT
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
PPT
901470_Ch Intelligent agent introduction2.ppt
PDF
Lec 2 agents
PPT
introduction to inteligent IntelligentAgent.ppt
PPTX
Artificial intelligence(03)
PPTX
CS4700-Agents_v3.pptx
PPTX
CS4700-Agents_v3 (1).pptxCS4700-Agents_v3 (1).pptx
PDF
AI Chapter II for computer Science students
PPTX
AI_Ch2.pptx
PPT
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
PPT
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
PPT
artificial Intelligence unit1 ppt (1).ppt
PDF
ai-slides-1233566181695672-2 (1).pdf
PPTX
AI Basic.pptx
PPT
chapter -2 Intelligent Agents power Point .ppt
PPT
M2 agents
Intelligent agent artificial intelligent CSE 315
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
Lecture 4 (1).pptx
Artificial intelligence and machine learning
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
901470_Ch Intelligent agent introduction2.ppt
Lec 2 agents
introduction to inteligent IntelligentAgent.ppt
Artificial intelligence(03)
CS4700-Agents_v3.pptx
CS4700-Agents_v3 (1).pptxCS4700-Agents_v3 (1).pptx
AI Chapter II for computer Science students
AI_Ch2.pptx
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
artificial Intelligence unit1 ppt (1).ppt
ai-slides-1233566181695672-2 (1).pdf
AI Basic.pptx
chapter -2 Intelligent Agents power Point .ppt
M2 agents
Ad

More from Kuppusamy P (20)

PDF
Recurrent neural networks rnn
PDF
Deep learning
PDF
Image segmentation
PDF
Image enhancement
PDF
Feature detection and matching
PDF
Image processing, Noise, Noise Removal filters
PDF
Flowchart design for algorithms
PDF
Algorithm basics
PDF
Problem solving using Programming
PDF
Parts of Computer, Hardware and Software
PDF
Strings in java
PDF
Java methods or Subroutines or Functions
PDF
Java arrays
PDF
Java iterative statements
PDF
Java conditional statements
PDF
Java data types
PDF
Java introduction
PDF
Logistic regression in Machine Learning
PDF
Anomaly detection (Unsupervised Learning) in Machine Learning
PDF
Machine Learning Performance metrics for classification
Recurrent neural networks rnn
Deep learning
Image segmentation
Image enhancement
Feature detection and matching
Image processing, Noise, Noise Removal filters
Flowchart design for algorithms
Algorithm basics
Problem solving using Programming
Parts of Computer, Hardware and Software
Strings in java
Java methods or Subroutines or Functions
Java arrays
Java iterative statements
Java conditional statements
Java data types
Java introduction
Logistic regression in Machine Learning
Anomaly detection (Unsupervised Learning) in Machine Learning
Machine Learning Performance metrics for classification

Recently uploaded (20)

PPTX
Presentation on HIE in infants and its manifestations
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Lesson notes of climatology university.
PPTX
Cell Types and Its function , kingdom of life
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharma ospi slides which help in ospi learning
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Institutional Correction lecture only . . .
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
Presentation on HIE in infants and its manifestations
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Lesson notes of climatology university.
Cell Types and Its function , kingdom of life
Microbial disease of the cardiovascular and lymphatic systems
Pharma ospi slides which help in ospi learning
Abdominal Access Techniques with Prof. Dr. R K Mishra
Final Presentation General Medicine 03-08-2024.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
STATICS OF THE RIGID BODIES Hibbelers.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Institutional Correction lecture only . . .
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?

Intelligent (Knowledge Based) agent in Artificial Intelligence

  • 2. Agent: Definition • An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators • Human agent: – Sensors: eyes, ears, and other organs – Actuators: hands, legs, and some body parts • Robotic agent: – Sensors: cameras, range finders, etc. – Actuators: levers, motors, etc. • Softbots (s/w agents)
  • 3. Agent Architecture Real World Agent Sensors Effectors Reasoning & Decisions Making Model of World (being updated) List of Possible Actions Prior Knowledge about the World Goals/Utility
  • 4. Intelligent Agents • Fundamental abilities of intelligence – Sensing – Understanding and reasoning – Acting • In order to act, it must first sense. Blind action is not intelligent action • To sense wisely, AI system has to understand • Agent must be autonomous • Agent must be rational
  • 5. Sensors and Effectors • An agent perceives its environment through sensors – Percept: the complete set of inputs to an agent at a given time – The current percept or a sequence of percepts determines the action of an agent • An agent can change its environment through effectors or actuators – Operation involving an actuator is an action
  • 6. Agents and Environments • The agent function maps from percept histories to actions: [f: P  A] • The agent program runs on the physical architecture to produce f • f = agent = architecture + program
  • 7. Agent Functions • An agent is completely specified by the agent function that maps percept sequences to actions • Find a way to implement the agent function concisely • An agent program implements the above mapping (ie, from percept sequences to actions) Agent’s Performance • Behavior of Agent: In terms of agent function: – Mapping: “Perception history into Action” – Ideal Mapping: the sequence of actions the agent ought to take at any point in time • Performance of Agent: a subjective measure to characterize how successful an agent is performing in terms of – Power consumption, accuracy, profit, etc.
  • 8. Setting of Agent: PEAS • Specification of the setting for intelligent agent design has 4 coordinates: PEAS –Performance measure –Environment –Actuators –Sensors
  • 9. PEAS: Example 1 • 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
  • 10. PEAS: Example 2 • Medical diagnosis system: – Performance measure: Healthy patient, minimize costs, lawsuits – Environment: Patient, hospital, staff – Actuators: Screen display (questions, tests, diagnoses, treatments, referrals) – Sensors: Keyboard (entry of symptoms, findings, patient's answers)
  • 11. PEAS: Example 3 • 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
  • 12. PEAS: Example 4 • Interactive English tutor: – Performance measure: Maximize student's score on test – Environment: Set of students – Actuators: Screen display (exercises, suggestions, corrections) – Sensors: Keyboard
  • 13. task environm ent observable deterministic/ stochastic episodic/ sequential static/ dynamic discrete/ continuous agents crossword puzzle fully determ. sequential static discrete single chess with clock fully strategic sequential semi discrete multi taxi driving partial stochastic sequential dynamic continuous multi image analysis fully determ. episodic semi continuous single partpicking robot partial stochastic episodic dynamic continuous single refinery controller partial stochastic sequential dynamic continuous single interact. tutor partial stochastic sequential dynamic discrete multi
  • 14. Realistic Environments • The simplest environment is – Fully observable, deterministic, episodic, static, discrete and single-agent. • Most real situations are: – Partially observable, stochastic, sequential, dynamic, continuous and multi-agent.
  • 15. Types of Agents Concept • Autonomous agent • Rational agent • Perfect rationality • Bounded rationality Type of Agent – Table-driven agent – Simple reflex agent – Model-based reflex agent – Goal-based agent • Problem-solving agent – Utility-based agent • Can distinguish between different goals – Learning agent
  • 16. Autonomous Agent • Autonomous: free, independent, sovereign, not subject to the rule or control of another. • An agent is autonomous if its behavior is determined by its own experience (with ability to learn and adapt) – An autonomous agent decides autonomously which action to take in the current situation to maximize progress toward a goal
  • 17. Rational Agents • An agent should strive to "do the right thing", based on what it can perceive and perform the actions. • For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure using the agent has whatever built-in knowledge. • Rationality is distinct from omniscience (all-knowing with infinite knowledge)
  • 18. Perfect Vs Bounded Rationality • Perfect Rationality: Assumes that the rational agent knows all information and takes action that maximizes its utility. – Humans do not satisfy this definition • Bounded Rationality: Because of the limitations of the human mind, humans use approximate methods to handle many tasks.
  • 19. Table-driven Agents A table is a simple way to specify the mapping, [f: P  A] • Information comes from sensors: percepts • Look it up in a table • Triggers actions through effectors • No notion of history. Action determined by current state
  • 20. Drawbacks of Table-driven Agents • Huge tables for mapping – Chess needs a table with 35100 entries • Take a long time to build the table by the designer • No autonomy – all actions are pre-determined • Even with learning, need a long time to learn the table entries • Types of tables – Rule based, Neural networks, etc
  • 24. State-based Models (Search, Planning) – Solutions are defined as a sequenceof steps – Model the task as a graph of statesand solution as a path – A state captures all the relevant information about the past in order to act (optimally) in the future Applications: Navigation, Games – State-space graphs
  • 25. Logic-based Models (Logic) – Implicit representation of classes of objects – Deductive reasoning Applications: Question answering systems, natural language understanding – Propositional logic, First-order logic
  • 26. References • Tom Markiewicz & Josh Zheng, Getting started with Artificial Intelligence, Published by O’Reilly Media,2017 • Stuart J. Russell and Peter Norvig, Artificial Intelligence A Modern Approach