LLM Learning Hub

workspace/llm-course/home

Planning

Planning is the agent's ability to decompose a complex goal into a sequence of sub-tasks before execution, improving coherence and reducing errors in multi-step problems.

What is Planning?

Planning is the agent's ability to decompose a complex goal into a sequence of sub-tasks before execution, improving coherence and reducing errors in multi-step problems.

Planning is the agent's ability to decompose a complex goal into a sequence of sub-tasks before execution, improving coherence and reducing errors in multi-step problems.

Where is it used?

Tree-of-Thoughts, ReWOO, and LangGraph `Plan-and-Execute` agents plan upfront; OpenAI o1 and Claude internally reason through plans before producing a final answer.

How to build it

Prompt the LLM with `"Break this task into numbered sub-tasks: {goal}"`, parse the list, then iterate executing each sub-task with its own tool-calling sub-loop.