> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy to self-hosted

> Run the LangSmith Deployment platform on your own infrastructure with full control over data, networking, and resources.

Self-hosted LangSmith Deployment runs the [Agent Server](/langsmith/agent-server), control plane, data plane, and supporting databases inside infrastructure that you operate.

LangChain ships the container images, Helm charts, and license; you provide the Kubernetes cluster (or Docker host), PostgreSQL, Redis, and the networking and observability tooling that fit your environment. Self-hosted is the best deployment option when you have data residency, regulatory constraints, custom networking, or air-gapped requirements.

<Callout icon="clipboard-check" color="#4F46E5" iconType="regular">
  Self-hosted deployments require an [Enterprise plan](https://www.langchain.com/pricing) and the LangSmith license key delivered with that plan. For a setup guide, see [Self-hosted LangSmith](/langsmith/self-hosted).
</Callout>

## Topologies

LangSmith supports three self-hosted topologies that trade off setup complexity against control-plane features. Reference pages for [platform features](/langsmith/self-hosted-platform-features) and [diagnostics](/langsmith/diagnostics-self-hosted) apply to all three.

<CardGroup cols={2}>
  <Card title="Full self-hosted platform" icon="buildings" href="/langsmith/deploy-with-control-plane">
    The complete LangSmith platform—[control plane](/langsmith/control-plane) UI and APIs, [data plane](/langsmith/data-plane) listener, observability, evaluation, and agent deployment management. Best for teams that want the LangSmith product experience inside their own network.
  </Card>

  <Card title="Hybrid" icon="cloud-network" href="/langsmith/hybrid">
    LangChain-hosted control plane with the data plane (Agent Servers and databases) in your infrastructure. Best when you want managed deployment workflows but need agent workloads and customer data to stay inside your VPC.
  </Card>

  <Card title="Standalone server" icon="server" href="/langsmith/deploy-standalone-server">
    The lightest option—Agent Server containers (API + queue workers) with your own PostgreSQL and Redis. No control plane, no managed UI. Best for embedding the runtime into existing infrastructure or running air-gapped.
  </Card>

  <Card title="Platform features" icon="list-check" href="/langsmith/self-hosted-platform-features">
    Reference for self-hosted-only platform behavior: custom Postgres and Redis, listeners, and resource customization.
  </Card>

  <Card title="Diagnostics" icon="stethoscope" href="/langsmith/diagnostics-self-hosted">
    Collect logs, inspect state, and troubleshoot a self-hosted installation.
  </Card>
</CardGroup>

## Who manages what

Self-hosted shifts ownership of infrastructure operations from LangChain to your team, which provides flexibility and control over how you configure and operate is layer:

|                                           | **Who manages it** | **Where it runs**   |
| ----------------------------------------- | ------------------ | ------------------- |
| LangSmith platform (UI, APIs, datastores) | You                | Your infrastructure |
| Agent Server runtime                      | You                | Your infrastructure |
| PostgreSQL and Redis                      | You                | Your infrastructure |
| CI/CD for your apps                       | You                | Your CI environment |
| Upgrades, scaling, and backups            | You                | Your infrastructure |

In return, you can integrate with your own [Postgres](/langsmith/self-hosted-platform-features#custom-postgresql) and [Redis](/langsmith/self-hosted-platform-features#custom-redis), size [CPU and memory](/langsmith/self-hosted-platform-features#resource-customization) for your workload, and operate inside your existing network and observability stack. For the corresponding Cloud-managed model, see [Deploy to Cloud](/langsmith/deploy-to-cloud-overview).

## Next steps

<CardGroup cols={2}>
  <Card title="Pick a topology" icon="git-fork" href="/langsmith/deploy-standalone-server">
    Compare standalone server, full platform, and hybrid to find the right fit.
  </Card>

  <Card title="Install the full platform" icon="book" href="/langsmith/deploy-self-hosted-full-platform">
    Deploy LangSmith on Kubernetes with the control plane and data plane.
  </Card>
</CardGroup>

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/deploy-to-self-hosted-overview.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
