Bitpath

Lesson 2 · Unit 02

Errors and recovery

Retry, change course or ask, and check before claiming

12 exercisesabout 3 min

What you practise

  • A tool fails: retry, change approach or ask
  • Checking its own work with a test or a second look
  • Spotting a loop
  • Knowing when to stop and report

Try a question from this lesson

Pick one

Two tool calls fail. The agent sends both again, unchanged. Which retry can succeed?

call A -> error: rate limited,
          retry in 2 s
call B -> error: no such column
          'emial'

The ideas

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

Concept

Three answers to a failure

Retry when the failure was about timing: a timeout, a rate limit, a busy server.

Change the call when the failure was about the call: a wrong name, a bad argument, a missing step.

Stop and ask when the agent lacks something only a person can give: a decision, a permission, a missing fact.

Concept

Check your own work

A model saying "that should work" is a prediction. Evidence comes from the world: the test that failed now passes, the file read back holds the new line, the row is in the table.

Before claiming a step is done, an agent should make one cheap call that could prove it wrong.

9 more exercises in the app

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

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