What Is the Hardest Part of Building AI Agents?
Harrison Chase says the hardest part of building agents is getting the system to behave reliably. Models are non-deterministic black boxes. They take natural language in and send natural language out, and the inside of the box is non-deterministic too.
Someone in front of a chatbot can type anything, so the input space is infinite and it is hard to know what will arrive. Agents are a series of model calls interacting with tools, not a single model call. Small black boxes sit inside a large system, and errors cascade. Two similar inputs can go in and arrive at completely different answers. The model is very smart, but builders do not know exactly what it will do, and it changes answers after small changes to the input. The system ends up non-robust.
Agents today are a lot better than agents three years ago or four years ago. The models have gotten better, and builders have figured out how to harness them. LangChain focuses on that harness.
From the transcript
you have now arrived at your destination harrison dude i'm so looking forward to this i've been looking forward to it for a while because i remember miles telling me about you when he was at benchmark and just singing your praises so i wanted to make it happen for a while so thank you for joining me i'm excited to be here for those that don't know 60 seconds what is lang chain and where do you like sit in the stack We build tools to make it easy to build agents.
So we build developer tools primarily. We have an open source framework which basically connects the model to everything else that you need to build a useful agent. So tools, data, computation, things like that. And then we also have LangSmith. LangSmith is observability and evals. Agents go wrong all the time. How do you know how they go wrong and how do you measure them so that you can increase their performance over time? That's what LangSmith does.