Trusted answers to developer questions
Trusted Answers to Developer Questions


What is a simple reflex agent?

Buchiredddypalli Koushik


A simple reflex agent is the simplest of all the agent programs. Decisions or actions are taken based on the current percept, which does not depend on the rest of the percept history. These agents react only to the predefined rules. It works best when the environment is fully observable.


The vacuum agent is a simple reflex agent because the decision is based only on the current location, and whether the place contains dirt. 

A simple reflex agent comprises the following parts:

  • Agent: The agent is the one who performs actions on the environment.
  • Sensors: Sensors are the things that sense the environment. They are devices that measure physical property.
  • Actuators: Actuators are devices that convert energy into motion.
  • Environment: The environment includes the surroundings of the agent.
A simple reflex agent


Here is an explanation of the above diagram:

  • The actions are taken depending upon the condition. If the condition is true, the relevant action is taken. If it is false, the other action is taken.
  • The agent takes input from the environment through sensors, and delivers the output to the environment through actuators.
  • The colored rectangles denote the current internal state of the agent’s decision process.
  • The ovals represent the background information used in the process.



Buchiredddypalli Koushik

View all Courses

Keep Exploring

Learn in-demand tech skills in half the time

Copyright ©2022 Educative, Inc. All rights reserved.