Hugging Face Agent Course Practice Test

Access More Questions
What is a 'plan' in the agent loop?
Correct Answer:
A drafted sequence of steps and tool calls the agent intends to execute to achieve the user goal.
Explanation:
In the agent loop, a plan is the drafted sequence of steps and tool calls the agent intends to execute to achieve the user goal. It acts as a concrete route map guiding what to do next and in what order, based on the current context and available tools. The plan is dynamic: the agent can revise it as tool results come back, shifting steps, adding new actions, or abandoning others if new information changes the goal. It's not simply a registry of all possible tools, nor a performance metric, nor a static document; it's specifically about the intended execution path that drives interaction with the environment. For example, if the goal is to answer a question about a document, the plan might be to fetch the document, extract text, summarize, and then generate an answer, adapting as needed when a tool returns unexpected results.

Access more questions from this quiz

Continue to Hugging Face Agent Course Practice Test for more practice questions and the full quiz experience.

Access More Questions