# Docs by LangChain: AGENT DEVELOPMENT LIFECYCLE Deploy > Documentation for LangSmith, Fleet, and our open source packages. ## Deploy - [AGENT DEVELOPMENT LIFECYCLE / Deploy / Get started (147 pages)](https://docs.langchain.com/_llms/agent-development-lifecycle/deploy/get-started.txt): Deployment components, Develop & test, Frameworks and platforms, Reference. ### Agent Server - [LangSmith Agent Server](https://docs.langchain.com/langsmith/agent-server.md): Learn how the LangSmith Agent Server runtime works, from assistants, threads, and runs to persistence, the task queue, auth, and server 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 - [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) - [Human-in-the-loop over MCP](https://docs.langchain.com/langsmith/server-mcp-elicitation.md): Ask an MCP client for input when an agent exposed through the Agent Server MCP endpoint pauses, then resume the tool call with the answers. - [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. - [Prioritize runs](https://docs.langchain.com/langsmith/run-priority.md): Set a priority for each thread so that urgent runs start first. ##### 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 Agent Server 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 Agent Server 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, Azure, and GCP. - [Cloud platform features](https://docs.langchain.com/langsmith/cloud-platform-features.md): Cloud-only platform features for LangSmith Agent Server, including data regions, static IP addresses, payload limits, and deployment types. #### Deployment guide - [Create an Agent Server](https://docs.langchain.com/langsmith/deploy-to-cloud.md): Create an Agent Server on LangSmith Cloud from the LangSmith UI or LangGraph CLI. - [Agent Server revisions](https://docs.langchain.com/langsmith/agent-server-revisions.md): Create and manage revisions for an Agent Server on LangSmith Cloud. - [Monitor an Agent Server](https://docs.langchain.com/langsmith/monitor-agent-server.md): View build logs, server logs, and metrics for an Agent Server on LangSmith Cloud. - [Preview builds](https://docs.langchain.com/langsmith/preview-builds.md): Create temporary preview Agent Servers for pull requests to test Agent Server changes before merging. - [Manage an Agent Server](https://docs.langchain.com/langsmith/manage-agent-server.md): Configure the repository, branch, and automatic updates for an Agent Server on LangSmith Cloud, 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): Host LangSmith Agent Server 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 Agent Server 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 Agent Server, 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 Agent Server 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. - [Set up a build machine on a restricted network](https://docs.langchain.com/langsmith/self-host-restricted-network-build.md): Configure pip, uv, Python, and the LangGraph CLI to pull every package, interpreter, and image from an internal registry, then build a Python or JavaScript Agent Server image with no public internet access. - [Troubleshooting for self-hosted deployments](https://docs.langchain.com/langsmith/diagnostics-self-hosted.md): Diagnostic steps for troubleshooting self-hosted LangSmith Agent Server 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): Configure model providers for the LangSmith Playground and LLM-as-a-judge evaluators. - [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 compatible decision model provider](https://docs.langchain.com/langsmith/compatible-decision-model-provider.md): Point LangSmith decision model evaluators at any server that implements the OpenAI Decisions API or 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 or public attribution headers 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. ## OpenAPI Specs - [agent-server-openapi](/langsmith/agent-server-openapi.json) - [openapi](https://api.host.langchain.com/openapi.json)