Example for Task Plan:
- Go to the shop.
- Select the gift.
- Purchase the gift.
- Bring the gift home.
- Pack the gift.
- Label the package.
- Bring the package to post office.
- Hand-over the package for shipment
Goal
The objective of the plan.
Can be written as condition: Gift has been send to firand.
The world
Your world consists
- of yourself (the agent),
- certain objects (gift, package) and
- a set of locations (home, shop, post office).
Locations are Objects of Typ Loaction.
Preconditions
Actions can be performed only in specific states that statisfy certain preconditions.
For example,
-
The package can be labeled only after the gift is packed.
-
The gift can be packed only after it has been purchased and brought home.

Summery
- The scenario described a problem which you had to solve.
- Solving the problem was your task.
- The solution to the problem should satisfy a goal condition.
- You came up with a plan to satisfy the goal.
- The plan is a sequence of actions that can be performed in the world.
- The state describes the relevant properties of all things in the world.
- An action can be performed only if its preconditions are satisfied in the current state.
- When an action is performed, it has an effect on the state.