1. Generate a goal to achieve
2. Construct a plan to achieve goal from current state
3. Execute plan until finished
4. Begin again with new goal
The agent first generates a goal to achieve, and then constructs a plan to achieve it from
the current state. Once it has a plan, it keeps executing it until the plan is finished, then
begins again with a new goal.
A simple planning agent create and use plans based on the following assumptions:
Atomic time :each action is indivisible
No concurrent actions : allowed
Deterministic actions : result of each actions is completely determined by the
definition of the action, and there is no uncertainty in performing it in the world.
Agent is the sole cause of change: in the world.
Agent is omniscient : has complete knowledge of the state of the world