# Docs by LangChain: AGENT DEVELOPMENT LIFECYCLE Deploy

> Documentation for LangSmith, Fleet, and our open source packages.

## Deploy

- [AGENT DEVELOPMENT LIFECYCLE / Deploy / Get started (145 pages)](https://docs.langchain.com/_llms/agent-development-lifecycle/deploy/get-started.txt): Documentation for AGENT DEVELOPMENT LIFECYCLE / Deploy / Get started.

### Agent Server

- [Agent Server](https://docs.langchain.com/langsmith/agent-server-overview.md): Configure and operate the LangSmith Agent Server runtime, including capabilities, application structure, auth, and customization.

#### Develop your application

- [Application structure](https://docs.langchain.com/langsmith/application-structure.md)

##### Set up dependencies

- [How to set up an application with requirements.txt](https://docs.langchain.com/langsmith/setup-app-requirements-txt.md)
- [How to set up an application with pyproject.toml](https://docs.langchain.com/langsmith/setup-pyproject.md)
- [How to set up a JavaScript application](https://docs.langchain.com/langsmith/setup-javascript.md)
- [How to customize the Dockerfile](https://docs.langchain.com/langsmith/custom-docker.md)
- [Monorepo support](https://docs.langchain.com/langsmith/monorepo-support.md)

##### Persistence

- [Configure checkpointer backend](https://docs.langchain.com/langsmith/configure-checkpointer.md): Configure Agent Server to use PostgreSQL, MongoDB, or a custom implementation for checkpoint storage.
- [How to add TTLs to your application](https://docs.langchain.com/langsmith/configure-ttl.md)
- [How to add semantic search to your agent deployment](https://docs.langchain.com/langsmith/semantic-search.md)

#### Capabilities

- [Agent Server](https://docs.langchain.com/langsmith/agent-server.md)
- [Use threads](https://docs.langchain.com/langsmith/use-threads.md)
- [How to interact with a deployment using RemoteGraph](https://docs.langchain.com/langsmith/use-remote-graph.md)
- [Use cron jobs](https://docs.langchain.com/langsmith/cron-jobs.md)
- [Streaming API](https://docs.langchain.com/langsmith/streaming.md)
- [Human-in-the-loop using server API](https://docs.langchain.com/langsmith/add-human-in-the-loop.md)
- [Time travel using the server API](https://docs.langchain.com/langsmith/human-in-the-loop-time-travel.md)
- [Use webhooks](https://docs.langchain.com/langsmith/use-webhooks.md)
- [Distributed tracing with Agent Server](https://docs.langchain.com/langsmith/agent-server-distributed-tracing.md): Unify traces when calling your deployed Agent Server from another service using RemoteGraph or the SDK.
- [MCP endpoint in Agent Server](https://docs.langchain.com/langsmith/server-mcp.md)
- [A2A endpoint in Agent Server](https://docs.langchain.com/langsmith/server-a2a.md): Use the A2A protocol to enable agent-to-agent communication with distributed tracing in LangSmith.

##### Assistants

- [Assistants](https://docs.langchain.com/langsmith/assistants.md)
- [Manage assistants](https://docs.langchain.com/langsmith/configuration-cloud.md)

##### Runs

- [Runs](https://docs.langchain.com/langsmith/runs.md): An overview of runs in Agent Server, including how to kick off background runs, stateless runs, and cancel runs.
- [How to kick off background runs](https://docs.langchain.com/langsmith/background-run.md)
- [How to run multiple assistants on the same thread](https://docs.langchain.com/langsmith/same-thread.md)
- [Stateless runs](https://docs.langchain.com/langsmith/stateless-runs.md)
- [How to cancel a run](https://docs.langchain.com/langsmith/cancel-run.md): Cancel a single run or multiple runs via the API, and choose between interrupt and rollback actions.

##### Double-texting

- [Double texting](https://docs.langchain.com/langsmith/double-texting.md)
- [Interrupt concurrent](https://docs.langchain.com/langsmith/interrupt-concurrent.md)
- [Rollback Concurrent](https://docs.langchain.com/langsmith/rollback-concurrent.md)
- [Reject Concurrent](https://docs.langchain.com/langsmith/reject-concurrent.md)
- [Enqueue concurrent](https://docs.langchain.com/langsmith/enqueue-concurrent.md)

#### How to build

- [How to collect user feedback for Agent Server runs](https://docs.langchain.com/langsmith/agent-server-feedback.md)
- [How to implement generative user interfaces with LangGraph](https://docs.langchain.com/langsmith/generative-ui-react.md)
- [Implement a CI/CD pipeline using LangSmith Deployment and Evaluation](https://docs.langchain.com/langsmith/cicd-pipeline-example.md)

#### Auth & access control

- [Authentication & access control](https://docs.langchain.com/langsmith/auth.md)
- [Add custom authentication](https://docs.langchain.com/langsmith/custom-auth.md)
- [Document API authentication in OpenAPI](https://docs.langchain.com/langsmith/openapi-security.md)
- [Set up Agent Auth](https://docs.langchain.com/langsmith/agent-auth.md): Enable secure access from agents to any system using OAuth 2.0 credentials with Agent Auth.

##### Custom auth tutorial

- [Set up custom authentication](https://docs.langchain.com/langsmith/set-up-custom-auth.md)
- [Make conversations private](https://docs.langchain.com/langsmith/resource-auth.md)
- [Isolate store data per user](https://docs.langchain.com/langsmith/store-auth.md): Scope long-term store data to each authenticated user in LangSmith Deployment using auth handlers.
- [Connect an authentication provider](https://docs.langchain.com/langsmith/add-auth-server.md)

#### Server customization

- [Use server-side caching](https://docs.langchain.com/langsmith/caching.md): Cache values server-side in your agent deployment using stale-while-revalidate and key-value cache APIs.
- [Configure IAM authentication for data stores](https://docs.langchain.com/langsmith/configure-iam-auth.md): Configure Agent Server to use cloud workload identities for PostgreSQL and Redis authentication.
- [Rebuild graph at runtime](https://docs.langchain.com/langsmith/graph-rebuild.md): Rebuild your graph with different configurations for each run using ServerRuntime.

##### Encryption at rest

- [Encryption at rest](https://docs.langchain.com/langsmith/encryption.md): Choose between built-in AES encryption and custom encryption handlers for Agent Server data.
- [Configure AES encryption at rest](https://docs.langchain.com/langsmith/aes-encryption.md): Configure built-in AES encryption and lazy key rotation for Agent Server data.
- [Configure custom encryption at rest](https://docs.langchain.com/langsmith/custom-encryption.md)

##### Replace built-in backends

- [How to use a custom store](https://docs.langchain.com/langsmith/custom-store.md): Replace the built-in Postgres store with a custom BaseStore implementation in your agent deployment.
- [How to use a custom checkpointer](https://docs.langchain.com/langsmith/custom-checkpointer.md): Replace the built-in Postgres checkpointer with a custom BaseCheckpointSaver implementation in your agent deployment.

##### Extend the HTTP server

- [How to add custom routes](https://docs.langchain.com/langsmith/custom-routes.md)
- [How to add custom middleware](https://docs.langchain.com/langsmith/custom-middleware.md)
- [How to add custom lifespan events](https://docs.langchain.com/langsmith/custom-lifespan.md)

##### Headers and logging

- [Use HTTP headers for runtime configuration](https://docs.langchain.com/langsmith/configurable-headers.md)
- [Include HTTP headers in server logs](https://docs.langchain.com/langsmith/configurable-logs.md)

### Deploy to Cloud

- [Deploy to Cloud](https://docs.langchain.com/langsmith/deploy-to-cloud-overview.md): Deploy LangSmith agents to LangChain-managed Cloud infrastructure on AWS and GCP.
- [Cloud platform features](https://docs.langchain.com/langsmith/cloud-platform-features.md): Cloud-only platform features for LangSmith Deployment, including data regions, static IP addresses, payload limits, and deployment types.

#### Deployment guide

- [Create a deployment](https://docs.langchain.com/langsmith/deploy-to-cloud.md): Create a LangSmith Cloud deployment from the LangSmith UI or LangGraph CLI.
- [Revisions](https://docs.langchain.com/langsmith/deployment-revisions.md): Create and manage revisions for a LangSmith Cloud deployment.
- [Monitor a deployment](https://docs.langchain.com/langsmith/monitor-deployment.md): View build logs, server logs, and metrics for a LangSmith Cloud deployment.
- [Preview builds](https://docs.langchain.com/langsmith/preview-builds.md): Create temporary preview deployments for pull requests to test Agent Server changes before merging.
- [Manage a deployment](https://docs.langchain.com/langsmith/manage-deployment.md): Configure the repository, branch, and automatic updates for a LangSmith Cloud deployment, or delete it.

#### Reference

- [Cloud Agent Server environment variables](https://docs.langchain.com/langsmith/env-var-cloud.md): Environment variables supported by the LangSmith Agent Server when deployed on Cloud.

### Deploy to Self-hosted

- [Deploy to self-hosted](https://docs.langchain.com/langsmith/deploy-to-self-hosted-overview.md): Run the LangSmith Deployment platform on your own infrastructure with full control over data, networking, and resources.
- [Deploy with control plane](https://docs.langchain.com/langsmith/deploy-with-control-plane.md): Build Docker images and deploy applications to a self-hosted LangSmith instance using the control plane UI.
- [Hybrid](https://docs.langchain.com/langsmith/hybrid.md): A LangSmith Deployment setup where you self-host Agent Servers in your infrastructure and send traces to LangSmith Cloud or a self-hosted LangSmith instance.
- [Self-host standalone servers](https://docs.langchain.com/langsmith/deploy-standalone-server.md): Deploy standalone Agent Servers using Docker, Docker Compose, or Kubernetes without the LangSmith control plane.

#### Configure

- [Self-hosted platform features](https://docs.langchain.com/langsmith/self-hosted-platform-features.md): Self-hosted-only platform features for LangSmith Deployment, including custom databases, listeners, and resource customization.
- [Agent Server metrics](https://docs.langchain.com/langsmith/self-hosted-agent-server-metrics.md): Reference for Agent Server OpenTelemetry metrics on self-hosted deployments, including Deployment UI metrics, internal metrics, and Datadog export.
- [Configure Agent Server for scale](https://docs.langchain.com/langsmith/agent-server-scale.md): Tune the Agent Server for self-hosted deployments—write load, read load, and example Helm configurations for different load patterns.
- [Troubleshooting for self-hosted deployments](https://docs.langchain.com/langsmith/diagnostics-self-hosted.md): Diagnostic steps for troubleshooting self-hosted LangSmith Deployment issues before contacting support.

#### Reference

- [Self-hosted Agent Server environment variables](https://docs.langchain.com/langsmith/env-var-self-hosted.md): Environment variables supported by the LangSmith Agent Server when deployed on self-hosted infrastructure.

### Prompt & Context Hub

- [Prompt & Context Hub](https://docs.langchain.com/langsmith/prompt-context-hub.md): Store, version, and update the prompts and contexts your agents use in production.

#### Prompts

- [Prompt engineering quickstart](https://docs.langchain.com/langsmith/prompt-engineering-quickstart.md)
- [Prompt engineering concepts](https://docs.langchain.com/langsmith/prompt-engineering-concepts.md)
- [Model providers](https://docs.langchain.com/langsmith/playground-model-providers.md)
- [Write your prompt with AI](https://docs.langchain.com/langsmith/write-prompt-with-ai.md)

##### Create and manage prompts

- [Create a prompt](https://docs.langchain.com/langsmith/create-a-prompt.md)
- [Manage prompts](https://docs.langchain.com/langsmith/manage-prompts.md): Manage prompt versions, environments, and access controls in LangSmith.
- [Manage prompts programmatically](https://docs.langchain.com/langsmith/manage-prompts-programmatically.md)
- [Configure prompt settings](https://docs.langchain.com/langsmith/managing-model-configurations.md)
- [Prompt template format guide](https://docs.langchain.com/langsmith/prompt-template-format.md)
- [Use tools in a prompt](https://docs.langchain.com/langsmith/use-tools.md)
- [Include multimodal content in a prompt](https://docs.langchain.com/langsmith/multimodal-content.md)

##### Connect to models

- [Connect to an OpenAI compliant model provider/proxy](https://docs.langchain.com/langsmith/custom-openai-compliant-model.md)
- [Connect to a TypeSafe-compatible model provider](https://docs.langchain.com/langsmith/typesafe-compatible-model.md): Point LangSmith decision model evaluators at any server that implements the TypeSafe System One API, such as OpenRouter or a self-hosted model.
- [Connect to a custom model](https://docs.langchain.com/langsmith/custom-endpoint.md)

#### Context Hub

- [Context engineering concepts](https://docs.langchain.com/langsmith/context-engineering-concepts.md): Core concepts for context engineering in LangSmith, including skills, agents, versioning, and sharing.
- [Use the Context Hub](https://docs.langchain.com/langsmith/use-the-context-hub.md): Learn how to create, view, and promote context in the LangSmith Context Hub.
- [Manage contexts with the SDK](https://docs.langchain.com/langsmith/manage-contexts-sdk.md): Use the LangSmith SDK to push, pull, list, and delete agent and skill repos in the Context Hub programmatically.
- [Configure Context Hub commit webhooks](https://docs.langchain.com/langsmith/context-hub-webhooks.md): Send Context Hub commit events to an external HTTPS endpoint and verify that LangSmith signed each request.

#### Tutorials

- [Optimize a classifier](https://docs.langchain.com/langsmith/optimize-classifier.md)
- [How to sync prompts with GitHub](https://docs.langchain.com/langsmith/prompt-commit.md)
- [Test multi-turn conversations](https://docs.langchain.com/langsmith/multiple-messages.md)

### Sandboxes

- [LangSmith Sandboxes](https://docs.langchain.com/langsmith/sandboxes.md): Use LangSmith managed sandboxes to safely execute code and interact with the filesystem in isolated environments.
- [Sandbox snapshots](https://docs.langchain.com/langsmith/sandbox-snapshots.md): Build and capture reusable filesystem images for sandboxes.
- [Sandbox service URLs](https://docs.langchain.com/langsmith/sandbox-service-urls.md): Access HTTP services running inside sandboxes via authenticated URLs, from a browser or programmatically.
- [Sandbox download links](https://docs.langchain.com/langsmith/sandbox-download-links.md): Share a single file from a sandbox as a link that needs no LangSmith credential.
- [Sandbox auth proxy](https://docs.langchain.com/langsmith/sandbox-auth-proxy.md): Inject credentials into outbound requests and control which destinations a sandbox can reach.
- [Sandbox mounts](https://docs.langchain.com/langsmith/sandbox-mounts.md): Mount S3 buckets, GCS buckets, public Git repositories, and Context Hub repos into LangSmith sandboxes.
- [Sandbox access permissions](https://docs.langchain.com/langsmith/sandbox-permissions.md): Control who in your workspace can interact with a sandbox after it has been created.
- [Sandbox CLI](https://docs.langchain.com/langsmith/sandbox-cli.md): Create, inspect, connect to, and tunnel into LangSmith sandboxes from the command line.
- [Sandbox SDK usage](https://docs.langchain.com/langsmith/sandbox-sdk.md): Create and manage sandboxes programmatically with the Python or TypeScript SDK.
- [Harbor integrations](https://docs.langchain.com/langsmith/harbor-integrations.md): Run evaluations, Deep Agents, and sandboxes on LangSmith with Harbor.

## OpenAPI Specs

- [agent-server-openapi](/langsmith/agent-server-openapi.json)
- [openapi](https://api.host.langchain.com/openapi.json)
