Skip to main content

LangChain Certified Agent Engineer: Complete Agent Development Lifecycle Guide

· 45 min read
AI Playbook author

Updated: July 27, 2026

The LangChain Certified Agent Engineer certification is designed to assess whether an engineer can manage the complete lifecycle of a production AI agent—not merely write a basic tool-calling loop.

LangChain describes the certification as covering the entire Agent Development Lifecycle, or ADLC. The exam gives equal weight to four domains:

  1. Building agents
  2. Testing agents
  3. Deploying agents
  4. Monitoring agents

The official certification page currently lists a 120-minute exam containing 40 questions, delivered in English through an online proctored session. The exam costs $99 USD, remains valid for 24 months, and allocates 25% of the questions to each of the four lifecycle domains. LangChain describes it as the industry’s first certification covering the complete Agent Development Lifecycle. This structure sends an important message: being able to build an agent is only one-quarter of what LangChain considers professional agent engineering.

A production-ready agent engineer must also know how to:

  • Prove that an agent behaves reliably
  • Select and align evaluators
  • Interpret experimental evidence
  • Deploy stateful agent systems safely
  • Separate authentication from authorization
  • Protect secrets and execution environments
  • Inspect traces and conversations
  • Attribute token and tool costs
  • Detect regressions in production
  • Convert production failures into improved test datasets

This guide explains the exam format, rules, logistics, technical domains, terminology, likely decision patterns, preparation strategy, and the deeper engineering principles behind each section.


1. Exam Overview

The current official exam details are:

Exam characteristicCurrent detail
CertificationLangChain Certified Agent Engineer
Exam duration120 minutes
Approximate seat time135 minutes
Number of questions40
DeliveryOnline and proctored
LanguageEnglish
Price$99 USD
Certification validity24 months
Building Agents25%
Testing Agents25%
Deploying Agents25%
Monitoring Agents25%

These details are published on the official LangChain Academy certification page. With 40 questions and 120 minutes, the average available time is:

Three minutes per question

That does not mean every question should receive exactly three minutes. Some questions may be answered quickly, while others may require you to inspect traces, datasets, experiments, deployment information, or other resources in the dedicated LangSmith organization provided for the exam.

The public certification page and the exam guide supplied for this article do not state a passing score. Candidates should therefore avoid relying on unofficial claims about the required percentage unless LangChain publishes that information through the registration or candidate portal.


2. What the Certification Is Actually Testing

It would be easy to interpret the certification as a LangChain API knowledge test. That interpretation is incomplete.

The deeper objective is to test whether you can make appropriate engineering decisions throughout an agent’s lifecycle.

A basic agent demonstration might consist of:

  • A model
  • A prompt
  • One or more tools
  • A loop that allows the model to call those tools

LangChain’s documentation defines an agent as a model calling tools in a loop until a task is complete. It also introduces the broader idea of an agent harness: everything surrounding the model loop, including prompts, tools, context, middleware, memory, execution environments, guardrails, and operational controls. The certification therefore moves beyond questions such as:

“How do I create an agent?”

It is more likely to test reasoning such as:

“Which agent abstraction is appropriate for this workload?”

“Where should this information be stored?”

“Should this requirement be implemented using middleware, a tool, a skill, state, or persistent memory?”

“Which evaluator gives the most reliable signal?”

“Does this experiment demonstrate a real improvement, or only random variation?”

“What is the relationship between the deployed graph, assistant, thread, and run?”

“How should user identity and data access be isolated?”

“Should this production issue be investigated through an online evaluator, an Insights report, a dashboard, a trace, or an alert?”

The exam is therefore best understood as a professional agent-engineering decision exam, supported by LangChain and LangSmith terminology.


3. The Agent Development Lifecycle

The exam is organized around the four phases of the Agent Development Lifecycle:

Build

Design and assemble the agent.

This includes the model, tools, prompt, agent harness, middleware, context, skills, memory, filesystem, subagents, execution environment, sandboxing, and safety controls.

Test

Determine whether the agent performs correctly and consistently.

This includes datasets, examples, experiments, code evaluators, LLM-as-judge evaluators, human feedback, evaluator alignment, offline evaluations, online evaluations, and experimental analysis.

Deploy

Ship the agent into a production-capable runtime.

This includes graphs, deployments, revisions, assistants, threads, runs, persistence, secrets, regions, authentication, authorization, isolation, and operational configuration.

Monitor

Observe real production behaviour and improve the system.

This includes traces, spans, threads, cost attribution, user feedback, sentiment, dashboards, Insights, online evaluations, alerts, failure analysis, and the production-to-testing feedback loop.

The most important mental model is that these stages are not independent.

A mature agent lifecycle is circular:

Build → Test → Deploy → Monitor → Learn → Update tests → Rebuild → Redeploy

Production monitoring should reveal new behaviours and failures. Those findings should be converted into dataset examples and evaluators. Updated experiments should verify that a proposed change improves the failure cases without damaging existing capabilities. Only then should a new revision be deployed.

LangSmith’s evaluation documentation explicitly supports this lifecycle: production traces can be added to datasets, targeted evaluators can be created, proposed fixes can be tested through offline experiments, and improved versions can then be redeployed.


4. Exam-Day Logistics

The dedicated LangSmith organization

When the examination begins, the candidate should receive an email invitation to a dedicated LangSmith organization.

That organization is not merely administrative. According to the exam guide, several questions require information available inside it.

You may therefore need to inspect resources such as:

  • Tracing projects
  • Traces
  • Runs
  • Threads
  • Datasets
  • Dataset examples
  • Experiments
  • Evaluator scores
  • Deployment information
  • Assistants
  • Revisions
  • Monitoring configurations
  • Feedback
  • Costs
  • Errors or latency information

The exact resources available will depend on the exam scenario.

Important failure condition

If the invitation has not arrived when the exam starts, the guide explicitly instructs candidates to stop and contact:

certification-support@langchain.dev

Do not continue hoping the invitation will arrive later. Doing so could leave you unable to answer questions that depend on the provisioned organization.

Solo and proctored conditions

The examination is:

  • Solo
  • Online
  • Proctored
  • Time-limited
  • Restricted to approved resources

No external communication is permitted.

This means you cannot ask another person for clarification, send screenshots, post a question in a community channel, message a colleague, or communicate with anyone during the session.

The proctoring process exists to verify that the candidate follows these conditions.


5. Semi-Open-Book Does Not Mean Open Internet

The exam is described as semi-open-book.

Candidates may consult only a small whitelist of LangChain-owned resources.

Whitelisted domains

The supplied guide permits:

  • smith.langchain.com
  • docs.langchain.com
  • academy.langchain.com

These correspond to:

  • LangSmith
  • Official LangChain documentation
  • LangChain Academy

Prohibited resources

The guide prohibits:

  • Google
  • Bing or other search engines
  • General web search
  • ChatGPT
  • Claude
  • Claude Code
  • Other AI assistants
  • Browser agents
  • Automated browsing systems
  • Second monitors
  • Phones
  • External communication

The practical implication is significant.

