An agent has failed the same tool call three times in a row: what should it do?

HardSystem design20 minREMLEPro outline

The question

Your agent calls a tool and it fails three times in a row. Design how the agent and the harness should react, so the task either recovers or fails cleanly.

What the interviewer is looking for

  • Classifies the failure: bad arguments, tool down, permission, logic
  • Changes strategy instead of blind retries
  • Uses backoff for transient errors
  • Escalates or stops with a clear message
  • Logs for later fixes

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported 01.AI question type: what an agent should do after three failed tool calls in a row, and how to handle wrong tool parameters.

Reported in: mj.mianlingai.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official 01.AI question.