Self-hosted LangSmith is an add-on to the Enterprise plan designed for LangChain’s largest, most security-conscious customers. See pricing for details, or contact sales to request a license key for trial.
Choose a provider
AWS (EKS)
Provision EKS, RDS PostgreSQL, ElastiCache, S3, and networking.
Azure (AKS)
Provision AKS, Azure Database for PostgreSQL, Azure Managed Redis, Blob Storage, and Key Vault.
GCP (GKE)
Provision GKE, Cloud SQL, Memorystore, GCS, and Workload Identity.
Prerequisites
Install the following tools before running the modules:| Tool | Version | Purpose |
|---|---|---|
terraform | 1.5 | Run the modules |
kubectl | 1.33 | Inspect the cluster after provisioning |
helm | 3.12 | Manage the LangSmith chart release |
| Cloud CLI | latest | aws, az, or gcloud for the target provider |
- A LangSmith license key. Contact sales to request one.
- Permissions in the target cloud account to create VPC or VNet networking, a managed Kubernetes cluster, managed databases, object storage, secrets, and IAM roles.
- A registered domain (or subdomain) for the LangSmith UI endpoint.
Deployment tiers
Pick a tier with a single Terraform variable. The modules size every dependent resource accordingly.| Tier | PostgreSQL | Redis | ClickHouse | Use case |
|---|---|---|---|---|
dev | In-cluster | In-cluster | In-cluster | Demos, evaluations, short-lived POCs |
production | Cloud-managed (RDS, Cloud SQL, Azure Database) | Cloud-managed (ElastiCache, Memorystore, Azure Cache) | LangChain Managed ClickHouse | Persistent, scalable production |
production-large | Cloud-managed, larger instance class | Cloud-managed, larger instance class | LangChain Managed ClickHouse | High-throughput production |
What the modules provision
- Networking: VPC or VNet with public and private subnets, NAT, and security groups.
- Compute: Managed Kubernetes (EKS, AKS, or GKE) with autoscaling node pools sized per tier.
- Data plane: Managed PostgreSQL, managed Redis or cache, and a blob storage bucket for trace payloads.
- Secrets: Cloud-native secret store (AWS SSM Parameter Store, Azure Key Vault, GCP Secret Manager) synced into Kubernetes by External Secrets Operator.
- Ingress: Cloud-native load balancer by default. Envoy Gateway (Gateway API) is available for multi-namespace dataplane deployments.
- Optional hardening (AWS today): AWS Network Firewall with FQDN egress allowlists, WAFv2, CloudTrail, and a private EKS API endpoint with SSM bastion access.
Enterprise feature toggles
Each module exposes flags for the optional LangSmith add-ons. Toggle each in thetfvars file before running make apply.
- LangSmith Deployment (
enable_deployments): Agent Server plus the host-backend, listener, and operator that run and manage deployed agents. - Fleet (
enable_fleet): The agent-building product, formerly Agent Builder, deployed as a standalone service (chart v0.15+). - Insights (
enable_insights): ClickHouse-backed analytics. - Polly (
enable_polly): AI evaluation and monitoring.
Next steps
- Pick a provider above and follow the deployment guide.
- Review required dependency versions for PostgreSQL, ClickHouse, Redis, and Kubernetes.
- Plan capacity with the scaling guide.
- After the application is running, enable LangSmith Deployment to add agent deployment and management to the UI.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