You should not approach the exam with the assumption that you can learn unfamiliar topics while sitting it. Even official Academy courses are likely to be too long to use as live references under exam conditions.

The approved resources should be treated as:

  • A way to verify terminology
  • A way to locate a precise configuration detail
  • A way to inspect the provided LangSmith evidence
  • A fallback for something you already understand

They should not be treated as a substitute for preparation.


6. Physical and Browser Preparation

Before beginning:

  1. Close all tabs except the three whitelisted domains.
  2. Disconnect additional monitors.
  3. Put your phone out of reach.
  4. Disable unnecessary notifications.
  5. Close messaging applications.
  6. Close AI coding tools.
  7. Close search-engine tabs.
  8. Check that your browser can access LangSmith.
  9. Confirm that you can access the email account receiving the organization invitation.
  10. Keep water nearby.
  11. Use the bathroom before starting.
  12. Ensure your laptop is connected to power.
  13. Confirm that your internet connection is stable.
  14. Avoid starting the exam in a noisy or interruptible environment.

The guide specifically recommends having water available because two hours is a long uninterrupted session.


7. Section One: Build ADLC

What the Build section measures

The Build domain assesses whether you can design and assemble agents using the appropriate LangChain abstractions.

Its stated areas are:

  • create_agent
  • Deep Agents
  • Middleware
  • Context engineering
  • Long-running agents
  • AGENTS.md
  • SKILL.md
  • Sandboxing

This section should not be studied as a list of isolated definitions. You need to understand how these components interact and when each should be selected.

7.1 The basic agent model

LangChain describes an agent as a model that calls tools in a loop until a task is complete.

The broader formula is:

Agent = Model + Harness

The harness contains everything that controls and supports the loop:

  • System instructions
  • Available tools
  • Tool descriptions
  • Middleware
  • State
  • Runtime context
  • Persistent memory
  • Skills
  • Filesystem access
  • Planning
  • Delegation
  • Retry behaviour
  • Guardrails
  • Human approval
  • Sandboxing
  • Observability

create_agent provides a configurable agent harness. Deep Agents builds on the same core agent concepts but supplies a more complete preassembled harness for long-running and complex workloads.

7.2 create_agent

create_agent is appropriate when you want a configurable agent while retaining control over what is included in the harness.

At its simplest, an agent can be created with:

from langchain.agents import create_agent

agent = create_agent(
model=model,
tools=tools,
system_prompt="You are a helpful assistant."
)

The simplicity of the constructor should not be confused with a lack of capability. create_agent can be extended through middleware and associated LangChain components.

It is suitable when:

  • The workflow is relatively focused
  • You want explicit control over the harness
  • You do not need all Deep Agents capabilities
  • You want to select middleware individually
  • You need a lightweight tool-calling agent
  • You are building a custom production architecture
  • You want to avoid unnecessary planning or delegation overhead

LangChain describes middleware as the primary extension mechanism for create_agent. Middleware components can be composed to add context management, retries, guardrails, human approval, filesystems, sandboxes, subagents, skills, and other behaviours.

7.3 Deep Agents

Deep Agents is intended for tasks requiring a more capable, long-running harness.

It includes built-in capabilities for areas such as:

  • Planning
  • Task decomposition
  • Filesystem operations
  • Context offloading
  • Automatic summarization
  • Subagent delegation
  • Persistent or pluggable backends
  • Sandboxed command execution when configured

Deep Agents includes a write_todos capability for breaking complex work into steps. Filesystem tools allow large information to be stored outside the active model context. Automatic summarization compresses older conversation history, and a task tool enables work to be delegated to specialized subagents while keeping the main agent’s context cleaner.

Deep Agents is more appropriate when:

  • A task may run for a long time
  • Work must be broken into several stages
  • The agent must manage files
  • Tool outputs may be too large for the context window
  • Specialized subagents are useful
  • The agent must execute and test code
  • Context must be actively compressed
  • Work needs to continue across multiple interactions
  • The workload resembles research, coding, analysis, or complex content production

7.4 create_agent versus Deep Agents

The decision is not “simple framework versus advanced framework.” Both provide meaningful control.

The real distinction is:

Do you want to assemble the harness yourself, or begin with a preassembled harness designed for complex, long-running work?

LangChain’s data-analysis tutorial explains that both approaches provide control over tools and memory. Deep Agents supplies commonly useful capabilities—such as planning, filesystem tools, and subagents—by default, while create_agent allows those capabilities to be assembled selectively through middleware.

Decision table

RequirementMore likely choice
Focused tool-calling assistantcreate_agent
Minimal infrastructure and fewer moving partscreate_agent
Precise selection of middlewarecreate_agent
Long-running research workflowDeep Agents
Coding agent using files and shell commandsDeep Agents
Complex task decompositionDeep Agents
Multiple specialized workersDeep Agents
Large outputs requiring filesystem offloadingDeep Agents
Need full control but Deep Agents-like capabilitiescreate_agent plus selected middleware

Common exam trap

Do not assume Deep Agents is automatically the correct choice because it has more capabilities.

Extra capabilities can introduce:

  • Greater complexity
  • Additional latency
  • More model calls
  • More context
  • More tools
  • Higher cost
  • More operational surface area

The better design is the simplest harness that reliably meets the workload’s requirements.


8. Middleware

Middleware is one of the most important Build topics.

It allows behaviour to be inserted at defined points in the agent lifecycle rather than mixing every concern into prompts, tools, or application code.

LangChain describes middleware as the mechanism that makes context engineering practical. It can modify context, intervene in the model-and-tool loop, update state, add guardrails, and implement cross-cutting behaviour.

Middleware may support:

  • Dynamic system prompts
  • Tool filtering
  • Tool retries
  • Model retries
  • Summarization
  • Human approval
  • Personally identifiable information detection
  • Call limits
  • Filesystem access
  • Skills
  • Subagents
  • Logging
  • Custom state
  • Model selection
  • Fallback behaviour
  • Safety checks

Why middleware matters

Imagine that every tool call must be retried twice if it fails.

That concern should not be repeated manually in the implementation of every tool. A tool retry middleware can apply the policy consistently.

Imagine that sensitive actions require human approval.

That concern should not depend only on a sentence in the system prompt. Human-in-the-loop middleware can interrupt execution before specified tools are called.

Imagine that the system prompt must change according to the authenticated user’s role.

Dynamic prompt middleware can construct the appropriate model context at runtime.

Middleware is therefore useful for cross-cutting concerns—behaviours that affect many parts of the agent lifecycle.

Middleware versus tools

A tool performs an action the model can choose to invoke.

Middleware controls or modifies the agent system itself.

Use a tool when:

  • The model should decide whether the action is needed
  • The action represents an external capability
  • The action has clearly defined inputs and outputs
  • Examples include searching, querying a database, creating a ticket, or calculating a value

Use middleware when:

  • Behaviour should apply systematically
  • The behaviour surrounds model or tool calls
  • The requirement is operational or policy-based
  • Examples include retries, summarization, logging, tool filtering, approvals, or PII controls

