AI Hints
Home›LangGraph Tutorial›Agent Practice and Routing
LangGraph · Lesson 39 of 120

Agents Quiz

Test yourself.

⏱ 2 min read▶ Video at 41:00🎓 Free
Watch this lesson in the LangGraph courseWatch on YouTube ↗Full LangGraph course

Let's check the agents section. Pause after each question, and answer before I do.

Agents Quiz
From the video: Agents Quiz
  • Agents quiz
  • Pause and think
  • Then check

Question 1

Which reducer is made for message lists? Add messages.

Quick check
Reducer for messages:

Question 2

What runs the tool calls from the model? Tool node.

Quick check
Runs tool calls:

Question 3

What closes the agent loop? An edge from tools back to the agent.

Quick check
Closes the loop:

Question 4

Where should the system prompt usually go? Added in the node, not stored in the state.

Quick check
System prompt goes:

Summary

Well done. Next, a new section on persistence, starting with checkpointers.

Key takeaways
  • add_messages
  • ToolNode
  • Prompt in the node
Next up: Checkpointers — saving state