In the hybrid model, you self-host your in your own infrastructure and send traces to LangSmith, where LangSmith can be either a self-hosted instance or LangSmith SaaS. This gives you control over where your agent workloads run while letting you choose the LangSmith deployment that best fits your observability and compliance requirements.Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-repurp-1779849905-bd7c92f.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Components
| Component | Where it runs | Who manages it |
|---|---|---|
| Your infrastructure | You | |
| LangSmith (tracing, evaluation, prompts) | Self-hosted in your infrastructure, or LangSmith SaaS | You (self-hosted) or LangChain (SaaS) |
Self-host your Agent Servers
Deploy standalone Agent Servers using Docker, Docker Compose, or Kubernetes. See the standalone server guide for prerequisites, environment variables, and platform-specific instructions.Choose where traces are sent
Agent Servers send traces to LangSmith based on theLANGSMITH_ENDPOINT environment variable:
-
LangSmith SaaS: Omit
LANGSMITH_ENDPOINTto use the default (GCP US), or set it to the endpoint for your region:Region GCP US GCP EU GCP APAC AWS US -
Self-hosted LangSmith: Set
LANGSMITH_ENDPOINTto the hostname of your self-hosted LangSmith instance.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