A common design mistake is to represent an enforced security control as an optional tool. If the model can choose not to call the control, it is not truly enforced.


9. Context Engineering

Context engineering means providing the model with the right information, tools, instructions, and state at the correct moment.

It is not the same as writing a long system prompt.

LangChain’s context-engineering documentation separates context into several forms:

  • Model context
  • Tool context
  • Lifecycle context
  • Runtime context
  • State
  • Store

It also distinguishes between transient information used for one call and persistent information saved across turns or conversations.

9.1 Model context

Model context is what the model receives during a model call.

It can include:

  • System instructions
  • Conversation messages
  • Tool definitions
  • Retrieved information
  • User profile details
  • Current task state
  • Response-format instructions
  • Selected memories
  • Summaries of earlier work

Model context should be relevant, sufficiently complete, and economical.

Too little context can produce incorrect decisions.

Too much context can produce:

  • Distraction
  • Higher latency
  • Higher cost
  • Reduced instruction adherence
  • Context-window pressure
  • Difficulty finding the most relevant evidence

Good context engineering is therefore an information-selection problem, not an information-volume competition.

9.2 Tool context

Tool context is the information and infrastructure available while a tool executes.

A tool may need access to:

  • Current agent state
  • Runtime configuration
  • User identity
  • Authentication credentials
  • Database clients
  • Permissions
  • Persistent stores
  • Conversation metadata

Not all of this information should be shown to the model.

For example, an API client or database connection may be available to the tool at runtime without exposing the underlying credentials in the model prompt.

9.3 Lifecycle context

Lifecycle context controls what happens around and between model calls and tool calls.

Examples include:

  • Summarizing earlier messages
  • Recording audit data
  • Applying safety rules
  • Filtering tools
  • Interrupting risky actions
  • Retrying failures
  • Changing model selection
  • Updating state
  • Enforcing call limits

Middleware is the primary mechanism through which LangChain implements these behaviours.

9.4 Runtime context

Runtime context contains conversation-scoped dependencies and configuration.

Examples include:

  • User ID
  • Tenant ID
  • Database connection
  • API clients
  • Permissions
  • Environment information
  • Feature flags

Runtime context is generally supplied by the application rather than generated by the model.

9.5 State

State is short-term, conversation-scoped information that evolves during execution.

Examples include:

  • Messages
  • Current plan
  • Authentication status
  • Tool results
  • Uploaded-file references
  • Current workflow stage
  • Human approval status

State is particularly important in multi-turn and long-running agents.

9.6 Store

A store supports longer-lived information that may be available across conversations.

Examples include:

  • User preferences
  • Persistent memories
  • Learned instructions
  • Historical facts
  • Organization-level knowledge
  • Reusable extracted information

The exam may test whether a piece of information belongs in runtime context, conversation state, long-term storage, a skill, or the active prompt.


10. Context Engineering for Long-Running Agents

Long-running agents encounter a fundamental problem: their working history grows.

The agent may accumulate:

  • User messages
  • Model responses
  • Tool outputs
  • Retrieved documents
  • Generated code
  • Error messages
  • Intermediate plans
  • Subagent findings
  • Repeated attempts

Sending all of this into every new model call is inefficient and eventually impossible.

Deep Agents uses several strategies to address this.

Summarization

Older messages can be compressed into a smaller summary.

The goal is to preserve:

  • Decisions
  • Important facts
  • Unresolved issues
  • Current progress
  • Constraints
  • References to stored artifacts

while removing:

  • Repetition
  • Obsolete details
  • Verbose raw output
  • Failed paths that are no longer useful

Filesystem offloading

Large outputs can be written to files rather than remaining in the active conversation context.

The model can later retrieve only the required portions through operations such as:

  • read_file
  • grep
  • glob

Deep Agents documentation recommends using the filesystem to persist large outputs so that the active context remains small and relevant.

Subagent context isolation

A specialized subagent can investigate a narrow task in its own context.

It then returns a concise result to the main agent.

This prevents every intermediate research step from entering the main agent’s context.

Skills through progressive disclosure

The agent can load detailed instructions only when a task matches a relevant skill.

This avoids placing every possible domain procedure in the system prompt.


11. AGENTS.md and SKILL.md

These two concepts are easy to confuse.

AGENTS.md

AGENTS.md provides persistent context or memory that should be available when the agent starts.

It is suitable for information such as:

  • Project conventions
  • Coding standards
  • User preferences
  • Repository instructions
  • Persistent behavioural rules
  • Frequently required environmental guidance

This information is broadly relevant and should normally remain available.

SKILL.md

A SKILL.md file describes a reusable capability containing specialized workflows or domain knowledge.

A skill directory may include:

  • SKILL.md
  • Scripts
  • Reference documentation
  • Templates
  • Other supporting assets

The agent initially sees skill metadata and descriptions. When a task matches a skill, it reads the full skill instructions and supporting resources. LangChain calls this pattern progressive disclosure.

Core difference

AGENTS.mdSKILL.md
Persistent memory or contextOn-demand capability
Loaded at startupLoaded when relevant
Broadly applicableTask-specific
Useful for conventions and preferencesUseful for specialized procedures
Intended to stay in contextIntended to reduce unnecessary context

LangChain’s documentation explicitly distinguishes skills from memory: skills are discovered and loaded on demand, while AGENTS.md memory is loaded into the system prompt at startup.

Practical example

Suppose an engineering agent needs to follow the organization’s Python style rules for every task.

That belongs in persistent project guidance such as AGENTS.md.

Suppose the same agent occasionally needs to conduct a specialized security review following a detailed checklist and running supporting scripts.

That is better represented as a skill with a SKILL.md file and supporting resources.


12. Sandboxing

Agents capable of writing code, reading files, running shell commands, or accessing networks create security risk.

A sandbox provides an isolated execution environment separating agent-generated actions from the host system.

Deep Agents sandbox backends provide filesystem tools and an execute tool for shell commands. The isolation boundary prevents the agent from directly accessing the host machine’s files, environment variables, credentials, and processes.

Why sandboxing matters

Without isolation, a coding agent could accidentally or maliciously:

  • Delete local files
  • Read credentials
  • Modify the host environment
  • Install unsafe packages
  • Execute destructive shell commands
  • Access unrelated repositories
  • Interfere with other processes
  • Exfiltrate sensitive information

What a sandbox protects

A sandbox can isolate:

  • Filesystem access
  • Shell execution
  • Processes
  • Installed dependencies
  • Working directories
  • Resource usage
  • Sometimes network access

What sandboxing does not automatically solve

Sandboxing does not eliminate every threat.

LangChain’s documentation notes that an attacker may still inject instructions that cause the agent to execute harmful commands inside the sandbox. If network access is permitted, information may also be exfiltrated from the sandbox.

You must therefore consider:

  • Network restrictions
  • Secret handling
  • Permissions
  • Allowed commands
  • Resource limits
  • Sandbox lifecycle
  • Input trust
  • Artifact validation
  • Human approval for high-impact operations

Thread-scoped versus assistant-scoped sandboxes

A thread-scoped sandbox gives each conversation its own environment.

