Bitpath

Lesson 1 · Unit 02

Plan, then act

A todo list in the window keeps a long task on course

12 exercisesabout 3 min

What you practise

  • Breaking a task into steps, a todo list the agent updates, thinking interleaved with acting, when a plan helps and when it is wasted tokens

Try a question from this lesson

Pick one

Rename a function used across 40 files. Agent A starts editing the first file it opens. Agent B first searches for every use and lists them. Who is likelier to finish?

The ideas

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

A plan is text in the window

An agent's plan is a todo list it writes into its own context and keeps up to date: what is done, what it is doing now, what is left.

It works because the model re-reads the list on every call. After thirty steps of tool output, the plan still says what the job is and what comes next.

[x] find every use of total()
[>] rename it in cart.py
[ ] rename it in the tests
[ ] run the tests

Concept

When a plan is waste

Planning is not free. The list costs tokens to write and is re-read on every call. For a one-step job, such as looking up a value or fixing a typo, it is all overhead.

Plan when the task has many steps, when steps depend on each other, or when it will outlast the window. Otherwise just act.

9 more exercises in the app

  • 2× type the answer
  • 1× order the lines
  • 3× multiple choice
  • 1× true or false
  • 1× fill the blanks
  • 1× match the pairs

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy