← All sessions, cheat sheets & labs
Week 5 · Field guide · Observability

LangSmith

The richest, managed tracing for LangChain and LangGraph apps: native agent-graph visualization, annotation queues, and evals.

tracing + evalscommercial (free tier)best for LangChain

What it is

LangChain's commercial observability platform.

LangSmith is the commercial platform from the LangChain team, and it offers the richest tracing for LangChain and LangGraph apps. It visualizes agent graphs natively, provides annotation queues for structured human review, and bundles evals and monitoring. If your stack is already LangChain, no other tool understands your runs as deeply.

The one job

Deep tracing and evals for LangChain apps.

It gives you polished, managed tracing and evaluation for LangChain and LangGraph applications, with the graph view and review workflows that native integration makes possible.

Reach for it when

Skip it when

A minimal look

Tracing turns on via env vars.

// set once in the environment, no code change to your call:
// LANGSMITH_TRACING=true
// LANGSMITH_API_KEY=ls-...
import { wrapOpenAI } from "langsmith/wrappers";
import OpenAI from "openai";

const openai = wrapOpenAI(new OpenAI());  // every call is now traced
const res = await openai.chat.completions.create({
  model: "gpt-4o", messages,
});                                       // span appears in LangSmith

The principle it teaches

Course principle

Observability is not optional (Session 10). LangSmith is the managed, LangChain-native flavor of that idea: if you have already committed to LangChain and LangGraph, it is the path of least resistance to seeing and grading every run.

Where it fits your labs

This is a Week 5 tool. When your Lab 5 agent is built on LangGraph, LangSmith is the observability layer that renders the graph, captures each trace, and hosts your evals.

Use in
Week 5 tracing and evals, especially when your agent runs on LangGraph.
week 5
Pairs with
LangGraph, whose agent graphs LangSmith visualizes natively step by step.