Skip to main content
Important
Self-hosted LangSmith is an add-on to the Enterprise plan designed for our largest, most security-conscious customers. For more details, refer to Pricing. Contact our sales team if you want to get a license key to trial LangSmith in your environment.
Host an instance of LangSmith in your own infrastructure for observability, evaluation, and prompt engineering. You can optionally enable LangSmith Deployment to deploy and manage agents through the LangSmith UI.
For step-by-step setup instructions for self-hosted LangSmith on AWS, GCP, or Azure, refer to our cloud architecture guides: AWS, GCP, or Azure.
Before installing or upgrading, review the minimum versions for self-hosting dependencies.

What’s included

A self-hosted LangSmith instance includes: Services:
  • LangSmith frontend UI
  • LangSmith backend API
  • LangSmith Platform backend
  • LangSmith Playground
  • LangSmith queue
  • LangSmith ACE (Arbitrary Code Execution) backend
Storage services:
  • ClickHouse (traces and feedback data)
  • PostgreSQL (operational data)
  • Redis (queuing and caching)
  • Blob storage (optional, but recommended for production)
LangSmith architecture showing services and datastores To access the LangSmith UI and send API requests, you will need to expose the LangSmith frontend service. Depending on your installation method, this can be a load balancer or a port exposed on the host machine.

Services

Storage services

LangSmith will bundle all storage services by default. You can configure it to use external versions of all storage services. In a production setting, we strongly recommend using external storage services.
To install, follow the Kubernetes setup guide.

Next steps