Formats
Live debugging rounds
“This agent loops forever on some inputs. Find out why and fix it.”
What it is and why it exists
You get a broken integration — an agent loop, a retrieval pipeline, a parser — and must find the cause by hand. Interviewers watch for a method: reproduce, read traces/logs, hypothesise, isolate, fix, add a test.
Quick prototype
—
In production, at scale
Practise with the trace replayer and re-engineering drills; narrate your hypotheses.
Vendors and tools
| Agent trace replayer | Practise reading traces |
|---|
How it fails
- Changing prompts randomly until it works once
What the interviewer asks next
Common root causes when an agent loops?
A tool returning an unhelpful error the model keeps retrying, a missing stop condition, a result that never satisfies the model’s plan, or context truncation that drops the evidence it already found.