HAI_API_KEY for hosted mode or HAI_AGENT_RUNTIME_BASE_URL for local mode. The rest are useful for host integrations, debugging, or advanced runtime control.
Model And Credentials
| Variable | Purpose |
|---|---|
HAI_API_KEY | Hosted-mode API key for H Company’s Models API. |
HAI_AGENT_RUNTIME_BASE_URL | OpenAI-compatible local model endpoint, such as http://localhost:8000/v1. |
HAI_AGENT_RUNTIME_MODEL | Model ID passed to the runtime, such as Hcompany/Holo-3.1-35B-A3B. |
holo login stores HAI_API_KEY in:
- process environment;
~/.holo/.env;.envin the current working directory.
Runtime
| Variable | Purpose |
|---|---|
HAI_AGENT_RUNTIME_PORT | Agent API port. Defaults to 18795. |
HAI_AGENT_RUNTIME_API_TOKEN | Bearer token for the loopback agent API. If unset, the client generates one for spawned runtimes. |
HAI_AGENT_RUNTIME_RUNS_DIR | Runtime event-log directory. If unset, the runtime default is ~/.holo/runs. |
HAI_AGENT_RUNTIME_FAKE | Test mode flag. Values 1, true, or yes enable fake-agent mode. |
Runtime Download Overrides
These are for tests, operations, or trusted development builds:| Variable | Purpose |
|---|---|
HAI_AGENT_RUNTIME_DOWNLOAD_URL | Override the managed runtime download URL. |
HAI_AGENT_RUNTIME_DOWNLOAD_SHA256 | Required sha256 when HAI_AGENT_RUNTIME_DOWNLOAD_URL is set. |
Development And Tests
Some repository tests use opt-in variables such asHOLO_RUN_INTEGRATION, HOLO_IT_BASE_URL, and HOLO_IT_MODEL. These are test harness variables, not end-user configuration.
For normal local model use, prefer: