Locked · Module 4, lesson 5 of 8

State: what the loop carries between steps

Keep the run's state in one typed object (messages, results so far, steps used, money spent) so a run can be saved, inspected and resumed.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

Planning: think first, act, then check the planNext: How agents go wrong: loops, wrong tools, invented arguments