Skip to content

Documentation for main. Released versions may differ.

Environment variables ​

Set variables in the shell or supervisor that starts Evener on the execution host. Browser settings cannot change an already-running process's inherited environment. Restart the relevant process after changing its service environment.

This user reference is derived from the public declarations in envvars/envvars.go. Internal coordination, development-only switches, and retired-interface controls are intentionally outside this guide. The registry remains the authority for names and visibility; subsystem guides own precedence and reload behavior.

Use variables safely ​

Do not paste secrets into shell arguments, history, logs, prompts, or launch [env] tables. Prefer the masked provider connection form or a secret manager that injects the process environment. Never diagnose access by dumping env, printenv, or an entire credential file.

A variable listed here does not automatically create an instance. Curated implicit providers have their own admission rules, and cloud instances also need resource/region variables. See the implicit provider table.

Path and fallback rules ​

  • EVENER_PROVIDERS_CONFIG unset selects the default providers file; set to a path selects that file; set to an empty string disables the user provider layer. Empty is not the default path.
  • EVENER_CREDENTIALS_CONFIG selects a credential store independently. Without a nonempty override, the store is the providers file's sibling (or the default config-root store).
  • EVENER_STATE_DIR selects an invocation's project/session directory, not the user state root. Use XDG_STATE_HOME to select the state-root base.
  • EVENER_MODEL, EVENER_REASONING_EFFORT, and EVENER_OPENAI_RESPONSES_CONTINUATION are fallbacks. Explicit CLI or hub launch settings win; see Configuration.
  • EVENER_OFFLINE=1 suppresses models.dev refresh. It does not block model requests, live endpoint checks, tools, or MCP networking.
  • Provider base URLs generally include their version path. DeepSeek is an exception. OLLAMA_BASE_URL wins over normalized OLLAMA_HOST; see Ollama.

Tooling-switch exception ​

EVENER_NO_USER_SKILLS=1 appears in the MCP and sandboxing guides, but the registry classifies it as Tooling, not a public setting. The evaluation harness uses it to omit home and user-config skills, installed plugins' skills, global MCP servers, and user-global commands. Bundled, project, and explicitly added sources remain; it does not disable all extensions or networking. The public table below excludes tooling switches.

Public settings ​

llmcall in the table below is a separate executable for a single model call, without an agent loop or tool calls. It is not an evener subcommand and is not included in the standard release installer. From a source checkout, make build-llmcall builds ./llmcall; run that path or install it separately on your PATH. See cmd/llmcall and the build target.

“Secret” marks the registry's secret classification, not a promise that other values are safe to publish. Paths, account identifiers, custom URLs, and error messages can still be private.