Advantages include:

  • Better user isolation
  • Reduced cross-thread contamination
  • Cleaner task-specific environments

An assistant-scoped sandbox may be reused across threads associated with an assistant.

That may improve reuse but introduces greater isolation and cleanup considerations.

Secret-handling principle

Avoid passing long-lived secrets directly into an environment controlled by agent-generated code.

LangChain’s production guidance recommends storing server-level API keys as LangSmith workspace secrets where appropriate and avoiding passing secrets into sandboxes through environment variables or file uploads.


13. Build Section: What Good Exam Reasoning Looks Like

Consider the following scenario:

A customer-support agent answers questions, searches an internal knowledge base, and occasionally creates a support ticket. Conversations are normally short.

A likely design is:

  • create_agent
  • Search tool
  • Ticket-creation tool
  • Appropriate system prompt
  • Human approval for sensitive ticket operations if needed
  • Tracing
  • Focused middleware

Deep Agents may be unnecessary unless the workload involves long-running research, file management, extensive task decomposition, or subagent delegation.

Now consider:

An agent must inspect a repository, create a plan, modify several files, run tests, delegate security analysis, and continue across multiple sessions.

A Deep Agents-style harness becomes more appropriate because the workload needs:

  • Planning
  • Filesystem operations
  • Shell execution
  • Sandbox isolation
  • Summarization
  • Subagents
  • Persistent state or storage
  • Skills

The exam is likely to reward this kind of proportional design judgement.


14. Section Two: Test ADLC

What the Test section measures

The Test domain covers:

  • Code-based evaluators
  • LLM-as-judge evaluators
  • Online evaluations
  • Offline evaluations
  • Experiments
  • Experiment interpretation
  • Evaluator alignment
  • Adding examples to datasets

The central question is:

How do you know that the agent is improving?

A successful demonstration is not enough.

Agents are probabilistic systems. Their behaviour may vary because of:

  • Model sampling
  • Prompt sensitivity
  • Tool availability
  • Tool errors
  • Context variation
  • Retrieval variation
  • User phrasing
  • Conversation history
  • Model changes
  • Environmental dependencies

Evaluation provides structured evidence about quality.


15. LangSmith Evaluation Concepts

The main testing objects are:

Dataset

A collection of test cases.

Example

One test case inside a dataset.

An example may contain:

  • Input
  • Reference output
  • Metadata
  • Attachments
  • Expected tool behaviour
  • Assertions
  • Other task-specific information

Target

The application, agent, graph, function, or prompt being tested.

Evaluator

A method that scores the target’s output or execution.

Experiment

The collection of results produced when a particular application version is run against a dataset.

An experiment records outputs, traces, and evaluator feedback for the dataset examples. Multiple experiments can be compared to determine how different prompts, models, tools, or configurations perform.


16. Offline Evaluations

Offline evaluation happens before or outside live production traffic.

It uses curated datasets.

Typical purposes include:

  • Benchmarking
  • Regression testing
  • Unit testing
  • Backtesting
  • Prompt comparison
  • Model comparison
  • Tool configuration comparison
  • Release validation

LangSmith’s evaluation workflow consists of creating a dataset, defining evaluators, running an experiment, and analysing the resulting scores and traces.

Example

Suppose you have a customer-support agent.

Your dataset may contain examples covering:

  • Refund requests
  • Delivery delays
  • Product questions
  • Unsupported requests
  • Escalation situations
  • Prompt injection
  • Personally identifiable information
  • Ambiguous user intent
  • Tool failures

You can run the current production agent against the dataset to create a baseline experiment.

You can then change:

  • The system prompt
  • The model
  • A tool description
  • Context-selection logic
  • Middleware
  • Retrieval settings

The updated version is run as another experiment.

The two experiments can then be compared.


17. Online Evaluations

Online evaluations operate on live production traces or threads.

They are useful for:

  • Detecting real-world failures
  • Measuring live quality
  • Tracking regressions
  • Scoring production interactions
  • Monitoring safety
  • Measuring task success
  • Evaluating conversation outcomes
  • Identifying emerging behaviours

LangSmith distinguishes offline evaluation for development and pre-deployment testing from online evaluation for live production monitoring. Offline evaluations usually operate on dataset examples, while online evaluations operate on production runs or threads.

Online does not replace offline

Online evaluation tells you what is happening in production.

Offline evaluation tells you whether a proposed change is safe and effective before release.

A mature lifecycle uses both.


18. Code-Based Evaluators

A code evaluator applies deterministic programmatic logic.

Examples include:

  • Checking whether valid JSON was returned
  • Validating a schema
  • Confirming a required field is present
  • Checking that a value falls within a permitted range
  • Verifying that prohibited tools were not called
  • Confirming that an expected tool was called
  • Testing exact text equality
  • Checking a regular expression
  • Calculating latency
  • Checking the number of tool calls
  • Verifying a citation format
  • Detecting an error status

Strengths

Code evaluators are generally:

  • Fast
  • Repeatable
  • Consistent
  • Cheap
  • Explainable
  • Suitable for objective requirements

Limitations

They are less suitable for subjective qualities such as:

  • Helpfulness
  • Empathy
  • Tone
  • Relevance
  • Completeness
  • Reasoning quality
  • Whether an open-ended answer adequately addresses intent

LangSmith supports code evaluators in Python or JavaScript, including online evaluators applied to production traces.


19. LLM-as-Judge Evaluators

An LLM-as-judge evaluator uses a language model to assess an output against a rubric.

It is useful when quality cannot be captured through exact deterministic rules.

Examples include:

  • Correctness
  • Relevance
  • Helpfulness
  • Conciseness
  • Tone adherence
  • Completeness
  • Safety
  • Conversation quality
  • Tool-use trajectory
  • Whether the user’s objective was achieved

An LLM-as-judge evaluator typically receives some combination of:

  • Input
  • Agent output
  • Reference output
  • Intermediate execution information
  • Evaluation instructions
  • Scoring criteria

It then produces feedback such as:

  • Boolean
  • Category
  • Numeric score
  • Comment or explanation

LangSmith allows LLM-as-judge evaluators to be created in the UI or programmatically. Rubrics can use boolean, categorical, or continuous scoring structures.

Strengths

LLM judges can evaluate nuanced outputs that lack one exact correct answer.

Limitations

They can introduce:

  • Additional cost
  • Additional latency
  • Model bias
  • Prompt sensitivity
  • Inconsistent scoring
  • Position or verbosity bias
  • Disagreement with human experts

They must therefore be aligned and validated.


20. Code Evaluator versus LLM-as-Judge

Use the most objective evaluator that can validly measure the requirement.

RequirementBetter starting choice
Valid JSONCode
Correct schemaCode
Required tool calledCode
Maximum number of tool callsCode
Exact reference answerCode
Response contains required identifierCode
Helpful responseLLM judge
Appropriate toneLLM judge
Correct open-ended explanationLLM judge
Conversation successfully resolvedLLM judge
Tool trajectory was sensibleLLM judge
Safety judgement requiring semantic interpretationLLM judge or combined approach

