Streamlining LLM Operations with LangSmith
Factory, focused on building secure AI platforms for SDLC automation, faced challenges in managing the observability requirements of its fleet of Droids. Traditional methods for tracking data flow and debugging context-awareness issues within their LLM pipelines proved cumbersome. The company’s custom LLM tooling further complicated the setup of existing observability solutions. LangSmith offered a complete solution, providing a custom tracing API to export data directly to AWS CloudWatch logs.
Precise Data Flow Tracking
By integrating LangSmith, Factory was able to precisely track data flow through its LLM pipelines. Linking LangSmith events and steps with CloudWatch logs allowed engineers to pinpoint the source of issues within the agentic stage. This centralized approach provided a single source of truth for data flow, critical for debugging and optimization. The system facilitated the analysis of feedback directly linked to each LLM call, enabling rapid identification and resolution of issues like hallucinations.
Optimizing Prompt Feedback Loops
Beyond observability, Factory leveraged LangSmith to optimize product feedback loops. The Feedback API streamlined the process of collecting and analyzing customer feedback, allowing for real-time prompt refinement. Factory’s approach involved collecting feedback on comments, using LangSmith to analyze the data and then re-prompting the LLM with optimized prompts. This automated process reduced mental overhead and infrastructure requirements for analyzing feedback.
Quantifiable Results and Strategic Alignment
Factory’s implementation of LangSmith resulted in significant improvements in accuracy and efficiency. The company reported a 2x increase in iteration speed compared to their previous manual methods. Furthermore, clients experienced a ~20% reduction in open-to-merge time and a 3x reduction in code churn within the first 90 days. These results, coupled with $15 million in Series A funding, demonstrate the strategic value of LangSmith for Factory’s AI-driven software development efforts.



