LangSmith Engine
An AI agent that diagnoses your AI agent's failures, prioritizes root causes, and drafts fixes automatically.
Tool overview
LangSmith Engine automates the manual iteration loop of tracing, finding failure patterns, writing evals, and fixing code. It scans production traces to surface systemic issues, generates named issues with root-cause analysis, and proposes fixes while improving evaluation coverage. This turns what used to be a week-long human cycle into an automated workflow.
Key strengths include dramatically reducing time to detect and fix agent failures, democratizing debugging for team members, and providing structured outputs that integrate with LangSmith's evaluation and CI/CD. Its design makes deliberate trade-offs: it uses cheap models like Haiku for initial filtering, compresses traces to skeleton form to control token costs, restricts issue classification to predefined categories for consistency, and separates issue creation from fix generation into different agents—allowing human review at every step.
Limitations and prerequisites are substantial. Issue categories must be predefined, limiting flexibility; generated fixes still need manual PR review before merging. It is tightly coupled to the LangSmith and LangChain ecosystem, so non-LangChain users cannot benefit.