Table of Contents
1. Prerequisite Skills
Two distinct skill sets are needed before LangSmith itself is worth opening. Neither is exotic, but skipping either one turns LangSmith into a dashboard nobody can interpret correctly.
| 1a. Core Technical Skills | ||
|---|---|---|
| Skill | Why it's needed | Target proficiency |
| Python | LangSmith's SDK, evaluator functions, and most of the agent ecosystem around it are Python-first. | Comfortable writing functions and small classes, working with dicts/lists/JSON, using virtual environments and pip. |
| Git / version control | Golden datasets and eval code need to be versioned alongside application code — literally Chapter 5's "version and diff the dataset like code" advice. | Can commit, branch, and open a pull request. |
| REST APIs & JSON | The LangSmith SDK is a wrapper around HTTP calls; datasets and traces are JSON documents, exactly like Chapter 3's golden case payloads. | Understands requests, responses, status codes, and API-key auth well enough to read SDK docs and debug a failed call. |
| Automated testing (pytest or similar) | Chapter 4 showed that evals reuse classic test-runner infrastructure — parameterization, fixtures, CI integration. | Can write a parameterized test, understands what a CI pipeline does with a test suite. |
| Basic statistics | Dashboards report scores as proportions and averages; Chapter 6 built the exact math needed to read them correctly. | Understands what a confidence interval and margin of error mean well enough not to be fooled by a 5-run sample. |
| 1b. Agentic AI Engineering Skills | ||
|---|---|---|
| Skill | Why it's needed | Target proficiency |
| LLM fundamentals | Interpreting why an eval score looks the way it does requires understanding sampling, temperature, and model versioning. | Solid grasp of Chapter 1 — tokens, sampling, why re-running the same prompt can change the answer. |
| Prompt engineering | A large share of "improving an agent" through LangSmith is iterating on prompts in the playground. | Can write and revise instructions, use few-shot examples, and request structured (JSON/schema-constrained) output. |
| Agent architecture | Traces and evaluators only make sense once you know what's actually being observed. | Solid grasp of Chapter 2 — the think → act → observe loop, tools, memory — plus familiarity with an orchestration framework like LangChain/LangGraph. |
| Tool / function-calling schemas | Coding agents act almost entirely through tool calls (read a file, run a command, run tests); debugging a trace means reading these calls. | Can read and reason about a JSON tool schema and a tool-call log. |
| Eval methodology itself | This is the actual conceptual prerequisite — LangSmith is a delivery mechanism for skills, not a substitute for them. | Chapters 1–6 of this series, in full. |
| AI SDLC familiarity (useful) | Knowing where in a real software lifecycle a coding agent operates shapes which fault lines and eval methods matter most. | Understands, at a high level, how requirements, coding, code review, and testing fit together as a pipeline. |
| Business/ROI communication (optional) | Translating a dashboard into a decision leadership will act on, as in Chapter 7's ROI model. | Can explain "why this metric matters" in terms of cost, risk, or delivery speed, not just accuracy percentages. |
Read Chapters 1 through 6 of this series before starting the training plan below if you haven't already — it is, quite literally, the syllabus this plan assumes.
2. Where This Training Applies: LangSmith Across the AI SDLC
This series opened with four concrete uses of coding agents: developing requirements, writing code, doing code reviews, and testing. Different stages of that pipeline are vulnerable to different fault lines from Chapter 6, which means the eval focus should shift depending on which stage a learner's own agent actually operates in.
| AI SDLC stage | Example coding-agent task | Fault lines most likely to bite | Primary eval focus |
|---|---|---|---|
| Requirements | Drafting or clarifying requirements from a business ask | Context Collapse, Hallucination | Rubric scoring for completeness and accuracy against the source spec |
| Coding | Generating or implementing a feature | Plan Fragility, Integration Trap | Execution-based scoring — does the code run, do the tests pass |
| Code Review | Analyzing existing code for bugs and quality issues | Hallucination, Black Box Behavior | Execution-based plus rubric scoring — exactly Chapter 3's Woody's Hardware pattern |
| Testing | Generating or running test cases | Plan Fragility, Blind Autonomy | Recall against known defect/edge-case classes |
| Deployment / Monitoring | Agent-assisted release review, production oversight | Agent Drift, Misaligned Metrics | Regression-gate dashboards, scope-drift detection |
Keep this table nearby while working through the plan — it's the filter for deciding which fault lines and evaluators in Phase 6 are actually worth building first for a given learner's real job.
3. The Training Plan
Eight phases, each with a clear objective, hands-on activity, and a checkpoint deliverable. Every phase reuses the Woody's Hardware credit application validator and its Golden Dataset from Chapter 3 as the running exercise.
| Phase | Focus | Suggested duration |
|---|---|---|
| 0 | Prerequisites check & environment setup | Before Week 1 |
| 1 | Tracing & observability | Week 1 |
| 2 | Building a Golden Dataset in LangSmith | Week 2 |
| 3 | Evaluators — from Chapter 2's methods to configured pipelines | Week 3 |
| 4 | Consistency, statistics, and ship gates | Week 4 |
| 5 | Prompt iteration & regression safety | Week 5 |
| 6 | Applying the Ten Agent Fault Lines | Week 6 |
| 7 | Closing the production loop & building the ROI case | Weeks 7–8 |
0Prerequisites Check & Setup
- Confirm the Section 1 skill bars are genuinely met — don't skip this; it's the single biggest predictor of whether the rest of the plan lands.
- Read (or re-read) Chapters 1–6 of this series.
- Create a LangSmith account, install the SDK, generate an API key.
- Checkpoint: A working local environment that can successfully make one authenticated call to the LangSmith API.
1Tracing & Observability
Objective: understand what a trace actually captures, and instrument a real function with it.
from langsmith import traceable
@traceable(name="validate_credit_application")
def validate_application_with_agent(application: dict) -> dict:
# calls the coding agent / LLM to analyze the Woody's Hardware application
# (see Chapter 3 for the full 20-rule business logic being analyzed)
...
return agent_result
- Wrap a function that asks an agent to analyze a Woody's Hardware application (Mode A or Mode B from Chapter 3) with
@traceable, run it, and inspect the resulting trace in the LangSmith UI. - Identify, inside a single trace: the model call, any tool calls, latency, and token usage — mapping directly onto Chapter 2's think → act → observe loop, now visualized instead of theoretical.
- Checkpoint: Can walk a colleague through a real trace end to end, in plain language.
2Building a Golden Dataset in LangSmith
Objective: turn Chapter 3's ten hand-authored golden cases into an actual, reusable LangSmith dataset.
from langsmith import Client
client = Client()
dataset = client.create_dataset(
dataset_name="woodys-hardware-golden-v1",
description="10 golden credit application test cases (Chapter 3)",
)
for case in GOLDEN_CASES: # GD-001 through GD-010
client.create_example(
inputs={"application": case["input"]},
outputs={"expected": case["expected"]},
dataset_id=dataset.id,
)
- Load all ten GD-001 through GD-010 cases as dataset examples, preserving each case's documented rationale as metadata.
- Checkpoint: A LangSmith dataset with 10 examples, each traceable back to the specific Chapter 3 scenario it represents.
3Evaluators — From Chapter 2's Methods to Configured Pipelines
Objective: implement the eval methods from Chapter 2 as real, runnable LangSmith evaluators.
from langsmith.evaluation import evaluate
def rule_level_recall_evaluator(run, example):
predicted_failed = set(run.outputs.get("failedRules", []))
actual_failed = set(example.outputs["expected"]["failedRules"])
if not actual_failed:
return {"key": "recall", "score": 1.0}
recall = len(predicted_failed & actual_failed) / len(actual_failed)
return {"key": "recall", "score": recall}
results = evaluate(
validate_application_with_agent,
data="woodys-hardware-golden-v1",
evaluators=[rule_level_recall_evaluator],
experiment_prefix="agent-v1",
)
- Implement rule-level recall and precision evaluators (Chapter 3's metrics), an execution-based check, and one LLM-as-judge evaluator scoring explanation clarity.
- Run the full suite against the dataset from Phase 2 and review the per-case results.
- Checkpoint: Can run an eval suite on demand and correctly interpret a precision/recall breakdown, not just a single pass/fail number.
4Consistency, Statistics, and Ship Gates
Objective: apply Chapter 6's statistical rigor and Chapter 4's dashboard discipline inside LangSmith.
- Run the same golden case 5, then 30 times; compute the margin of error at each sample size and compare it against Chapter 6's worked table.
- Recreate Chapter 4's two-tier ship-gate table (hard gates on compliance-sensitive rules, soft thresholds elsewhere) as an actual dashboard view or saved query.
- Checkpoint: A documented ship-gate policy, with each threshold justified by a sample size the learner can defend, not picked arbitrarily.
5Prompt Iteration & Regression Safety
Objective: use the prompt playground and versioning to change an agent's behavior without shipping a silent regression.
- Deliberately modify the prompt used in Phase 1 (e.g., change how the 20 business rules are presented to the agent).
- Rerun the Phase 3 eval suite against both the old and new prompt versions, and compare them side by side on the dashboard.
- Practice identifying a regression and rolling back to the prior prompt version.
- Checkpoint: A documented before/after comparison of two prompt versions scored against the same Golden Dataset.
6Applying the Ten Agent Fault Lines
Objective: deliberately build eval coverage for the fault lines most relevant to the learner's actual coding-agent use case, using the SDLC-stage table from Section 2 to prioritize.
- Pick 3–4 fault lines from Chapter 6 that match the learner's real SDLC stage (e.g., a code-review agent should prioritize Hallucination and Black Box Behavior).
- For each chosen fault line, build one small dataset and evaluator pair using the LangSmith mechanism named in Chapter 7's mapping table.
- Checkpoint: A short internal write-up mapping each chosen fault line to the eval coverage actually built for it.
7Closing the Production Loop & Building the ROI Case
Objective: wire the whole system into something that runs continuously and can be defended to stakeholders.
- Configure a rule (or manual process) for promoting flagged real traces into the Golden Dataset — recreating Chapter 7's compounding loop.
- Integrate the Phase 3 eval suite into a CI pipeline, reusing the JUnit/Pytest integration patterns from Chapter 4.
- Populate Chapter 7's ROI model with the learner's own team's real or realistically estimated numbers, and draft a one-page summary.
- Checkpoint: A running, CI-integrated eval pipeline, plus a stakeholder-ready ROI one-pager.
4. Skill Progression Ladder
| Level | What they can do | Corresponding phases |
|---|---|---|
| Beginner | Instruments an agent with tracing, reads a trace, understands what an eval score means | Phases 0–2 |
| Practitioner | Builds and runs eval suites, sets defensible thresholds, safely iterates on prompts without shipping regressions | Phases 3–5 |
| Advanced | Designs fault-line-specific eval coverage matched to a real SDLC stage, closes the production feedback loop, and can defend the practice in dollars to leadership | Phases 6–7 |
5. Staying Sharp: Beyond the Initial Plan
Eight phases produce a competent practitioner, not a finished one. Ongoing practice matters as much as the initial ramp:
- Track platform changes. LangSmith, like the field around it, moves quickly — new evaluator types and integrations appear regularly; revisit Chapter 7's capability table periodically.
- Keep expanding fault-line coverage. Phase 6 deliberately covered only 3–4 of the ten fault lines; the rest should be added incrementally as the agent takes on new responsibilities.
- Specialize by SDLC stage. The Section 2 table makes a strong case that "requirements evals," "code-review evals," and "testing evals" are different enough skills that real depth usually means picking one or two to go deep on.
- Feed Chapter 5's discipline back in. As the dataset grows from production traces (Phase 7), periodically re-apply Chapter 5's honesty checks — watch for discontinuous jumps, keep some cases held out, and don't let a single metric become the target.
- Mentor the next person through this same plan. Explaining why a threshold was set where it was, to someone new, is usually the fastest way to discover it was set on gut feel after all.
6. Key Takeaways
- LangSmith fluency rests on two distinct prerequisite skill sets: core technical skills (Python, git, REST/JSON, pytest, basic statistics) and agentic AI engineering skills (LLM fundamentals, prompt engineering, agent architecture, tool schemas) — Chapters 1–6 are themselves the direct conceptual prerequisite.
- Different AI SDLC stages — requirements, coding, code review, testing, deployment — are vulnerable to different fault lines from Chapter 6, and training should prioritize accordingly.
- An effective training plan moves from tracing (Phase 1), to dataset-building (Phase 2), to configured evaluators (Phase 3), to statistically defensible thresholds (Phase 4), to safe prompt iteration (Phase 5), to fault-line-specific coverage (Phase 6), to a closed, CI-integrated production loop with a real ROI case (Phase 7).
- Reusing one consistent worked example — the Woody's Hardware Golden Dataset from Chapter 3 — throughout training keeps every phase concrete instead of abstract.
- The plan doesn't end at Phase 7: platform changes, expanding fault-line coverage, SDLC-stage specialization, and mentoring are what keep the skill current.
7. Glossary
| Term | Meaning |
|---|---|
| AI SDLC | The stages of software development a coding agent can participate in: requirements, coding, code review, testing, and deployment/monitoring. |
| Traceable function | A function instrumented (e.g., via a @traceable decorator) so every call is captured as a structured trace. |
| Experiment | A named run of an eval suite against a dataset, associated with a specific agent/prompt/model version — what makes version-over-version comparison possible. |
| Ship-gate policy | The documented set of hard and soft metric thresholds a team requires before an agent change is allowed to release. |
| Fault-line coverage | The subset of the Ten Agent Fault Lines a team has deliberately built eval scenarios for, versus ones still unaddressed. |
This chapter closes the applied arc that Chapter 7 opened. Next: a self-check quiz covering everything from Chapter 1 through Chapter 8. — continue to Chapter 9: Knowledge Check Quiz →