Planning and reflection
Give an agent a big job and it can wander for an hour and finish nowhere. Two habits fix most of that. Plan first, as a checklist the agent can tick off, and reflect when things fail, using real feedback rather than its own opinion. Add a clear rule for when to stop, and long tasks start to land.
In this lesson you'll learn to
- Explain how explicit plans and sub-goals keep an agent on track, and how to make a plan the agent can update.
- Use reflection and self-correction, and explain why external feedback makes them work.
- Design stopping conditions, including success checks, budgets and loop detection.
- Compare plan-and-execute with step-by-step ReAct and choose between them.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.