0.16.0 or later and a license that includes the Engine entitlement. It is not available on earlier chart versions. Contact our sales team to have the entitlement added to your order.- Code (optional): Your agent’s source, which Engine reads to diagnose issues and propose fixes.
- Traces: Runtime data from your agents, which can include user messages, tool outputs, and PII.
- Model: The LLM calls Engine makes to run diagnosis, generate fixes, and write evaluators.
Availability by cloud and region
Engine is available where LSI is available:How it works
LSI is the LangChain-managed service that powers Engine. The flow:- Your self-hosted Engine sends an HTTPS request to the LSI gateway for its cloud, listed in the per-cloud sections on this page.
- Engine authenticates with a short-lived license JWT obtained during LangSmith license verification. You do not provide separate model-provider credentials.
- LSI validates the JWT and routes the request to the model provider over private networking inside LangChain’s environment.
- LSI returns the response to your self-hosted Engine.
What LangSmith Intelligence retains
LSI does not persist the content of prompts or model responses. It retains the following metadata for usage attribution and billing:- Account, workspace, and project identifiers used to attribute usage.
- Model and token-usage metadata used for billing.
Connect by cloud
AWS (available in US)
The gateway host isbeacon.aws.langchain.com. LSI routes requests to AWS Bedrock in LangChain’s AWS environment.
Connect with AWS PrivateLink
Before configuring PrivateLink, complete Install Engine, including its Helm and egress configuration. AWS PrivateLink routes Engine traffic from your VPC to LSI without exposing that traffic to the public internet. The LSI endpoint service is hosted inus-east-2, and AWS supports access from VPCs in other regions.
Before you begin, collect your AWS account ID, VPC ID, private subnet IDs, and a security group for the interface endpoint. Configure that endpoint security group to allow inbound TCP traffic on port 443 only from the security group attached to the nodes or workloads that run Engine, or from the smallest private CIDR that contains them. Do not allow 0.0.0.0/0.
To connect your VPC to LSI:
Request access
Create the interface VPC endpoint
service_region set to us-east-2, including when your VPC is in another region. Select one private subnet per availability zone.service_region argument requires HashiCorp AWS provider 5.82.0 or later.Wait for LangChain to accept the connection
pendingAcceptance to available after LangChain accepts the connection. Allow a few minutes for the change to propagate before testing connectivity.Route the LSI hostname to the endpoint
beacon.aws.langchain.com resolves to the VPC endpoint inside your VPC. Keep this hostname unchanged so TLS certificate validation succeeds. The private hosted zone also prevents fallback to public DNS when the endpoint is unavailable.beacon.aws.langchain.com that points to the endpoint DNS name.Verify private connectivity

AWS: LangSmith and Engine run in your VPC; LSI and Bedrock run in LangChain's AWS environment.
GCP (available in US)
The gateway host isbeacon.langchain.com. LSI routes requests to Vertex in LangChain’s GCP environment.

GCP: LangSmith and Engine run in your project; LSI and Vertex run in LangChain's GCP environment.
Model selection and quality
Engine uses different models, each tuned for its role, to cluster issues, diagnose root causes against your code, generate fixes, and write evaluators that verify them. LangChain tunes these models for quality and token efficiency, and updates them as better models become available. Engine uses managed inference, not a bring-your-own-key setup. This keeps Engine behavior consistent and improves it as LangChain updates the models. With a bring-your-own-key setup, model selection, tuning, and token efficiency can vary between requests.Where Engine processes data
In a self-hosted deployment, Engine separates data handling between your environment and LangChain’s:- Your environment: Engine orchestration and LangSmith-stored traces remain in your self-hosted environment.
- LangChain’s environment: LSI and the model provider process content that Engine sends. LSI retains the billing metadata described above.
Install Engine
Engine is disabled by default. It requires Sandboxes, a connection to LangSmith Intelligence, an externally reachableconfig.hostname, and an Engine encryption key. Complete the prerequisites before enabling Engine.
Engine and Insights run from the same image and share one deployment. Insights is not required for Engine. If your installation already runs Insights, enabling Engine adds configuration rather than new pods.
Components
Enabling Engine provisions or reuses:standalone-insights-api-server: serves both theengineandinsightsgraphs.standalone-insights-queue: background run processing for Engine and Insights.- A dedicated PostgreSQL and Redis instance for the shared deployment, each replaceable with an external instance.
- The sandbox components described under Enable Sandboxes.
platform-backend and ingest-queue, which dispatch and schedule its runs.
Prerequisites
Enable Sandboxes
engine.sandboxTenantId to the workspace ID.Confirm the license entitlement
https://beacon.langchain.com at startup and periodically thereafter, so the entitlement takes effect without you changing any configuration once it is added to your order.Allow egress to LangSmith Intelligence
engine.intelligenceBaseUrl.Verify your hostname is externally reachable
langsmith CLI, so config.hostname must be reachable from the sandbox network. Helm validation rejects localhost and in-cluster *.svc addresses.Serve that hostname through your ingress with TLS, as described in Set up an ingress. Engine does not require you to expose anything beyond the address your own users already reach. Sandbox egress is allowlisted to your LangSmith hostname, github.com, api.github.com, and the Python package registries. Per-run credentials are injected by a proxy outside the sandbox rather than being readable inside it.Generate the Engine encryption key
engine_encryption_key rather than in your config file. See Use an existing secret.To rotate the key later, copy the current value to engine_encryption_key_previous and set the new key as engine_encryption_key. The previous key is accepted for decryption only, so runs encrypted just before the swap still complete.Enable with Helm
Add the following to yourlangsmith_config.yaml, alongside the complete Sandboxes values from Enable Sandboxes. These examples show only the Engine-specific values and the sandboxes.enabled flag.
- Using Kubernetes secrets (recommended)
- Using inline values
engine_encryption_key from it automatically.Verify the installation
Confirm the shared Engine and Insights deployment is running:Running. Then, confirm platform-backend is healthy, since it dispatches Engine runs:
engine.intelligenceBaseUrl.
Turn on Engine in LangSmith
Enabling Engine in Helm makes the feature available; it does not start any scans. After enabling the chart values, finish setup in LangSmith:- An Organization Admin turns Engine on for the organization under Settings > Engine enablement. For more information, see Find and fix issues.
- Any user sets Engine up for a tracing project from the project’s Engine tab. For more information, see Set up Engine for a tracing project.
host-backend, see Connect Engine to GitHub.
Disable Engine
Setengine.enabled to false and re-apply:
standalone-insights pods keep running when insights.enabled is true.
See also
- Engine
- Configure Engine
- Connect Engine to GitHub
- Engine security
- Engine webhooks
- Enable additional LangSmith features

