Limits
What each limit means
GitHub pull requests per day
Langy opens at most 20 pull requests per project per day. The count is a code constant (LANGY_GITHUB_PRS_PER_DAY = 20), so it is the same on every install and you cannot raise it with an environment variable. When the cap is hit, Langy stops the turn before it opens another PR. See Pull requests.
Max concurrent workers
Langy runs one isolated worker per conversation.LANGY_MAX_WORKERS caps how many workers run at once; the default is 20. Past the cap the agent returns 503 rather than spawning another worker. Raise it by giving the agent pod more resources and increasing the value. See Self-hosting overview.
Idle worker reap
A worker with no activity for longer thanLANGY_WORKER_IDLE_MS (default 600000 ms, 10 minutes) is reaped. Its clone and per-worker home are deleted, so nothing sensitive stays at rest worker-side. A later turn in the same conversation spawns a fresh worker. See Sandbox.
Per-session LangWatch API key
Each chat mints its own LangWatch API key, owned by the requesting user, project-scoped, clamped to the intersection of the Langy permission set and that user’s own permissions, and short-lived. It auto-expires; a worker exit revokes it early. A Langy tool call can never exceed what that user could do by hand. See Data flow and privacy.GitHub installation token
Langy mints a fresh 1-hour GitHub App installation token per turn, hands it to the worker as an environment variable only, and never stores it at rest. The token carries onlycontents:write and pull_requests:write, scoped to the installation’s repositories. See GitHub access.
Only the max-workers cap and the idle-reap timeout are configurable. The 20-PRs-per-day cap is hardcoded, and the two token lifetimes are fixed (one by design, one by GitHub). For the full environment-variable reference, see Environment variables.
Also check: Environment variables, Pull requests, Sandbox.