Replit Agent’s complex workflows presented significant observability challenges for LangSmith. The agent’s architecture, involving parallel execution and diverse functions like code planning and deployment, resulted in agent traces exceeding hundreds of steps. Initial ingestion and display of these large traces proved difficult.
To address this, the LangChain team enhanced LangSmith’s data ingestion capabilities to efficiently process and store large volumes of trace data. Simultaneously, improvements were made to LangSmith’s frontend rendering to facilitate the seamless display of these extended agent traces. This allowed for a more comprehensive understanding of the agent’s operation.
Furthermore, the Replit team required the ability to quickly pinpoint specific issues within these extensive traces. LangSmith was augmented with a new search pattern, enabling filtering directly on criteria such as keywords within the agent’s inputs and outputs. This significantly reduced the time needed to debug individual steps within a trace.
Replit Agent’s emphasis on human-in-the-loop workflows also drove the development of LangSmith’s thread view. This feature consolidates traces from multiple conversational threads, providing a logical overview of agent-user interactions across multi-turn conversations. This capability aids in identifying bottlenecks and opportunities for human intervention.
LangSmith’s enhancements support the development of complex AI agents by providing the necessary tools for debugging, evaluation, and deployment. These improvements are particularly relevant for agents with intricate workflows and high levels of parallel execution.



