LangChain · Lesson 57 of 120
Agents Quiz
Test yourself.
⏱ 2 min read▶ Video at 1:03:38🎓 Free
Let's review tools and agents. Pause after each question, and answer before I do.
From the video: Agents Quiz- Agents quiz
- Pause and think
- Then check
Who actually runs a tool, the model or your code? Your code. The model only asks.
Quick check
Who runs the tool?
What gives an agent memory across calls? A checkpointer, with a thread ID.
Quick check
Agent memory:
How should a tool learn which customer is asking? Through runtime context.
Quick check
Which customer?
Which middleware pauses a risky tool for approval? Human in the loop.
Quick check
Pause for approval:
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