Session 5. A deterministic mini-agent — Fri 18 Sep
Quick quiz (ungraded)
Q1: Why does the lab give run_loop a written plan instead of asking a model what to call next?
Q2: A four-step plan runs under budget=2. What must be true of the receipt?
Q3: The loop sees list_documents(tag="retrieval") twice in a row and stops. Why is that its own exit rather than a job for the budget?
Q4: A tool raises ToolError on the third call of a run. What does the finished loop return?
Q5: Why does every exit return all four receipt keys, even the ones it does not use?