Many robust evaluations combine several methods.

For example:

  • Code evaluator for schema validity
  • Code evaluator for tool restrictions
  • LLM judge for usefulness
  • Human review for high-risk edge cases

21. Running and Interpreting Experiments

Running an experiment is not the end of testing.

The engineer must interpret the results.

Important questions include:

  • Did the overall score improve?
  • Which examples improved?
  • Which examples regressed?
  • Were failures concentrated in one category?
  • Did cost increase?
  • Did latency increase?
  • Did tool usage change?
  • Are scores stable across repeated runs?
  • Is the evaluator aligned with human judgement?
  • Is the dataset representative?
  • Does the average hide serious failures?
  • Are improvements caused by overfitting?

Do not rely only on averages

Suppose Version A scores 82% and Version B scores 85%.

That does not automatically prove Version B is better.

Version B may have:

  • Improved easy cases
  • Failed a critical safety case
  • Doubled cost
  • Increased latency
  • Used excessive tool calls
  • Become less reliable for one user group
  • Exploited a weakness in the evaluator

You must inspect:

  • Per-example results
  • Score distributions
  • Failure categories
  • Traces
  • Tool trajectories
  • Cost
  • Latency
  • Repetitions
  • Critical-case performance

LangSmith provides experiment views for comparing outputs, evaluator feedback, and underlying traces.


22. Noise and Repetition

Agent outputs may vary across repeated executions.

A one-run difference may be noise rather than a genuine improvement.

Where variability matters, experiments should consider:

  • Multiple repetitions
  • Sufficiently diverse examples
  • Stable evaluator prompts
  • Comparable model settings
  • Comparable environmental conditions
  • Statistical and practical significance
  • Failure severity, not only score differences

The exam guide explicitly highlights interpreting experiments without overfitting to noise.

The correct question is not simply:

“Which score is larger?”

It is:

“Is there enough consistent evidence to conclude that this version is better for the intended production objective?”


23. Evaluator Alignment

An evaluator is useful only when its scores correspond to the quality judgement that actually matters.

Evaluator alignment means checking whether evaluator outputs agree with trusted human judgement.

An unaligned evaluator may reward the wrong behaviour.

For example, an evaluator intended to measure helpfulness may accidentally prefer:

  • Longer responses
  • More confident language
  • Responses matching particular phrases
  • Answers that look polished but are factually incomplete

LangSmith provides an alignment workflow in which human-labelled examples are used to improve an LLM-as-judge evaluator. The evaluator prompt can then be adjusted and tested against those labelled examples.

Alignment process

A practical process is:

  1. Select representative examples.
  2. Have domain experts label them.
  3. Run the evaluator against the same examples.
  4. Identify disagreements.
  5. Improve the rubric or evaluator prompt.
  6. Add examples clarifying difficult distinctions.
  7. Repeat until agreement is acceptable.
  8. Recheck alignment as production behaviour changes.

Evaluator alignment is especially important in:

  • Legal systems
  • Financial systems
  • Healthcare-related systems
  • Safety evaluations
  • Brand-sensitive communication
  • Complex customer-support workflows
  • Domain-specific technical agents

24. Adding Examples to a Dataset

Datasets should evolve.

New examples can come from:

  • Manually designed test cases
  • Historical production traces
  • Synthetic cases
  • User-reported failures
  • Annotation queues
  • Security testing
  • Edge-case analysis
  • New product requirements
  • New regions or languages

LangSmith datasets support adding, updating, and deleting examples, with changes producing new dataset versions.

What makes a valuable example?

A useful example should test a meaningful behaviour.

It should include sufficient information to evaluate the outcome.

Depending on the case, it may contain:

  • Realistic input
  • Reference output
  • Required characteristics
  • Forbidden characteristics
  • Expected tool
  • Expected trajectory
  • Metadata
  • Category
  • Risk level
  • User persona
  • Locale
  • Expected escalation behaviour

Do not create a dataset containing only normal, easy examples.

A production-oriented dataset should include:

  • Ambiguity
  • Missing information
  • Conflicting instructions
  • Tool failures
  • Long conversations
  • Adversarial inputs
  • Safety risks
  • Authorization boundaries
  • Unexpected formats
  • Rare but high-impact cases

25. Section Three: Deploy ADLC

What the Deploy section measures

The Deploy section focuses on shipping agents using LangSmith Deployment.

The stated areas include:

  • Graph
  • Deployment
  • Revision
  • Assistant
  • Thread
  • Run
  • Multi-region serving
  • Secret handling
  • Authentication
  • Authorization
  • Storage durability

This section is terminology-heavy, but memorizing definitions is not enough. You should understand how the objects relate to one another.


26. Deployment Terminology

Graph

A graph represents the executable agent or workflow logic.

It defines:

  • Nodes
  • Edges
  • State
  • Control flow
  • Agent behaviour
  • Tool orchestration

In deployment terms, the graph is the code or executable logic being served.

Deployment

A deployment is a running environment that hosts one or more graphs through Agent Server.

It provides infrastructure for:

  • Serving
  • Streaming
  • Stateful execution
  • Background execution
  • Thread management
  • Assistant management
  • Persistence
  • Authentication
  • Scaling
  • Operational control

LangSmith Deployment is designed for agent workloads, including stateful and long-running processes.

Revision

A revision is a deployed version of the application code and configuration.

When updated code is deployed, a new revision can be created.

Revisions support:

  • Change history
  • Build logs
  • Server logs
  • Controlled updates
  • Rollback or investigation
  • Release tracking

The LangSmith Cloud deployment interface exposes build and server logs for revisions.

Assistant

An assistant is a configured instance of a graph.

Different assistants may use the same graph but apply different:

  • Models
  • Prompts
  • Tools
  • Configuration values

When a graph is deployed, Agent Server creates a default assistant using the graph’s default configuration. Additional assistants can reference the same graph with different configurations.

Thread

A thread is a persistent state container.

It can preserve:

  • Conversation history
  • Agent state
  • Intermediate progress
  • Information across runs

Threads enable multi-turn and long-running interactions.

Without a thread, a run can be stateless.

Run

A run is an invocation of an assistant or graph.

A stateful run combines:

  • An assistant configuration
  • A thread containing state
  • New input
  • Execution of the graph

A run may also be stateless when no persistent thread is required.


27. How the Deployment Objects Relate

The simplest mental model is:

Graph = executable logic

Deployment = running environment

Revision = deployed application version

Assistant = configured graph instance

Thread = persistent state or conversation

Run = one execution

Consider a support-agent example.

Graph

Contains the support workflow, tools, state schema, and control logic.

Deployment

Hosts that graph in a production runtime.

Revision

Represents the currently deployed version of the code.

Assistant A

Uses a concise prompt and a lower-cost model.

Assistant B

Uses a premium model and a specialist escalation prompt.

Thread 1

Contains Customer 1’s conversation and state.

Thread 2

Contains Customer 2’s conversation and state.

Run

Executes Assistant A against Thread 1 with a new customer message.

The same graph can therefore serve different assistants, threads, users, and configurations without duplicating the complete graph implementation.


