Experiments | Introduction to LangSmith (5/12) @LangChain
Experiments | Introduction to LangSmith (5/12)  @LangChain
Uploaded November 2026 | Updated November 2026, 14 hours ago
An experiment runs your agent over every example in a dataset and scores the results with your evaluators. In this lesson we run a baseline experiment on the LangSlice pizza agent with the LangSmith SDK and read the evaluator's comments on the orders that let out-of-stock toppings through. Then we add a stock check to add_pizza_to_order and run the experiment again.

The comparison view lines the two runs up example by example, so you can confirm the failures flipped to passing and the passing orders stayed that way. The same setup works for comparing two models or two versions of a prompt.

Chapters:
0:00 What is an experiment in LangSmith
0:26 What to use experiments for
1:10 Ways to run an experiment
1:49 Running a baseline experiment with the SDK
2:41 Reading experiment results
3:39 Fixing the out-of-stock bug
4:12 Rerunning and comparing experiments
5:06 Where the Test stage leaves us

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
Experiments | Introduction to LangSmith (5/12)What Are Subagents? Explained in 4 MinutesThe Self-Driving Eval Trick No AI Benchmark BeatsWhat building Teslas autopilot chips taught Cognitions President about AIHow Madrigal Pharmaceuticals Cut Time to Production From 12 Weeks to 2 with LangChain & LangSmithWhat is Deep Agents? An open source harness for long-running agents.Build a secure computer for your agentHow Clay Monitors Millions of Agent RunsLangSmith for Coding Agents: Track Spend by OutcomeOffline and Online Evals Work Like Hiring a TeammateNew in LangSmith: 4 Updates for Managing Agents in ProductionIntroducing LangSmith Engine v2: Detect and ship fixes to agents faster
LangChain |

Experiments | Introduction to LangSmith (5/12)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER