What is the fundamental definition of an "agent" in this context?	An autonomous version of Claude that runs the entire messaging loop without human intervention.
What is the core pattern of an agentic workflow?	Observe, decide, act, and repeat (acting on the results of previous steps).
What are the three required components when defining tools for Claude?	A name, a description, and a JSON schema for the inputs.
What does the agent loop require the developer to own?	The loop structure and the tools (the plumbing).
What does a `stopreason` of `end_turn` indicate?	Claude has completed its task and is ready to provide a final answer.
What does a `stopreason` of `tooluse` indicate?	Claude requires the developer to execute a defined tool to proceed.
Describe the sequence of information flow when an agent uses a tool.	User message $\rightarrow$ Claude requests tool $\rightarrow$ Code executes tool $\rightarrow$ Result is sent back to Claude $\rightarrow$ Claude answers.
In the agent loop, who is responsible for the reasoning and decision-making?	Claude.
