Environment Variables

All environment variables recognized by Hoziron.

Platform Variables

VariablePurposeDefault
HOZIRON_HOMEConfig/data directory path~/.hoziron
HOZIRON_LISTENDaemon listen address (overrides config)127.0.0.1:4200
HOZIRON_LOGLog level filter directivesinfo
HOZIRON_LOG_FORMATLog output format (text or json)text

Provider API Keys

VariableProviderNotes
ANTHROPIC_API_KEYAnthropic (Claude)Required when provider is enabled
OPENAI_API_KEYOpenAI (GPT)Required when provider is enabled
GROQ_API_KEYGroqRequired when provider is enabled
VLLM_API_KEYvLLMAny non-empty string works

Provider keys are resolved lazily at request time. Adding or removing them takes effect immediately without daemon restart.

Telemetry

VariablePurposeDefault
OTEL_EXPORTER_OTLP_ENDPOINTOpenTelemetry collector endpoint— (disabled)

Registry / Catalog

VariablePurposeNotes
INTERNAL_REGISTRY_TOKENAuth token for private registriesName is configurable in auth_token_env

Container-Specific

VariablePurposeNotes
HOZIRON_HOMECritical in containers — dirs::home_dir() returns None in distrolessSet to /data

Auth

VariablePurposeNotes
HOZIRON_PROD_KEYAPI key for multi-context CLI accessName is user-configurable

Resolution Behavior

  • Variables prefixed with HOZIRON_ are platform configuration
  • Provider key variables are named by the api_key_env config field (customizable)
  • Registry tokens are named by the auth_token_env field per registry
  • All credential variables are read lazily — never at startup

Related: