Skip to content

For the complete documentation index, see llms.txt.

Configuration reference

The worker is configured entirely through environment variables. This page lists the required deployment values and the analysis settings. For how to supply them during a deployment, see Deploy the analyzer worker.

Set all seven of these for the worker to start and serve. A missing or malformed value raises at boot and crashes the worker, so the pod fails to start.

VariableDescription
INSTRUCTION_HUB_RUNTIME_BASE_URLBase URL of the hosted Promptless Runtime the worker syncs with.
INSTRUCTION_HUB_INSTALL_TOKENThe plih_ install token that authenticates this deployment to hosted Promptless.
INSTRUCTION_HUB_DEPLOYMENT_NAMEA human-readable name for this worker deployment.
INSTRUCTION_HUB_DEPLOYMENT_INSTANCE_IDThe stable instance identifier used when hosted Promptless verifies host credentials.
INSTRUCTION_HUB_CONFIG_HASHA hash of the deployment configuration.
INSTRUCTION_HUB_CUSTOMER_POSTGRES_DSNConnection string for the Postgres database you own.
INSTRUCTION_HUB_TRACE_OBJECT_S3_BUCKETThe S3 bucket you own, for raw traces and canonical trace objects.

The INSTRUCTION_HUB_ANALYSIS_* variables turn on and configure the Friction Analyzer. Set them together, because the analyzer needs its model and repository configured before it runs.

VariableDescription
INSTRUCTION_HUB_ANALYSIS_ACTIVATION_ATWhen analysis becomes active for this deployment. An ISO-8601, timezone-aware timestamp, for example 2026-07-29T00:00:00Z.
INSTRUCTION_HUB_ANALYSIS_MODEL_PROVIDERThe model provider: openai, azure_openai, or aws_bedrock.
INSTRUCTION_HUB_ANALYSIS_MODEL_AUTHENTICATIONHow the worker authenticates to the provider: api_key or aws_sigv4. api_key works with any provider; aws_sigv4 requires the aws_bedrock provider and uses ambient AWS credentials, so it needs no API key.
INSTRUCTION_HUB_ANALYSIS_MODEL_BASE_URLThe provider’s base URL.
INSTRUCTION_HUB_ANALYSIS_MODEL_NAMEThe analysis model to use. Defaults to gpt-5.6-sol.
INSTRUCTION_HUB_ANALYSIS_MODEL_API_KEYThe API key, when the provider uses API-key authentication.
INSTRUCTION_HUB_ANALYSIS_REPOSITORY_URLThe Instruction Hub repository the analyzer reads and remediates against.
INSTRUCTION_HUB_ANALYSIS_REPOSITORY_IDThe repository identifier.
INSTRUCTION_HUB_ANALYSIS_REPOSITORY_FULL_NAMEThe repository’s full owner/name.
INSTRUCTION_HUB_ANALYSIS_REPOSITORY_TOKENA repository-scoped token the remediation flow uses to open pull requests. The analyzer also uses it to clone and read your Instruction Hub for its local mirror. Optional for public repositories.
INSTRUCTION_HUB_ANALYSIS_QUIET_WINDOW_HOURSHow long a session stays quiet before it is eligible for analysis. Defaults to 0.5.
INSTRUCTION_HUB_ANALYSIS_MIRROR_ROOTLocal root for the analyzer’s repository mirror. Defaults to /var/lib/instruction-hub/analysis-mirrors. The chart backs it with ephemeral pod-local storage (an emptyDir), not a persistent volume. The mirror is re-cloned on pod restart, and no PersistentVolume is required.

The worker also honors Datadog and Sentry environment variables to emit traces, logs, and errors. Those settings, the DD_* variables and SENTRY_DSN, are documented separately in Observability.