Skip to main content

Environment Variables

Bitloops prefers daemon config and repo policy over environment variables, but a small number of variables are still supported for runtime control and temporary overrides.

General

VariableMeaning
BITLOOPS_TELEMETRY_OPTOUTDisables telemetry dispatch at runtime. It does not answer the CLI consent prompt or rewrite stored daemon-config consent.
BITLOOPS_DISABLE_VERSION_CHECKSkips update checks
BITLOOPS_LOG_LEVELOverrides the effective log level
ACCESSIBLEUses simpler terminal prompts for accessibility workflows

DevQL Semantic Overrides

These override semantic settings resolved from daemon config:

VariableMeaning
BITLOOPS_DEVQL_SEMANTIC_PROVIDERSemantic provider override
BITLOOPS_DEVQL_SEMANTIC_MODELSemantic model override
BITLOOPS_DEVQL_SEMANTIC_API_KEYSemantic API key override
BITLOOPS_DEVQL_SEMANTIC_BASE_URLSemantic base URL override

DevQL Embedding Overrides

VariableMeaning
BITLOOPS_DEVQL_EMBEDDING_PROVIDEREmbedding provider override
BITLOOPS_DEVQL_EMBEDDING_MODELEmbedding model override
BITLOOPS_DEVQL_EMBEDDING_API_KEYEmbedding API key override

Watcher Overrides

VariableMeaning
BITLOOPS_DEVQL_WATCH_DEBOUNCE_MSOverrides repo-policy debounce
BITLOOPS_DEVQL_WATCH_POLL_FALLBACK_MSOverrides repo-policy polling fallback
BITLOOPS_DISABLE_WATCHER_AUTOSTARTPrevents watcher auto-start for supported commands

Dashboard Bundle Overrides

These are mainly useful in development or CI:

VariableMeaning
BITLOOPS_DASHBOARD_CDN_BASE_URLOverrides the dashboard CDN base URL
BITLOOPS_DASHBOARD_MANIFEST_URLOverrides the dashboard manifest URL

Interpolation In Daemon Config

Daemon config values may reference environment variables with ${VAR_NAME}:

[knowledge.providers.github]
token = "${GITHUB_TOKEN}"

Use this for secrets and per-machine credentials. Repo policy files should not contain secrets.