Briefing

Case Studies LangSmith Pushing LangSmith to new limits with Replit Agent's complex workflows

ai-dev

Enhance LangSmith ingestion for large traces and add search within traces.

What to do now

Enhance LangSmith ingestion for large traces and add search within traces.

Summary

Replit’s new Replit Agent, a highly custom agentic workflow tool, pushed LangSmith to handle complex, long‑running traces involving hundreds of steps across planning, environment creation, dependency installation, and deployment. The agentic tool required advanced tracing, search, and thread‑view capabilities to debug issues reported by alpha testers.

LangChain responded by improving ingestion to efficiently process large volumes of trace data and enhancing the frontend rendering to display long traces seamlessly. A new search pattern—searching within traces—was added, allowing users to filter directly on criteria such as keywords in inputs or outputs, dramatically reducing debugging time. The thread view collates related traces from multi‑turn conversations, enabling human‑in‑the‑loop workflows and pinpointing bottlenecks where users get stuck.

These enhancements allowed Replit to scale its agentic platform while maintaining fast debugging and improved trace visibility. The case study illustrates how observability features can be extended to support highly parallel, human‑in‑the‑loop AI workflows.

Key changes

  • Improved ingestion pipeline to efficiently process large volumes of trace data for Replit Agent.
  • Enhanced frontend rendering to display long‑running traces seamlessly.
  • Added search‑within‑traces pattern, allowing filtering on keywords in inputs or outputs.
  • Thread view collates related traces from multi‑turn conversations for human‑in‑the‑loop workflows.
  • Supports parallel execution and human intervention in Replit Agent’s planning, environment creation, and deployment steps.
  • Enables quick debugging of issues reported by alpha testers by narrowing down to specific events.
  • Demonstrates scalability to hundreds of steps per trace across thousands of repositories.
  • Shows how observability features can be extended to support highly parallel, human‑in‑the‑loop AI workflows.

Affects

internal

Customer impact

Analyzing matches…

Ask about this story

Impact on an agency? Which customers? Compare historically Risks of waiting