How to Use LangSmith Traces to Systematically Improve Your AI Agents
If your AI agent isn’t performing the way you want, the instinct is to tweak the prompt, swap the model, or add another tool. Those changes might help — but they’re guesses. According to Vivek Trivedy (Applied Research Lead at LangChain Labs), the systematic approach to agent improvement is fundamentally a data mining problem. And the data you need is already sitting in your traces. This guide walks through the practical framework Trivedy laid out at AI Engineer World’s Fair 2026 and expanded in a July 7 LangChain blog post. ...