Senior interview question
How do you decide whether a task needs an agent at all?
Model answer
Start with the simplest solution and add complexity only when needed. If the steps are known in advance, fixed code can run them, with the model doing only the parts that need judgment.
An agent earns its extra cost, latency and compounding risk when the path can't be written down beforehand.
Practise the rest
6 Agent loop questions, 492 in all, each with a model answer. Free.