Module · 5 lessons

Planning and Reasoning

Help your agent tackle hard, multi-step tasks — decompose goals into steps, interleave reasoning with action (ReAct), and let the agent reflect on and fix its own work.

At a glance

Level
Intermediate
Lessons
5 lessons
Time to complete
1 week
Cost
Free forever · no sign-up

Welcome to Planning and Reasoning, the fifth module. Your agent can already loop, call tools, validate inputs, and remember — but on genuinely hard tasks, a bare loop can still wander: calling tools in a muddled order, missing a step, or confidently producing a flawed answer. The fix isn’t a bigger model; it’s giving the agent better reasoning structure. This module covers the three patterns that do exactly that.

You’ll start by seeing why agents need to plan — and why making reasoning explicit helps on multi-step work. You’ll learn task decomposition: breaking a big goal into ordered sub-tasks the agent can actually carry out. You’ll meet ReAct, the pattern of interleaving reasoning with acting so each tool call is a deliberate choice, not a guess. And you’ll add reflection: a “check your own work” step where the agent critiques a draft and revises it before finishing. The module ends by giving Atlas all three — a planning, reasoning, self-correcting trip planner.

Every pattern’s orchestration here — plan-then-execute, the ReAct trace, the reflect-and-revise loop — is real, runnable Python, verified end to end against the agent loop you’ve built. Start with Lesson 1 on why agents need to plan.

Lessons in this module

Achievement

Complete all 5 lessons to finish the Planning and Reasoning module.

Start module