.env file created by setup.sh.
CLI variables
| Variable | Required | Description |
|---|---|---|
TD_SERVER_URL | Yes | URL of the Tandemn server that the CLI should contact. |
TD_API_KEY | If enabled | API key for deployments that require authenticated client and replica communication. |
Server variables
Server variables are release-specific. After runningbash setup.sh, inspect .env.
| Variable | Required | Description |
|---|---|---|
S3_UPLOAD_BUCKET | Yes | Existing S3 bucket for uploaded workloads, chunk outputs, assembled output, and metrics. |
HF_TOKEN | For gated models | HuggingFace token for models such as Llama and Gemma. |
TD_API_KEY | Recommended | Shared API key for control plane authentication. |
KOI_SERVICE_URL | Optional | URL for optional Koi recommendations and lifecycle callbacks. Leave unset for standalone Orca behavior. |
ANTHROPIC_API_KEY | For LLM advisor | Enables the LLM placement advisor when the performance database is installed. |
ORCA_URL | Koi service only | URL Koi uses to call back to Orca/Tandemn System. |
Do not expose secrets, credentials, tokens, or private hostnames in public documentation or committed files.
Common mistakes
- Setting
TD_SERVER_URLin one shell and runningtandemnfrom another shell. - Using a server URL that is reachable from the admin machine but not from the user’s network.
- Leaving
S3_UPLOAD_BUCKETpointed at a bucket that does not exist. - Setting
KOI_SERVICE_URLaccidentally when you want standalone behavior. - Committing
.envby accident.