28. Stateful versus Stateless Runs

Use a thread when the application needs continuity.

Examples include:

  • Chat conversations
  • Long-running workflows
  • Human-in-the-loop processes
  • Multi-step investigations
  • User-specific state
  • Follow-up requests

Use a stateless run when:

  • Each request is independent
  • Previous history is unnecessary
  • No state needs to persist
  • The request can be completed in one isolated execution

Do not create persistent state merely because the platform supports it.

State introduces responsibilities involving:

  • Retention
  • Isolation
  • Privacy
  • Cleanup
  • Storage
  • Authorization
  • Cost
  • Concurrency

29. Multi-Region Serving

Multi-region architecture requires careful terminology.

A region may be selected to address:

  • Latency
  • Data residency
  • Regulatory requirements
  • Availability
  • Customer geography
  • Disaster recovery

LangSmith currently offers regional hosted instances. However, the official regions FAQ states that a single organization cannot currently have workspaces distributed across different hosted regions, and migration between regions is not currently supported as a standard self-service capability.

This means you should not assume that selecting multiple hosted regions is simply a checkbox on one organization.

A multi-region design may instead require decisions about:

  • Separate regional organizations or environments
  • Traffic routing
  • Data locality
  • Independent deployments
  • Replication strategy
  • Failover
  • Identity consistency
  • Regional secrets
  • Observability aggregation
  • Regulatory constraints

For self-hosted architectures, LangChain’s reference guidance discusses replicating data planes in multiple regions and using regional infrastructure, health checks, and failover patterns.

The exam may therefore test whether you distinguish:

  • Choosing a LangSmith region
  • Deploying in multiple regions
  • Replicating data
  • Routing traffic
  • Maintaining regional isolation
  • Providing failover

30. Secret Handling

Agents frequently require credentials for:

  • Model providers
  • Databases
  • Search systems
  • External APIs
  • Cloud services
  • Internal tools

Secrets should not be:

  • Hardcoded in source code
  • Embedded in prompts
  • Stored in AGENTS.md
  • Stored in SKILL.md
  • Written into repositories
  • Passed into model-visible context
  • Placed casually in sandbox files
  • Logged in traces

LangSmith deployments can manage environment variables through the deployment interface, and production applications should configure secrets in the deployment environment rather than keeping them in source files.

Strong secret-handling design considers:

  • Secret storage
  • Runtime injection
  • Least privilege
  • Rotation
  • Environment separation
  • Log redaction
  • Trace redaction
  • Sandbox boundaries
  • User-level authorization
  • Revocation

31. Authentication versus Authorization

This distinction is critical.

Authentication

Authentication answers:

Who is making the request?

Examples include:

  • Validating a token
  • Verifying an API key
  • Resolving an authenticated user
  • Confirming identity through an identity provider

Authorization

Authorization answers:

What is this authenticated identity allowed to do or access?

Examples include:

  • Can this user read this thread?
  • Can this user invoke this tool?
  • Can this user access another tenant’s data?
  • Can this role approve a transaction?
  • Can this service create an assistant?
  • Can this user view a particular document?

LangSmith’s authentication documentation states that custom authentication is handled through an authentication handler, while authorization rules are handled through authorization handlers.

Common error

A system may correctly authenticate a user but fail to enforce authorization.

For example:

  1. The API confirms that Alice has a valid token.
  2. Alice submits the identifier for Bob’s thread.
  3. The server returns Bob’s thread because it never checks ownership.

Authentication succeeded.

Authorization failed.

A secure multi-tenant agent system needs both.


32. Multi-Tenant Isolation

In a multi-tenant deployment, each request should be scoped to the correct:

  • User
  • Tenant
  • Thread
  • Store namespace
  • Data source
  • Tool permissions
  • Assistant configuration

Identity information should be made available to the graph through trusted runtime configuration, not accepted blindly from model-generated content.

Without custom end-user authentication, a deployment may identify only the API-key owner rather than the individual end user. LangSmith’s custom-authentication guidance explains that authentication can populate trusted user metadata for graph execution.


33. Storage Durability

Durability means determining which data must survive:

  • Process restarts
  • Container restarts
  • Deployment updates
  • Infrastructure failures
  • New runs
  • New user sessions

Potentially durable information includes:

  • Thread state
  • Checkpoints
  • Long-term memories
  • User preferences
  • Workflow progress
  • Human approvals
  • Audit information

Not every storage layer provides the same guarantee.

LangChain’s self-hosted scalability documentation states that data requiring durable storage is kept in PostgreSQL rather than Redis, and therefore Redis is not expected to provide durability in that architecture.

This illustrates an important design principle:

Do not infer durability merely because data exists in a component temporarily.

You must know:

  • What is persisted
  • Where it is persisted
  • How long it is retained
  • Whether it survives restarts
  • Whether it is encrypted
  • Whether it is replicated
  • How it is deleted
  • How access is controlled

LangSmith also supports checkpoint encryption through an encryption key configuration for stored graph checkpoints.


34. Section Four: Monitor ADLC

What the Monitor section measures

The Monitor domain covers:

  • Reading traces
  • Grouping traces into threads
  • Tracking cost
  • Tracking user sentiment
  • Online evaluations
  • Insights
  • Alerts

The central question is:

What is the agent doing in production, and how will you know when it begins to fail?


35. Traces and Runs

A trace represents the execution of an application operation.

It contains a hierarchy of runs, comparable to spans in distributed tracing.

A trace may show:

  • Root application run
  • Model calls
  • Tool calls
  • Retrieval operations
  • Subagent calls
  • Errors
  • Inputs
  • Outputs
  • Timing
  • Metadata
  • Token usage
  • Cost
  • Feedback

LangSmith’s observability documentation explains that a trace can be understood as a collection of spans, similar to OpenTelemetry tracing.

Reading a trace

When investigating a trace, ask:

  1. What input entered the system?
  2. What instructions did the model receive?
  3. Which tools were available?
  4. Which tool did the model select?
  5. Were the tool arguments correct?
  6. Did the tool succeed?
  7. What did the tool return?
  8. Did the model interpret the result correctly?
  9. Were retries triggered?
  10. Was excessive context included?
  11. Where did latency occur?
  12. Where did cost accumulate?
  13. Did an error occur?
  14. Did the user provide feedback?
  15. Did an evaluator flag the result?

The trace tree allows engineers to inspect inputs, outputs, metadata, timing, errors, and child runs.


36. Grouping Traces into Threads

A trace may represent one turn in a longer conversation.

A thread groups related traces or runs into one persistent interaction.

Thread grouping is necessary for understanding:

  • Multi-turn conversations
  • User journeys
  • Repeated failures
  • Context accumulation
  • Whether an issue was eventually resolved
  • Sentiment changes
  • Total conversation cost
  • End-to-end task outcomes

Consistent thread metadata must be attached to relevant runs. LangSmith recommends setting the thread identifier on parent and child runs when tracing conversations.

Without correct thread grouping, you may misinterpret each turn as an independent event and lose the conversation-level picture.


