Langy runs as a separate Kubernetes Deployment, the langyagent pod, and ships enabled: a plain helm install deploys it, materialises the shared secret, wires the app and workers to it, and opens Langy to everyone in the install.
By default the pod runs on the node's normal container runtime, so it starts on any cluster. To isolate it from the host, pin it to a sandboxed RuntimeClass such as gvisor. See Setup.
The GitHub App and outbound network egress are both optional and off until you configure them.
The langyagent pod is a single Go "manager" process that spawns one agent worker per conversation. Workers run on the node's normal runtime by default; set a sandboxed runtimeClassName to harden them. It never talks to your data stores directly; each worker reaches LangWatch only through the langwatch CLI, over the per-session credentials the control plane mints for that turn.
Also check: Setup, Environment variables, Networking and egress, The sandbox.
Turning Langy off. Set langyagent.chartManaged: false: the agent pod and every reference to it are removed on the next upgrade, and every other part of the install is left as it was. For opening Langy to a few projects before everyone, see staged rollout. On LangWatch Cloud, availability is managed for you.
At a glance
| Deployment | Separate langyagent Deployment + ConfigMap + Service + NetworkPolicy in the umbrella chart |
|---|---|
| Default state | On (langyagent.chartManaged: true); disable with chartManaged: false |
| Access | Everyone in the install (enableForAllUsers: true); staged rollout via the flag instead |
| Replicas | 1 (render-time guard blocks more until conversation-sticky routing exists) |
| Update strategy | Recreate, no HPA. Scale vertically. |
| Sandbox | None by default (runtimeClassName: "", acceptUnsandboxedRuntime: true); set runtimeClassName and acceptUnsandboxedRuntime: false to require one |
| Sizing | ~5 to 15 concurrent sessions at 500m to 2 CPU / 1 to 4Gi |
| Shared secret | LANGY_INTERNAL_SECRET, materialised in the app Secret by the chart; add it to your own Secret when autogen.enabled: false |
| GitHub App | Optional, for bot-authored pull requests |
| Outbound egress | Off by default (networkPolicy.allowExternalHttps: false) |
Hard requirements
- A sandboxed runtime, for hardening. The workload is LLM-driven arbitrary shell (workers spawn
git,gh, andnpm). The default runs it on the node's normal runtime so the install works on any cluster; for production, pin the pod to a sandboxed RuntimeClass and setacceptUnsandboxedRuntime: false. On a cluster without that RuntimeClass, the pod then waits with aRuntimeClass not foundevent. See The sandbox.- GKE ships the RuntimeClass managed (GKE Sandbox; Autopilot schedules
gvisorpods directly). - On AKS, point
runtimeClassNameat your Kata VM isolation class; any sandboxed RuntimeClass works. - EKS has no managed option: install gVisor on a node group (Setup).
- GKE ships the RuntimeClass managed (GKE Sandbox; Autopilot schedules
- A separate pod and service. The agent is its own Deployment, ConfigMap, ClusterIP Service, and NetworkPolicy (plus an optional PodDisruptionBudget and CiliumNetworkPolicy). It runs a single replica with
strategy: Recreateand no HPA, sized for roughly 5 to 15 concurrent sessions at 500m to 2 CPU and 1 to 4Gi. Scale it vertically, not horizontally. - The shared internal secret. The app and the agent authenticate to each other with a bearer token,
LANGY_INTERNAL_SECRET. The chart materialises it in the app Secret whenautogen.enabledis on; with your own Secret, add the key yourself. Under plainhelmthe install checks for it before starting. See Setup.
Optional components
- GitHub App for bot-authored pull requests. Register a GitHub App and set the
GITHUB_LANGY_*env vars. If the private key is unset, the GitHub feature is silently off and Langy returns findings without opening PRs. See Register the Langy GitHub App. - Outbound HTTPS egress for
git,gh, andnpm.networkPolicy.allowExternalHttpsisfalseby default; the pod cannot reach GitHub until you enable egress. See Networking and egress. - Operator mirror lane to copy Langy's own turn traces into a LangWatch project you designate, so whoever runs the install can watch Langy work. Off until
langyagent.mirror.existingSecretNamenames a Secret holding the mirror project's API key. See Watching Langy work.
Architecture
View source
graph LR Browser["Browser<br/>(event-sourced UI)"] -->|"HTTPS"| App["LangWatch App<br/>(control plane)"] App -->|"Bearer LANGY_INTERNAL_SECRET<br/>ClusterIP only"| Agent["langyagent pod<br/>(Go manager)"] Agent -->|"one per conversation"| Worker["agent worker"] Worker -->|"langwatch CLI<br/>(per-session key)"| App Worker -->|"LLM traffic<br/>(virtual key)"| Gateway["LangWatch AI Gateway"] Gateway -->|"completions"| Providers["LLM Providers<br/>(your accounts / BYOK)"] Worker -->|"git / gh<br/>(if egress on)"| GitHub["github.com<br/>api.github.com<br/>codeload.github.com"] App -->|"install tokens"| GitHubAPI["api.github.com"]The control plane reaches the agent over cluster DNS at http://<release>-langyagent:80 (LANGY_AGENT_URL), authenticated with LANGY_INTERNAL_SECRET. The Service is ClusterIP only; a render-time guard blocks any other type, so the agent is never exposed outside the cluster.
Each worker's only path to LangWatch data is the langwatch CLI, and its only path to the internet is the L7 egress adapter. LLM traffic goes through the LangWatch AI Gateway, never direct to providers, so every Langy LLM call is traced, budgeted, and policed like any other.