Whetstone.
Deploy agentsDeploy agents
Focus area: Deploy18 min

Deploy agents

The Deploy domain is LangSmith Deployment architecture and terminology. This second set covers the control plane and Agent Server, the assistant-version versus revision distinction, the Cloud and Hybrid environments, where secrets live, the checkpointer versus the store, Studio, the graph term, and agent identity. Ten questions.

Practice

Try it yourself

Quiz

What the control plane is

In LangSmith Deployment, what is the control plane?

  1. AThe runtime layer that executes your graphs and stores their thread state
  2. BThe checkpointer and Redis broker that back durable, streaming agent runs
  3. CThe tracing and observability dashboards where you read runs, traces, and feedback
  4. DThe UI and APIs for creating, updating, and managing Agent Server deployments
Show answer

Correct answer: D — The UI and APIs for creating, updating, and managing Agent Server deployments

The control plane is the UI and APIs for creating, updating, and managing Agent Server deployments; the data plane is the runtime that executes the graphs. Docs: docs.langchain.com/langsmith/components (Deploy).

Quiz

What the Agent Server provides

What does the Agent Server provide in a LangSmith Deployment?

  1. AAn opinionated API and runtime that runs graphs and handles state and persistence
  2. BA store of datasets and evaluators that you use to benchmark the application offline
  3. CA dashboard that charts token cost and error rate for the deployed project
  4. DA command-line tool that builds and packages the graph into a Docker image
Show answer

Correct answer: A — An opinionated API and runtime that runs graphs and handles state and persistence

The Agent Server defines an opinionated API and runtime for deploying graphs, handling execution, state management, and persistence. Docs: docs.langchain.com/langsmith/components (Deploy).

Quiz

Config change, not code

You change a deployed assistant''s prompt and model but leave the graph code unchanged. What have you created, and how do you undo it?

  1. AA new deployment revision; roll back by redeploying the previous code revision
  2. BA new assistant version; roll back by setting a previous version as active
  3. CA new thread; roll back by deleting the thread and starting a fresh session
  4. DA new run; roll back by cancelling the run before it finishes executing
Show answer

Correct answer: B — A new assistant version; roll back by setting a previous version as active

Editing an assistant''s configuration creates a new assistant version automatically, and you roll back by promoting a previous version to active; a revision, by contrast, is a code change to the deployment. Docs: docs.langchain.com/langsmith/assistants (Deploy).

Quiz

Who runs Cloud

In the Cloud deployment option, who runs the control plane and the data plane?

  1. AYou run the data plane in your own infrastructure; LangChain runs the control plane
  2. BYou run both the control plane and the data plane on your own infrastructure
  3. CLangChain fully manages both; the platform and your Agent Servers run in its cloud
  4. DThere is no control plane; you run only the data plane with your own datastores
Show answer

Correct answer: C — LangChain fully manages both; the platform and your Agent Servers run in its cloud

Cloud is fully managed: LangChain hosts and operates all the infrastructure, so both the platform and your Agent Servers run in its cloud. A self-hosted data plane is Hybrid, and no control plane is Standalone. Docs: docs.langchain.com/langsmith/cloud (Deploy).

Quiz

Your servers, their traces

Which deployment option keeps your Agent Servers in your own infrastructure while sending their traces to LangSmith (SaaS or self-hosted)?

  1. ACloud, where LangChain hosts and operates all of the infrastructure for you
  2. BHybrid, where you self-host the Agent Servers and route their traces to LangSmith
  3. CA standalone container, which needs no LangSmith connection of any kind at all
  4. DRemoteGraph, which relocates the Agent Servers into your own network for you automatically
Show answer

Correct answer: B — Hybrid, where you self-host the Agent Servers and route their traces to LangSmith

Hybrid means you self-host the Agent Servers in your own infrastructure and send their traces to a LangSmith instance (self-hosted or Cloud). Docs: docs.langchain.com/langsmith/hybrid (Deploy).

Quiz

Where secrets belong

Where do a deployment''s secrets, such as the API keys the graph needs, belong?

  1. ASet as environment variables and secrets on the deployment, kept out of the graph code
  2. BHardcoded inside the graph definition so they travel with the compiled graph
  3. CStored in each thread''s state so every conversation carries its own copy
  4. DWritten into the evaluation dataset metadata and then read back by the app at invocation time
Show answer

Correct answer: A — Set as environment variables and secrets on the deployment, kept out of the graph code

Secrets and environment variables are configured on the deployment (set when you create or update a revision), not hardcoded into the graph. Docs: docs.langchain.com/langsmith/env-var-cloud (Deploy).

Quiz

Checkpointer versus store

On a deployment, what is the difference between the checkpointer and the store?

  1. AThe checkpointer holds the cross-thread long-term memory, while the store holds one thread''s state
  2. BBoth hold the same thread state; the store is just the checkpointer''s on-disk backup
  3. CThe checkpointer caches traces for the UI; the store keeps the deployment''s secrets
  4. DThe checkpointer persists a thread''s conversation state; the store holds cross-thread memory
Show answer

Correct answer: D — The checkpointer persists a thread''s conversation state; the store holds cross-thread memory

The checkpointer persists per-thread conversation state (durable thread state); the store holds long-term memory shared across threads. Docs: docs.langchain.com/langsmith/deploy-standalone-server (Deploy).

Quiz

What Studio is

What is LangGraph Studio?

  1. AThe production runtime that executes deployed graphs and their scheduled runs
  2. BThe tracing dashboard that charts a project''s latency, errors, and token cost
  3. CA specialized IDE for visualizing, interacting with, and debugging your graph
  4. DThe evaluation surface where you build datasets and run scored experiments
Show answer

Correct answer: C — A specialized IDE for visualizing, interacting with, and debugging your graph

Studio is a specialized IDE for visualization, interaction, and debugging that connects to a local Agent Server. Docs: docs.langchain.com/langsmith/components (Deploy).

Quiz

What a graph is

In LangSmith Deployment terminology, what does graph refer to?

  1. AThe code that defines the agent''s logic, which is what gets deployed and run
  2. BA single execution of the deployed application on one invocation
  3. CThe persisted state of one multi-turn conversation, backed by a checkpointer
  4. DA configuration of the deployed application, such as a specific prompt and tools
Show answer

Correct answer: A — The code that defines the agent''s logic, which is what gets deployed and run

The graph is the code and structure defining the agent that you build and deploy; a run is one execution, a thread is conversation state, and an assistant is a configuration. Docs: docs.langchain.com/langsmith/components (Deploy).

Quiz

Which credentials an agent uses

When a deployed agent calls an external service, whose credentials can it authenticate with?

  1. AOnly the graph author''s personal token, shared across every end user of the agent
  2. BIts own credentials, or each end user''s credentials, depending on how it is set up
  3. CNone; a deployed agent cannot authenticate to any external service after deployment
  4. DOnly anonymous access, since deployed agents never hold credentials of their own
Show answer

Correct answer: B — Its own credentials, or each end user''s credentials, depending on how it is set up

A deployed agent can act with its own credentials or with each user''s credentials (agent identity), depending on configuration. Docs: docs.langchain.com/langsmith/fleet/agent-identity (Deploy).

Sign in to track your progress →