Planning and Reasoning Lab

Planner Lab

Enter a compound task and watch how the planner divides it into subtasks, chooses a tool for each, executes them, and retries on failure.

Loading the Planning and Reasoning Lab…

Suggested labs in this lab

Breaking a goal into subtasks Plan a Goal into Subtasks

To notice how the planner breaks a general goal into ordered subtasks, and to compare planning in advance with step-by-step execution.

  1. Open the Planning Lab (open ↗)
  2. Write a general goal such as: prepare a report on first-quarter sales
  3. Review the resulting subtasks and their order, and write down the expected tool for each task
  4. Rephrase the goal to make it more precise or more general, and compare the two plans
  5. In the simulator, place a Planner node after Start with the same goal, then an Agent with the task_manager tool, then Output, and run
  6. Add a Condition node on steps to stop execution if it exceeds a specific number

What you will notice: You will notice that a more precise goal produces clearer tasks, and that an explicit plan makes the log easier to read and review. Remember that the breakdown in the lab is based on fixed educational rules, whereas a real model's breakdown varies from one run to another.

Open the lab