Environment
Process variables used by the SDK, CLI, and Runtime.
OSS Runtime · beta
| Variable | Where | Purpose |
|---|---|---|
NYLORUN_RUNTIME_URL | SDK | Application/executor HTTP base. No implicit default. |
NYLORUN_SERVER_KEY | SDK, Runtime, CLI | Application bearer (≥16 characters). |
NYLORUN_EXECUTOR_KEY | SDK executor role | Single executor token (alternative to per-agent tokens in local-credentials.json). |
NYLORUN_EXECUTORS_JSON | Runtime startup | JSON array of process-only executor scopes. Not persisted. |
NYLORUN_IMPLEMENTATION_VERSION | connectAgents, CLI | Version string on claims / PUT agents (default dev). |
NYLORUN_HOME | CLI | Global data dir override (default ~/.nylorun). |
NYLORUN_PORT | CLI | Runtime port. |
NYLORUN_SQLITE_PATH | CLI, Runtime | SQLite file path. |
NYLORUN_PROJECT_PROVIDER | Runtime server | "1" → host vault model. |
NYLORUN_DEV_MODEL | Runtime, CLI | "fixture" skips the provider prompt. |
NYLORUN_MODEL_GATEWAY_URL | Runtime | Optional gateway model. |
NYLORUN_MODEL_GATEWAY_KEY | Runtime | Gateway auth. |
NYLORUN_MODEL | Runtime | Model id for gateway/scripted. |
NYLORUN_SCRIPTED_OUTPUT | Runtime | Scripted model output. |
NYLORUN_VAULT_KEK | Runtime | 32-byte key, base64. Else .nylorun/vault-kek. |
NYLORUN_SANDBOX | Runtime | auto | microsandbox | virtual. |
HOST | CLI, Runtime | Bind address (default 127.0.0.1). |
PORT | CLI, Runtime | Listen port (default 8787). |
MODEL_PROVIDER | CLI seed | One-time vault seed. |
MODEL | CLI seed | One-time vault seed. |
MODEL_PROVIDER_API_KEY | CLI seed | One-time vault seed. |
MODEL_PROVIDER_BASE_URL | CLI seed | Custom provider only. |
Do not commit these values. After the first host-model write, the vault is the source of truth for the provider. See Models and Vault.