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 knobs. 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.

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. They are set together — the analyzer needs its model and repository configured to run.

VariableDescription
INSTRUCTION_HUB_ANALYSIS_ACTIVATION_ATWhen analysis becomes active for this deployment.
INSTRUCTION_HUB_ANALYSIS_MODEL_PROVIDERThe model provider: openai, azure_openai, or aws_bedrock.
INSTRUCTION_HUB_ANALYSIS_MODEL_AUTHENTICATIONHow the worker authenticates to the provider.
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.
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.