Planning, todos and looping
See how a todo list and two modes keep an agent organised, and how a loop runs the agent again and again until every item is done, with a firm limit on the number of runs.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.
Written from the official documentation
In this module: Harness, skills and long tasks
- The agent harnessA preconfigured agent for long tasks with many steps.Pro
- Planning, todos and loopingPlan mode, a todo list and running until the work is done.Pro
- Background responses and background agentsLong jobs that keep running while the caller moves on.Pro
- Agent SkillsPackaged instructions, resources and scripts an agent loads.Pro
- CodeAct and shell toolsLetting the agent write and run code in a sandbox.Pro