Divide and Rule, or How to Make an LLM Work
summary
The talk examines why LLM-based agents that work in demos fail in real production, cataloging common agent problems and methods to address them through complexity management and software engineering practices borrowed from classic development. It introduces the LangGraph agent/graph framework and demonstrates, using a real product example, how LangGraph’s flexibility helps make LLMs reliable in production.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:10Cruise chatbot task
- 2:14What is an agent
- 3:16Naive agent setup
- 4:43RAG tool overuse
- 6:08Passing tools to models
- 8:57Why tools overused
- 11:06Fixing RAG overuse
- 13:56Backend tool complexity
- 16:48Why backend tools fail
- 20:39Redesigning backend tools
- 22:49Date validation in flow
- 25:21Models struggle with reasoning
- 27:07Fixing date validation
- 28:58Final agent flow improvements
- 30:47Q&A
