GNGiseldo Neo and Alana NeoBooks
Building AI Agents5 / 18

The agent cycle

Choose an option and select “Check”. Your answers are saved only in this browser.

5 questions in this chapter do not have a published answer key yet.

Question 1

In the minimal loop of Listing 2.1, which condition determines that the agent has finished?

Answer key not published yet.

Question 2

Why does a tool result need to carry the id of the call?

Answer key not published yet.

Question 3

An agent runs 40 steps on a task that normally takes 5. What is the first measure to take?

Answer key not published yet.

Question 4

About the scripted model used as a test, select the correct option:

Answer key not published yet.

Question 5

If the model returns text and tool calls in the same turn, what should the loop do?

Answer key not published yet.