reference

Configuration reference

Identify which Kestrel setting belongs to the application server, Local Core bridge, remote runner service, provider, Desktop, or Kestrel One.

RuntimebeginnerCurrent releases
Verified 2026-08-04View sourceReport a docs issue

Application-to-runner settings

VariableSet it inPurpose
KESTREL_RUNNER_SERVICE_URLTrusted application server or local clientAddress of the Local Core HTTP bridge or remote runner service
KESTREL_RUNNER_SERVICE_TOKENTrusted application server onlyAuthenticates calls to the runner

Never expose the runner token through a public environment variable or browser bundle.

Provider registry and profile settings

Profiles select runtime policy and required capabilities. Versioned provider-registry entries declare endpoints, models, capabilities, and qualification. Store the resolved profile and registry revision with run evidence.

Provider and tool settings

VariablePurpose
OPENROUTER_API_KEYAuthenticates an OpenRouter provider configuration
TAVILY_API_KEYAuthenticates internet-backed search tools when enabled
KESTREL_REASONING_MASTER_KEYRequired in hosted runtimes; a base64 or hex value that decodes to exactly 32 bytes and encrypts provider continuation and opted-in visible reasoning with separate derived keys
KESTREL_REASONING_KEY_FILEOptional local-runtime path for the generated 0600 reasoning key file

Desktop stores provider choices through its settings interface. Kestrel One administrators configure organization-approved gateways through trusted administrative controls.

Hosted runtime startup fails closed when KESTREL_REASONING_MASTER_KEY is missing or invalid. Do not log, expose, or reuse this key as provider credentials. Local runtimes generate a private key file when no environment key is configured.

Memory and persistence

Configure session/run persistence separately from governed Memory backends and Kestrel One Knowledge. Each store needs an explicit tenant boundary, source of truth, retention policy, and migration owner.

MCP, network, and execution-boundary settings

Environment policy owns MCP visibility, tool activation, local/remote execution, full or isolated networking, and OCI egress. Credentials never imply that a service or tool is authorized for the active profile.

Budgets and evaluation

Budget/allocation services own reserve, commit, release, and reconciliation. Evaluation configuration names evaluator versions, triggers, delivery consequences, and evidence retention.

Kestrel One services

Kestrel One production operation also requires application authentication, PostgreSQL, Redis, object storage, queue workers, email, and any enabled billing or managed-deployment services. Those deployment settings belong to authorized operators, not end-user onboarding.

Release and build identity

Record product version, Vercel deployment, Local Core/runner build identity, migration state, immutable worker/image digests, and canary results. Do not treat a mutable alias or version label as complete operational evidence.

Secret ownership and validation

Keep provider credentials, runner tokens, reasoning keys, leases, OAuth material, and external-service secrets in the narrowest trusted service. Validate format and ownership at startup, fail closed, and redact them from logs, traces, support bundles, and model-visible context.