What problem does it solve?
Lack of centralized visibility into LLM calls makes debugging, regression testing, and production monitoring difficult; this Skill provides structured tracing, evaluation, and monitoring to locate failures, measure quality, and control costs.
Core Features & Use Cases
- Tracing: Capture inputs, outputs, latency, and hierarchical run traces for chains, tools, and LLM calls to reproduce issues and analyze execution flows.
- Evaluation & Datasets: Create datasets from traces or CSVs, run automated evaluators (including LLM-based judges), and integrate evaluation into CI to detect regressions.
- Monitoring & Feedback: Aggregate metrics, collect user feedback, and sample production traffic to detect drift, errors, and cost anomalies; integrates with OpenAI, LangChain, and LangSmith SDK.
- Use Case: Debug a failing prompt in a multi-step chain by tracing nested runs, creating a dataset from failing traces, and running comparative evaluations across model versions.
Quick Start
Use the langsmith-observability skill to trace a sample LLM call, collect metrics and traces, and evaluate the output against a test dataset.