Holaboss
Skip to content

Environment Variables

Holaboss uses environment variables at several layers:

  • desktop and standalone runtime startup
  • workspace app startup inside workspaces
  • bridge and integration helpers inside workspace apps

The tables below focus on the names that are already used in the current repo and runtime contracts.

Desktop and runtime

VariablePurpose
HB_SANDBOX_ROOTRoot directory for runtime workspace and state data.
SANDBOX_AGENT_BIND_HOSTHost interface the runtime binds to.
SANDBOX_AGENT_BIND_PORTRuntime API port.
SANDBOX_AGENT_HARNESSHarness selector, typically pi.
HOLABOSS_RUNTIME_WORKFLOW_BACKENDWorkflow backend selector used by the runtime.
HOLABOSS_RUNTIME_DB_PATHPath to the SQLite runtime database.
HOLABOSS_RUNTIME_CONFIG_PATHOptional override for runtime-config.json.
HOLABOSS_DEFAULT_MODELDefault model id used when one is not selected explicitly.
HOLABOSS_MODEL_PROXY_BASE_URLProxy base URL for model routing.
HOLABOSS_SANDBOX_AUTH_TOKENAuth token used when talking to the proxy path.
PROACTIVE_ENABLE_REMOTE_BRIDGEEnables the remote bridge path when set to 1.
PROACTIVE_BRIDGE_BASE_URLBase URL for the proactive bridge.
SANDBOX_AGENT_DEFAULT_MODELFallback default model when HOLABOSS_DEFAULT_MODEL is not set.

Module app bridge and workspace integration

VariablePurpose
HOLABOSS_APP_GRANTGrant token used by the bridge SDK to proxy provider requests.
HOLABOSS_WORKSPACE_IDCurrent workspace id for output writes and workspace-scoped actions.
HOLABOSS_INTEGRATION_BROKER_URLExplicit broker URL override for integration proxy calls.
WORKSPACE_API_URLBase URL for publishing workspace outputs.
SANDBOX_RUNTIME_API_PORTRuntime API port used to resolve local integration URLs.
SANDBOX_AGENT_BIND_PORTFallback port used when the runtime port is not available.
HOLABOSS_USER_IDUser id passed into workspace apps that need a Holaboss identity.
PLATFORM_INTEGRATION_TOKENPlatform-specific integration token used by workspace apps.
WORKSPACE_X_INTEGRATION_IDOptional integration id used by workspace-connected apps.

How the bridge resolves URLs

The bridge helper used by workspace apps follows a simple resolution order:

  1. use HOLABOSS_INTEGRATION_BROKER_URL if it is set
  2. otherwise derive the integration broker from the runtime port
  3. derive the workspace API URL from the broker URL when needed

If those variables are missing, the bridge helpers fall back to a no-op path rather than crashing the app.

Where to set them

  • desktop values usually live in the desktop env file or the runtime config file
  • runtime startup values are often injected by the launcher or packaged bundle
  • workspace app values live in docker-compose.yml, app.runtime.yaml, or the sandbox environment

WARNING

Not every environment variable is required in every mode. Only set the ones that match the execution target you are actually running.