Your turn
Which of the following best describes an AI agent?
Your turn
What is the correct order of the four phases in the agent loop?
Your turn
You have a tool called get_data(topic) that fetches news, weather, and Wikipedia results in one call. What is the main problem with this design?
Your turn
A node function stores intermediate results on self.state instead of returning an updated state dictionary. What does this break?
Your turn
Two parallel branches in a LangGraph graph both update a list field called results. No reducer is defined. What happens?
Your turn
What is the purpose of the thread_id when using LangGraph's checkpointer?
Your turn
What is the difference between LangGraph's interrupt() and a force_stop kill switch?
Your turn
A tool call raises a RateLimitError. Your safe wrapper returns ToolError('rate_limit', message, retryable=True). What should the agent node do next?
Your turn
What does a structured node event contain that a plain log line does not?
Your turn
You fix a bug where your researcher agent crashes on an empty query. What should you do before closing the issue?
Sign in to take the chapter quiz and check your understanding.