Lesson 9 6 min

Follow a helper’s plan

Put a pretend helper’s plan in order and say when it should stop.

Learning goal

I can say what a pretend helper plans, does, and checks.

How it works

An agent is a computer helper that can work in steps. It might make a plan, do a step, and see what happened. People choose what it is allowed to do.

Think of it like this

Think of a class helper looking for a missing pencil. They decide where to look and stop when they find it. A person can ask a teacher about another shelf. A computer helper can use only the tools it was given.

Worked example

At Maple Room, the job is to find tape. The helper checks the Art box first. It sees no tape, so it checks the Supply box. It finds tape there. The goal was to find tape, so it tells the class and stops.

What to remember

A helper can plan, do a step, and check. It needs to know when to stop.

  1. PlanDecide where to look for the tape.
  2. Do one stepCheck the supply box.
  3. Check and stopTape found. The job is done.
The check tells the helper whether it should do another step.

Key words

Agent
A system that can work toward a goal in steps, sometimes using tools. People decide which tools it can use and which actions need approval.
Stop condition
A rule that tells a helper when to end its work, such as after two tries or when a person says stop.
More AI Agents lessons

Activity

Act out the search

Materials Two labelled paper boxes and a scrap that says Tape, or describe the boxes aloud.

  1. Put the Tape card in the Supply box. Put a blank paper in the Art box.
  2. Say the goal “Find the tape.” Make the pretend helper look in Art and say what it found.
  3. Look in Supply. Say “I found tape” and stop the helper. Hide the card and try a rule that it stops after checking both boxes.

Talk it through If the tape is missing, what can the helper tell a person? It can say where it looked and ask for help.

Quick check

1. Which step checks what happened?
Answer and explanation

Say that the box has tape in it. The helper looks at the result to see if the goal was reached.

2. You found the tape. What is a good next step?
Answer and explanation

Stop and say where the tape is. The helper has reached the goal. Looking in more boxes has no purpose.