37. Tracking Costs

Agent costs can include:

  • Input tokens
  • Output tokens
  • Reasoning tokens
  • Cached tokens
  • Tool calls
  • Retrieval
  • External APIs
  • Custom components
  • Repeated attempts
  • Evaluator calls

LangSmith can automatically record token usage and model costs for supported integrations and can accept custom cost data for other components. Costs can be inspected at trace, project, and dashboard levels.

Cost questions to ask

  • Which model calls consume the most tokens?
  • Is the full conversation being resent unnecessarily?
  • Are large tool outputs entering the prompt?
  • Are subagents being created excessively?
  • Are retries hiding persistent failures?
  • Could a lower-cost model handle classification or routing?
  • Are expensive models being used for simple operations?
  • Are online evaluators sampling an appropriate percentage of traffic?
  • Is cost increasing without corresponding quality improvement?

When calculating thread-level costs, child runs must include the appropriate thread metadata or they may not be included correctly in conversation-level aggregation.


38. User Feedback and Sentiment

Operational metrics do not tell the whole story.

An agent may have:

  • No technical error
  • Low latency
  • Acceptable cost
  • Successful tool execution

and still give the user an unsatisfactory answer.

User feedback may include:

  • Thumbs up or down
  • Ratings
  • Written comments
  • Resolution status
  • Escalation
  • Abandonment
  • Repeated requests
  • Sentiment

LangSmith allows feedback to be attached to root traces or intermediate child runs. This is useful when the overall response failed because of one specific component, such as retrieval or a tool call.

Thread-level analysis is particularly useful for determining whether:

  • The user became more frustrated
  • The agent repeatedly misunderstood intent
  • The issue was eventually resolved
  • Escalation happened appropriately
  • The conversation required too many turns

39. Online Evaluations versus Insights

These tools serve different purposes.

Online evaluations

Online evaluations apply a defined evaluator to production traffic.

Use them when you already know what you want to measure.

Examples:

  • Was the response safe?
  • Was the JSON valid?
  • Did the agent follow the escalation policy?
  • Was the response grounded?
  • Did the conversation achieve the intended outcome?
  • Did the agent call a prohibited tool?

Online evaluations are systematic and metric-oriented.

Insights

Insights helps discover patterns you may not have anticipated.

LangSmith’s Insights Agent analyses collections of traces and groups them into categories and subcategories, helping identify common behaviours, usage patterns, and failure modes without manually reviewing every trace.

Use Insights when asking questions such as:

  • What are users commonly trying to do?
  • What new failure patterns are emerging?
  • Why are users dissatisfied?
  • Which categories generate the most errors?
  • What behaviours are not covered by existing evaluators?
  • What unexpected tool-use patterns occur?

Comparison

Online evaluationsInsights
Measures a predefined criterionDiscovers patterns
Produces repeatable feedback metricsProduces categories and findings
Useful for ongoing quality trackingUseful for exploratory analysis
Requires an evaluator definitionUses broader trace analysis
Answers “How often does X occur?”Helps reveal “What is occurring?”

A mature monitoring workflow may use Insights to discover a new failure category and then create an online evaluator to measure that category continuously.


40. Alerts

Alerts provide proactive notification when operational conditions cross a threshold.

LangSmith supports project-level alerts for metrics such as:

  • Run volume
  • Cost
  • Errors
  • Feedback scores
  • Latency

Alerts can be routed to systems such as Slack, PagerDuty, Dynatrace, or webhook endpoints.

Example alerts

  • Error rate exceeds 5%
  • Average latency exceeds a defined threshold
  • Total model cost exceeds the permitted amount
  • User satisfaction score falls below the target
  • Run volume unexpectedly drops
  • Rate-limit errors increase

Good alert design

An alert should be:

  • Actionable
  • Relevant
  • Appropriately scoped
  • Routed to the correct team
  • Based on a meaningful threshold
  • Resistant to unnecessary noise
  • Accompanied by enough context to investigate

Too many low-value alerts create alert fatigue.

Too few alerts allow failures to remain unnoticed.

Thresholds should therefore be refined using observed production baselines.


41. Monitoring Workflow Example

Suppose a customer-support agent’s satisfaction score falls.

A disciplined investigation might proceed as follows:

  1. An alert identifies the feedback-score regression.
  2. The engineer opens the affected tracing project.
  3. Filters isolate low-scoring traces.
  4. Threads reveal that failures occur during multi-turn refund conversations.
  5. Trace inspection shows that the agent repeatedly calls the order-status tool but fails to escalate.
  6. An Insights report reveals that this is part of a broader “refund eligibility ambiguity” category.
  7. Representative failing traces are added to a dataset.
  8. Human experts label the desired escalation behaviour.
  9. A code evaluator checks whether the escalation tool is called when required.
  10. An LLM judge measures whether the user receives a clear explanation.
  11. The evaluator is aligned with human labels.
  12. A revised prompt or middleware policy is tested through an offline experiment.
  13. Results are compared against the baseline.
  14. Cost, latency, and unrelated cases are checked for regressions.
  15. A new deployment revision is released.
  16. An online evaluator monitors the corrected behaviour.
  17. An alert is configured if the failure rate rises again.

That is the Agent Development Lifecycle operating as a continuous engineering system.


The official certification page currently identifies the following prerequisite courses:

  • Foundation: Introduction to LangChain — Python
  • Foundation: Introduction to Deep Agents
  • Foundation: Building Reliable Agents
  • Foundation: Monitoring Production Agents
  • Foundation: Introduction to LangSmith Deployment

These courses are currently listed as free on the official certification page.

The exam guide maps preparation approximately as follows:

Exam domainRecommended preparation
BuildIntroduction to LangChain and Deep Agents material
TestBuilding Reliable Agents
DeployIntroduction to LangSmith Deployment
MonitorMonitoring Production Agents

The Academy course catalogue confirms dedicated foundation courses for building reliable agents, monitoring production agents, and LangSmith Deployment. Treat these courses as prerequisites, not exam-day references.


43. A Four-Week Preparation Plan

Week One: Build

Study:

  • Agent loop
  • Agent harness
  • create_agent
  • Deep Agents
  • Middleware
  • Model, tool, and lifecycle context
  • Runtime context
  • State and store
  • AGENTS.md
  • SKILL.md
  • Summarization
  • Filesystem offloading
  • Subagents
  • Sandboxing

Practical exercise:

Build two versions of the same agent:

  1. A focused version using create_agent
  2. A more capable version using Deep Agents or equivalent middleware

Document why each architectural component is present.

Week Two: Test

Study:

  • Datasets
  • Examples
  • Experiments
  • Evaluators
  • Code evaluators
  • LLM-as-judge evaluators
  • Human feedback
  • Offline evaluations
  • Online evaluations
  • Evaluator alignment
  • Experiment analysis
  • Repetitions and noise

Practical exercise:

Create a dataset with:

  • Normal cases
  • Edge cases
  • Failure cases
  • Safety cases
  • Tool-use cases

Run at least two experiments and compare quality, cost, latency, and traces.

Week Three: Deploy

