Intelligent Agents
Intelligent Agents
AGENTS
Ayesha Irfan
Department of Information Technology
University Of The Punjab, Jhelum Campus
AGENTS AND
ENVIRONMENTS
Agent: “An agent is anything that can be viewed
as perceiving its environment through sensors and
acting upon that environment through actuators.”
E.g. A human agent has eyes, ears, and other
organs for sensors and hands, legs, vocal tract, and
soon for actuators while A robotic agent might
have cameras and infrared range finders for sensors
and various motors for actuators.
AGENTS AND
ENVIRONMENTS
Deterministic stochastic
If the next state of the environment is If the next state can't be determined
completely determined by the current by the current state and then we say
state and the action executed by the the stochastic agent environment.
agent, then we say the environment
is deterministic.
Episodic Sequential
In an episodic task environment, the In sequential environments, on the
agent’s experience is divided into other hand, the current decision could
atomic episodes. In each episode the affect all future decisions.
agent receives a percept and then In sequential environment, the agent
performs a single action. Crucially, need to think ahead.
the next episode does not depend on
the actions taken in previous
episodes.
PROPERTIES OF TASK ENVIRONMENTS
Discrete Continuous
• If the time given in an • If the time given in an
environment has finite number of environment has infinite number
states then it is a discrete of states then it is a continuous
environment. environment.
• The chess environment has a finite • Taxi driving is a continuous-state
number of distinct states. and continuous-time problem.
Known Unknown
• If the agent knows work place and • If the agent is unknown to its
environment then it is known as working place or working
known environment. conditions then it is unknown
environment.
Task environments and their characteristics
Chess with a
clock
Fully Multi Deterministi Sequential Semi Discret
c e
Medical
diagnosis Partially Single Stochastic Sequential Dynamic Continuous
AGENT PROGRAMS
The agent program implements the agent function.
There exists a variety of basic agent-program designs
reflecting the kind of information used in the decision
process. The appropriate design of the agent program
depends on the nature of the environment.
There are four basic kinds of agent programs.
Goal-based agents.
Utility-based agents.
Simple reflex agents
These agents select actions on the basis of current
percept, ignoring the rest of the percept history.