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
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