Study:

  • Graph
  • Deployment
  • Revision
  • Assistant
  • Thread
  • Run
  • Stateful versus stateless execution
  • Deployment configuration
  • Secrets
  • Authentication
  • Authorization
  • Tenant isolation
  • Persistence
  • Regions
  • Logs

Practical exercise:

Deploy an agent and create:

  • Two assistants using the same graph
  • At least one persistent thread
  • Several runs
  • A new revision
  • Secure environment-variable configuration

Trace how each object relates to the others.

Week Four: Monitor and Integrate

Study:

  • Traces
  • Child runs
  • Threads
  • Cost tracking
  • User feedback
  • Sentiment
  • Dashboards
  • Insights
  • Online evaluators
  • Alerts
  • Production-to-dataset workflow

Practical exercise:

Simulate a production failure and complete the entire lifecycle:

  1. Find the bad trace.
  2. Add it to a dataset.
  3. Create an evaluator.
  4. Test a correction.
  5. Compare experiments.
  6. Deploy the correction.
  7. Monitor the new behaviour.

44. Seven-Day Revision Plan

For candidates with limited time:

Day 1

create_agent, agent harness, tools, middleware.

Day 2

Deep Agents, context engineering, skills, memory, sandboxing.

Day 3

Datasets, examples, experiments, offline evaluation.

Day 4

Code evaluators, LLM judges, online evaluation, alignment.

Day 5

Deployment terminology, assistants, threads, runs, revisions.

Day 6

Authentication, authorization, secrets, durability, regions.

Day 7

Traces, threads, costs, Insights, alerts, and a full mock review.

Do not spend Day 7 watching entire courses for the first time. Use it to reinforce weak areas and practise navigation.


45. Exam Navigation Strategy

Because only three domains are allowed, prepare direct access to:

  • LangSmith
  • LangChain documentation
  • LangChain Academy

However, opening many tabs may become counterproductive.

A better approach is to understand the documentation structure before exam day.

Know where to find:

  • Agents
  • Middleware
  • Context engineering
  • Deep Agents
  • Skills
  • Sandboxes
  • Evaluation concepts
  • Datasets
  • Experiments
  • Evaluators
  • Deployment
  • Assistants
  • Threads
  • Runs
  • Authentication
  • Observability
  • Costs
  • Insights
  • Alerts

The purpose is not to memorize every URL. It is to recognize the official terminology so that you can navigate directly within the approved documentation.


46. Time-Management Strategy

You have 120 minutes for 40 questions.

A reasonable strategy is:

First pass: approximately 70–75 minutes

Answer questions you can resolve confidently.

Mark uncertain questions.

Avoid spending ten minutes on one difficult item.

Second pass: approximately 30–35 minutes

Return to marked questions.

Use the official documentation or LangSmith organization where necessary.

Final review: approximately 10–15 minutes

Check:

  • Questions involving negative wording
  • Authentication versus authorization
  • Online versus offline evaluation
  • Insights versus online evaluators
  • Assistant versus graph
  • Thread versus run
  • AGENTS.md versus SKILL.md
  • create_agent versus Deep Agents
  • Durable versus temporary storage
  • Security and sandbox boundaries

Because the exam may require LangSmith inspection, leave enough time for interface navigation.


47. Common Conceptual Traps

Trap 1: Selecting the most advanced architecture

The correct solution is not always Deep Agents.

Choose the simplest architecture that satisfies the requirements.

Trap 2: Putting everything into the prompt

Use appropriate context types, state, stores, files, skills, and middleware.

Trap 3: Treating sandboxing as complete security

Sandboxing isolates execution but does not automatically prevent prompt injection, network exfiltration, or misuse of secrets.

Trap 4: Using an LLM judge for deterministic validation

Use code when a requirement can be measured objectively.

Trap 5: Assuming a higher average score proves improvement

Inspect failures, variance, cost, latency, repetitions, and critical examples.

Trap 6: Confusing online and offline evaluation

Offline evaluation tests versions on datasets. Online evaluation scores live production behaviour.

Trap 7: Confusing Insights with online evaluation

Insights discovers patterns. Online evaluators continuously measure predefined criteria.

Trap 8: Confusing authentication with authorization

Authentication establishes identity. Authorization controls permitted access and actions.

Trap 9: Confusing graph with assistant

The graph contains executable logic. An assistant is a configured instance of that graph.

Trap 10: Confusing thread with run

A thread preserves state. A run is one execution.

Trap 11: Assuming every data component is durable

Understand the persistence guarantee of each storage layer.

Trap 12: Logging secrets

Credentials should not appear in prompts, traces, code, skill files, memory files, or sandbox artifacts.


48. Final Readiness Checklist

You are likely ready for the Build section when you can explain:

  • The agent loop
  • Agent versus agent harness
  • create_agent versus Deep Agents
  • When to use middleware
  • Tool versus middleware
  • Model, tool, runtime, state, lifecycle, and store context
  • Long-running context management
  • AGENTS.md versus SKILL.md
  • Sandbox benefits and limitations

You are likely ready for the Test section when you can explain:

  • Dataset, example, target, evaluator, and experiment
  • Code versus LLM-as-judge evaluation
  • Online versus offline evaluation
  • How to interpret experimental results
  • Why repetitions matter
  • What evaluator alignment means
  • How production failures become dataset examples

You are likely ready for the Deploy section when you can explain:

  • Graph
  • Deployment
  • Revision
  • Assistant
  • Thread
  • Run
  • Stateful versus stateless execution
  • Secret handling
  • Authentication versus authorization
  • Multi-tenant isolation
  • Storage durability
  • Regional deployment considerations

You are likely ready for the Monitor section when you can explain:

  • Trace and child-run structure
  • How traces form threads
  • How to inspect failures
  • How costs are attributed
  • How feedback is attached
  • Online evaluators versus Insights
  • Alert metrics and thresholds
  • How monitoring feeds the next development cycle

49. Final Perspective

The LangChain Certified Agent Engineer exam represents an important change in how AI-agent expertise is assessed.

The ability to call a model and connect a tool is no longer enough.

Professional agent engineering requires a lifecycle mindset.

A competent agent engineer must be able to:

  • Select the right harness
  • Engineer context deliberately
  • Control execution through middleware
  • Isolate unsafe operations
  • Create representative datasets
  • Choose defensible evaluators
  • Interpret experiments critically
  • Deploy stateful systems securely
  • Separate identity from permission
  • Protect secrets and persistent state
  • Read traces as operational evidence
  • Track quality, sentiment, latency, and cost
  • Discover emerging failure patterns
  • Establish meaningful alerts
  • Convert production evidence into better tests

That is the deeper meaning of the Agent Development Lifecycle.

The exam is not simply asking:

“Can you build an AI agent?”

It is asking:

Can you engineer, validate, operate, and continuously improve an AI agent as a production system?

Candidates who understand that distinction—and who have practised the complete lifecycle inside LangSmith—will be far better prepared than candidates who rely only on memorized API syntax.


Discussion

Comments

Share feedback or questions about this page. No account required.

Loading comments…