> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-devupd-1765394015-eccef47.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LangSmith Deployment

<Callout icon="rocket" color="#4F46E5" iconType="regular">
  **Start here if you're building or operating agent applications.** This section is about deploying **your application**. If you need to set up LangSmith infrastructure, the [Platform setup section](/langsmith/platform-setup) covers infrastructure options (cloud, hybrid, self-hosted) and setup guides for hybrid and self-hosted deployments.
</Callout>

This section covers how to package, build, and deploy your *agents* and applications as [Agent Servers](/langsmith/agent-server).

A typical deployment workflow consists of the following steps:

<Steps>
  <Step title={<a href="/langsmith/local-server">Test locally</a>}>
    Run your application on a local server.
  </Step>

  <Step title={<a href="/langsmith/application-structure">Configure app for deployment</a>}>
    Set up dependencies, project structure, and environment configuration.
  </Step>

  <Step title={<a href="/langsmith/platform-setup">Choose hosting</a>}>
    (Required for deployment) Select Cloud, Hybrid, or Self-hosted.
  </Step>

  <Step title="Deploy your app">
    * [**Cloud**](/langsmith/deploy-to-cloud): Push code from a git repository
    * [**Hybrid or Self-hosted with control plane**](/langsmith/deploy-with-control-plane): Build and push Docker images, deploy via UI
    * [**Standalone servers**](/langsmith/deploy-standalone-server): Deploy directly without control plane
  </Step>

  <Step title={<a href="/langsmith/observability">Monitor & manage</a>}>
    Track traces, alerts, and dashboards.
  </Step>
</Steps>

## What you'll learn

* Configure your [app for deployment](/langsmith/application-structure) (dependencies, [project setup](/langsmith/setup-app-requirements-txt), and [monorepo support](/langsmith/monorepo-support)).
* Build, deploy, and update [Agent Servers](/langsmith/agent-server).
* Secure your deployments with [authentication and access control](/langsmith/auth).
* Customize your server runtime ([lifespan hooks](/langsmith/custom-lifespan), [middleware](/langsmith/custom-middleware), and [routes](/langsmith/custom-routes)).
* Debug, observe, and troubleshoot deployed agents using the [Studio UI](/langsmith/studio).

<Columns cols={1}>
  <Card title="Get started with deployment" icon="robot" href="/langsmith/application-structure" cta="Configure your app">
    Package, build, and deploy your agents and graphs to Agent Server.
  </Card>
</Columns>

### Related

* [Agent Server](/langsmith/agent-server)
* [Application structure](/langsmith/application-structure)
* [Local server testing](/langsmith/local-server)

***

<Callout icon="pen-to-square" iconType="regular">
  [Edit the source of this page on GitHub.](https://github.com/langchain-ai/docs/edit/main/src/langsmith/deployments.mdx)
</Callout>

<Tip icon="terminal" iconType="regular">
  [Connect these docs programmatically](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
</Tip>
