Skip to content

Interview question · Agent Loops & the Harness

The agent calls the same tool with the same arguments eight times. Debug it from the trace.

Repetition is a symptom with five common causes, and four of them live in the harness. Find which one from the second call, then add a detector so the next cause is caught in two calls, not eight.

mediumNewUpdated Nov 2026

Repetition is a symptom with five common causes, and four of them live in the harness. Find which one from the second call, then add a detector so the next cause is caught in two calls, not eight.

Make your first attempt

Before you read on, answer it yourself

  1. 01 State the assumptions your answer depends on.
  2. 02 Explain the mechanism and choose a control.
  3. 03 Say what fact, if it changed, would flip your answer.

Then open the worked answer: the approach, how a panel scores it, and the follow-ups. Check where your reasoning diverged.

a free account opens extra answers in every topic
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.