AI Hints
Home›LangChain Tutorial›Agent Practice and Approval
LangChain · Lesson 57 of 120

Agents Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:03:38🎓 Free
Watch this lesson in the LangChain courseWatch on YouTube ↗Full LangChain course

Let's review tools and agents. 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

Who actually runs a tool, the model or your code? Your code. The model only asks.

Quick check
Who runs the tool?

Question 2

What gives an agent memory across calls? A checkpointer, with a thread ID.

Quick check
Agent memory:

Question 3

How should a tool learn which customer is asking? Through runtime context.

Quick check
Which customer?

Question 4

Which middleware pauses a risky tool for approval? Human in the loop.

Quick check
Pause for approval:

Summary

Brilliant. Next, a new section on retrieval augmented generation, or RAG, starting with what it is.

Key takeaways
  • Your code runs tools
  • Checkpointers
  • Context, approvals
Next up: What Is RAG — answers from your documents