How would you stop an agent that keeps trying without making progress?
Understand the idea, explain it in your own words and use the rubric to find your next learning gap.
The idea behind the question
Per-call limits are not enough for a multi-step workflow. A run needs total budgets, explicit termination conditions and a product-level definition of useful progress.
Each tool call finishes within its timeout, but the assistant cycles between search and reformulation for many minutes.
A practical way to learn it
Specify a run policy for a research assistant with three tools. Include deadlines, retry rules, a repeated-action condition and the final incomplete response.
Open online notepadThe related tool opens separately; your interview answer stays here. Written practice is self-guided, without automatic code grading.
Build an explanation you understand
- State what the concept does in plain language.
- Apply it to the example and make your assumptions explicit.
- Explain a trade-off, failure case and how you would test it.
- Distinguish your actual experience from a proposed approach.
How would you explain it?
Single-question timers reset on refresh. Full mock sessions can resume from this browser.
Strengthen your explanation
Compare reasoning, not identical wording. Reference answers describe a possible approach; replace hypothetical statements with truthful details from your own work.
One way to answer
I would set an overall deadline, maximum steps, allowed tools, spend or token budget and bounded retries, with cancellation propagated to in-flight work. I would track repeated states or equivalent actions and define task progress beyond generating another message. A supervisor would enforce these limits outside the model and return a clear incomplete outcome when they are exhausted. I would preserve useful partial results and trace the stopping reason. I would evaluate tasks that naturally loop or fail, because a successful demo does not show whether resource use remains bounded under adverse inputs.
What a strong explanation should cover
Tick only the points your own answer addresses. This is self-assessment, not AI scoring.
0 / 3 points self-reportedWatch out for
- Relying only on a prompt that says do not loop.
Now go one level deeper
- How would parallel tools share a remaining budget?
- Which task outcomes justify asking the user for help?
Further reading
Further-reading links support learning; the reference is Sukoaa-authored, not an official employer answer key.