Simple Reflex Agent

An Agent that only bases its next actions on the last Percept it perceived.

So the Agent Function simplifies from a history of percepts to only one percept:

An example of an Agent Program would be the reflex vacuum which cleans when there is dirt in front of it.

Basically a set of if else rules.

General Agent Program

function Simple−Reflex−Agent (percept) returns an action
	persistent: rules /∗ a set of condition−action rules∗/

    state := Interpret−Input(percept)
    rule := Rule−Match(state,rules)
    action := Rule−action[rule]
    return action

Schema

Cons

Further

Model-based Reflex Agent