Intelligent Agents
Intelligent Agents
Intelligent Agents
CHAPTER 2
INTELLIGENT AGENTS
What is an agent ?
An agent is anything that perceiving its environment through
sensors and acting upon that environment through actuators
Example:
Human is an agent
A robot is also an agent with cameras and motors
A thermostat detecting room temperature.
INTELLIGENT AGENTS
DIAGRAM OF AN AGENT
Percept
Agent’s perceptual inputs at any given instant
Percept sequence
Complete history of everything that the agent has ever perceived.
AGENT FUNCTION & PROGRAM
Practically it is described by
An agent program
The real implementation
VACUUM-CLEANER WORLD
E.g., an exam
Maximize marks, based on
the questions on the paper & your knowledge
EXAMPLE OF A RATIONAL AGENT
Performance measure
Awards one point for each clean square
at each time step, over 10000 time steps
Actuators
Sensors
Performance measure
How can we judge the automated driver?
Which factors are considered?
getting to the correct destination
minimizing fuel consumption
minimizing the trip time and/or cost
minimizing the violations of traffic laws
maximizing the safety and comfort, etc.
TASK ENVIRONMENTS
Environment
A taxi must deal with a variety of
roads
Traffic
lights, other vehicles,
pedestrians, stray animals, road
works, police cars, etc.
Interact with the customer
TASK ENVIRONMENTS
Doubts regarding :
Presentation and Projects.
----------------------------------------------------------
Properties of Task Environments
Structure of Agent
Types of Agent Program
PROPERTIES OF TASK
ENVIRONMENTS
Fully observable vs. Partially observable
Deterministic vs. Stochastic
Episodic vs. Sequential
Static vs. Dynamic
Discrete vs. Continuous
Single vs. Multi Agent
Known vs. Unknown
PROPERTIES OF TASK
ENVIRONMENTS
Sequential
Current action may affect all future decisions
-Ex. Taxi driving and chess.
PROPERTIES OF TASK
ENVIRONMENTS
Static vs. dynamic
A dynamic environment is always
changing over time
E.g., the number of people in the street
While static environment
E.g., the destination
Semi-dynamic
environment is not changed over time
but the agent’s performance score does
PROPERTIES OF TASK
ENVIRONMENTS
Four types
Simple reflex agents
Model-based reflex agents
Goal-based agents
Utility-based agents
SIMPLE REFLEX AGENTS
Conclusion
Goal-based agents are less efficient
but more flexible
Agent Different goals different tasks
Search and planning
These two other sub-fields in AI
Helps to plan and find out the action sequences to achieve its goal.
GOAL-BASED AGENTS
UTILITY-BASED AGENTS