VariableSecretPurpose
EVENER_ALLOWED_DECISIONSnoSets allowed communicate.output.decision values for workflow routing, as a JSON array or comma-separated list; not tool approval modes.
EVENER_HOST_TEMP_BASESnoOS path list of absolute directories that replaces /tmp and /var/tmp as the world-usable host temp bases session temp containers are created in and the startup crashed-scratch sweep walks; each must be a world-writable sticky directory. Set but empty or malformed is refused, never replaced by the defaults.
EVENER_HUB_ADDRnoDefault hub address for local development tooling (the Vite dev-server proxy and browser guards).
EVENER_LOGIN_HEADLESSnoOverrides OpenAI login flow detection: 1 for device-code, 0 for browser.
EVENER_MODELnoDefault model as provider/model when --model is omitted.
EVENER_OFFLINEnoSet to 1 to disable models.dev refresh; the provider registry can still use a newer valid local catalog cache.
EVENER_OPENAI_RESPONSES_CONTINUATIONnoDefault OpenAI Responses continuation mode: off|auto. CLI and launch config override it.
EVENER_PROVIDERnoFallback provider for llmcall when --provider and LLM_PROVIDER are unset.
EVENER_PROVIDERS_CONFIGnoPath to providers.toml.
EVENER_CREDENTIALS_CONFIGnoPath to credentials.toml; unset means the sibling of providers.toml.
EVENER_REASONING_EFFORTnoDefault reasoning effort: minimal|low|medium|high|xhigh|max|none.
EVENER_SESSION_ORIGINnoMarks a session's launch origin (e.g. "test" for agentic-testing runs).
EVENER_STATE_DIRnoOverrides the per-invocation project/session state directory (one-shot evener --state-dir, hub-spawned daemons, evener doctor); does not override the Evener state root (see XDG_STATE_HOME).
LLM_MODELnoModel for llmcall when --model is unset; checked before EVENER_MODEL.
LLM_PROVIDERnoProvider for llmcall when --provider is unset; checked before EVENER_PROVIDER.
OPENAI_API_KEYyesOpenAI API key.
OPENAI_BASE_URLnoOpenAI API-key backend base URL.
OPENAI_CODEX_BASE_URLnoOpenAI OAuth Codex backend base URL.
OPENAI_ORG_IDnoOpenAI organization header for API-key requests.
OPENAI_PROJECT_IDnoOpenAI project header for API-key requests.
ANTHROPIC_API_KEYyesAnthropic API key.
ANTHROPIC_BASE_URLnoAnthropic API base URL override.
GEMINI_API_KEYyesGoogle Gemini API key; checked before GOOGLE_API_KEY.
GOOGLE_API_KEYyesGoogle Gemini API key fallback.
GOOGLE_BASE_URLnoGoogle Gemini API base URL override.
GROQ_API_KEYyesGroq API key.
GROQ_BASE_URLnoGroq API base URL override.
XAI_API_KEYyesxAI API key.
XAI_BASE_URLnoxAI API base URL override.
CEREBRAS_API_KEYyesCerebras API key.
CEREBRAS_BASE_URLnoCerebras API base URL override.
MISTRAL_API_KEYyesMistral API key.
MISTRAL_BASE_URLnoMistral API base URL override.
TOGETHER_API_KEYyesTogether AI API key.
TOGETHERAI_BASE_URLnoTogether AI API base URL override.
DEEPSEEK_API_KEYyesDeepSeek API key.
DEEPSEEK_BASE_URLnoDeepSeek API base URL override.
ZHIPU_API_KEYyesZ.ai (Zhipu) API key, used by both the zai and zai-coding-plan instances.
ZAI_BASE_URLnoZ.ai API base URL override.
ZAI_CODING_PLAN_BASE_URLnoZ.ai coding-plan base URL override.
MOONSHOT_API_KEYyesMoonshot AI API key.
MOONSHOTAI_BASE_URLnoMoonshot AI API base URL override.
KIMI_API_KEYyesKimi coding-plan API key (models.dev's convention).
KIMI_FOR_CODING_BASE_URLnoKimi coding-plan base URL override.
MINIMAX_API_KEYyesMiniMax API key.
MINIMAX_BASE_URLnoMiniMax API base URL override.
OPENROUTER_API_KEYyesOpenRouter API key.
OPENROUTER_BASE_URLnoOpenRouter API base URL.
OLLAMA_API_KEYyesOptional API key for authenticated Ollama proxies or Ollama Cloud.
OLLAMA_BASE_URLnoOllama base URL; wins over OLLAMA_HOST.
OLLAMA_HOSTnoOllama canonical host; used when OLLAMA_BASE_URL is unset.
AWS_BEARER_TOKEN_BEDROCKyesAmazon Bedrock bearer token.
AWS_REGIONnoAWS region the Bedrock endpoint is built from.
AZURE_API_KEYyesAzure OpenAI API key.
AZURE_RESOURCE_NAMEnoAzure OpenAI resource name the endpoint is built from.
AZURE_COGNITIVE_SERVICES_RESOURCE_NAMEnoAzure AI Services resource name the endpoint is built from.
GOOGLE_VERTEX_PROJECTnoGoogle Vertex project the endpoint is built from.
GOOGLE_VERTEX_LOCATIONnoGoogle Vertex location the endpoint host is built from.
GOOGLE_APPLICATION_CREDENTIALSnoPath to the Google application-default credentials file; when unset, the well-known gcloud path is used.
GOOGLE_VERTEX_API_KEYyesGoogle Cloud API key for Vertex AI express mode; the google-vertex-express instance.
GOOGLE_VERTEX_EXPRESS_BASE_URLnoVertex AI express-mode base URL override (default https://aiplatform.googleapis.com/v1).
CLOUDFLARE_ACCOUNT_IDnoCloudflare account id the Workers AI endpoint is built from.
DATABRICKS_HOSTnoDatabricks workspace host the endpoint is built from.
INFOMANIAK_PRODUCT_IDnoInfomaniak product id the endpoint is built from.
NEON_AI_GATEWAY_BASE_URLnoNeon AI gateway base URL.
SNOWFLAKE_ACCOUNTnoSnowflake account the Cortex endpoint is built from.
ANTHROPIC_COMPATIBLE_API_KEYyesAPI key for the anthropic-compatible instance.
ANTHROPIC_COMPATIBLE_BASE_URLnoRequired base URL for the anthropic-compatible instance.
GOOGLE_COMPATIBLE_API_KEYyesAPI key for the google-compatible instance.
GOOGLE_COMPATIBLE_BASE_URLnoRequired base URL for the google-compatible instance.
OPENAI_COMPATIBLE_API_KEYyesAPI key for the openai-compatible instance.
OPENAI_COMPATIBLE_BASE_URLnoRequired base URL for the openai-compatible instance.

Inherited host settings ​

These are host conventions, not a second Evener configuration file:

VariableUse
HOMEFallback for user directories
XDG_CONFIG_HOMEConfig base, default $HOME/.config; Evener appends /evener
XDG_STATE_HOMEState base, default $HOME/.local/state; Evener appends /evener
XDG_CACHE_HOMECache base
PATH, SHELLExecutable lookup and shell; session command environments can use the resolved login-shell PATH
GOCACHE, GOMODCACHE, GOPATH, GOENVGo tooling and sandbox cache resolution
CARGO_HOME, RUSTUP_HOME, NVM_DIR, PYENV_ROOTToolchain paths inherited by core command environments
SSH_CONNECTION, SSH_TTY, DISPLAY, WAYLAND_DISPLAYHeadless/graphical login detection
TMPDIRSession-dependent temporary directory, not necessarily private when sandbox is off

Evener supplies EVENER_SCRATCH_DIR to agent subprocesses for private session intermediates. An unsandboxed command's TMPDIR can be a world-readable, world-writable temporary container; do not put secrets there. Detached jobs do not retain session scratch. See Sandboxing and job control.

Credential references are not shell exports ​

Provider api_key and credential_headers can reference $NAME, ${NAME:-default}, or approved $(command) expressions. This expansion has its own grammar, timeout, and cache. Literal stored keys are not expanded. Ordinary headers and transport variables must not run credential commands. See credential expressions.

When upgrading an old configuration, check provider migration. For example, KIMI_API_KEY means the coding plan, MOONSHOT_API_KEY means the platform, and ZHIPU_API_KEY replaces old GLM naming. Unsupported old names do not become aliases merely because they remain exported in your shell.

Documentation tracks main. Releases may differ.