What is Tracing? | Introduction to LangSmith (2/12) @LangChain
What is Tracing? | Introduction to LangSmith (2/12)  @LangChain
Uploaded November 2026 | Updated November 2026, 10 hours ago
An agent's reply shows what it said and hides the tool calls behind it. This lesson turns on LangSmith tracing for the LangSlice pizza agent, loads a batch of recorded customer conversations, and uses the trace views to find a bug the output never shows. The add_pizza_to_order tool sees that pineapple is out of stock and adds it to the order anyway, with no error raised.

For agents built on LangChain's open-source frameworks, tracing takes three environment variables and no code changes. You'll also see how runs nest into traces and traces group into threads, and how to record your own helper functions with @traceable.

Chapters:
0:00 Why an agent's output doesn't show how it got there
0:31 Runs, traces and threads in LangSmith
1:35 Meet the LangSlice pizza agent and its nine tools
2:45 Project files and the Claude Agent SDK version
3:51 How to turn on tracing in LangSmith
4:40 How to trace helper functions with @traceable
5:19 Run the agent locally with langgraph dev
6:09 Upload a batch of recorded traces
6:54 Four views for reading a trace
8:11 Finding the out-of-stock bug in a trace
9:54 What a trace can't tell you

LangSmith Essentials is a free course on LangChain Academy. LangSmith is LangChain's framework-agnostic platform for agent engineering.

Resources:
→ LangSmith Essentials course: academy.langchain.com/courses/quickstart-langsmith-essentials
→ Course repo: github.com/langchain-ai/lca-langsmith-essentials
→ LangSmith: langchain.com/langsmith
What is Tracing? | Introduction to LangSmith (2/12)POV: You’re arriving at Interrupt London, The Agent Conference by LangChain.Inside Clay’s GTM agent rebuildClosing the Loop | Introduction to LangSmith (11/12)We Open Sourced Our Design BrainThe Whack-a-Mole Problem Every AI Team HitsThe 50/50 problem with voice AI nobody is talking about #ShortsWhos Your Agent Acting For? Managed Deep Agents in Under 65 SecondsAccelerate agent improvement with LangSmith EngineTurn Flagged Traces Into a Dataset in 3 Minutes with the LangSmith CLIWhy Clays Finance Team Loves LangSmithWhat Is RAG, Actually?
LangChain |

What is Tracing? | Introduction to LangSmith (2/12)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER