Agent Foundations: sections and modules
ReAct Agents & LangChain create_agent
Build a ReAct agent in LangGraph and explain how it differs from single-shot tool calling.
- Lessons
- 7 lessons
- By
- Sourav Banerjee
- Prerequisites
- None
Lessons
Start modulePractise and Check
- Deliverable
- ReAct research agent: give a `create_agent` agent your RAG retriever and a web-search tool, add a middleware that blocks off-topic questions, and compare its answers with your T6 system.
- Assessment
- Answer the five Interview questions without notes, then run the lab.
- Interview probe
- Larkspur's support agent cost three times as much yesterday as the day before. Traces show some runs making a dozen `search_handbook` calls with reworded queries before giving up. What do you check, and what do you change?
- Common mistakes
- Raising the call cap when the index stored questions without answers
- Making
refund_amountrequired, so the model invents a value - Sending a new user message to a thread paused for approval
Your Progress
Saved in this browser when you leave the box.