Skip to content
Practice tests · 27 items

Agent Loops & the Harness practice test

The loop at the centre of every agent: call the model, dispatch the tools it asks for, feed the results back, decide when to stop. When a fixed workflow beats an agent, what the harness owns that the model never should, and how to read a run that went wrong. The pool for this topic holds 12 easy, 9 medium and 6 hard items. Each answer comes with its reasoning and a link to the question or concept page it was drawn from.

Configure a test
Topic
Difficulty
Questions
12 in this pool · about 7 min
Reveal answers
Sign in to startFree account required · retakes favour new items

Sample items with answers

easy · sample
In an agent loop, what has happened in the world when the model returns a tool call such as refund(order="4471")?
✓Nothing yet: the call is a proposal the harness may run or refuse
The refund has been issued and the tool result is pending
The refund is queued and will run unless the user cancels it
The model has reserved funds and awaits the harness's confirmation

A tool call is text describing an action. Only the harness executes it, after validating the arguments, authorising the caller and applying policy. Until then nothing has changed in any system, which is why the harness, not the model, is where control lives.

easy · sample
Which exit from an agent loop is the only one the model itself controls?
Stopping when the step budget is spent
Ending the run when a guard refuses an action
Handing the run to a person for approval
✓Returning a final answer with no tool calls

The model ends a run only by answering without tool calls, and even that is a claim to verify where a check exists. Budgets, guards, approvals, failures and cancellation are all decided by harness code the model cannot override.

After the test

Recognising a right option is not the same as producing the answer for a panel. For that, work through these: