Skip to content

Environment variables

Current operator-facing environment variables grouped by source area.

This page lists environment variables that are read by current source code and are useful for operators or integrations. Build-time, test-only, and parent-process-injected variables are intentionally excluded from this public reference.

Paths and config

VariablePurposeDefault
OPENCORVUS_HOMEAbsolute canonical root for every OpenCorvus-owned directory: bin, cache, config, data, log, state, temporary files, and Overlay/WebView data.%LOCALAPPDATA%/opencorvus on Windows; Application Support on macOS; XDG data home on other platforms
OPENCORVUS_CONFIGLoad one explicit config file after global config.unset
OPENCORVUS_CONFIG_DIRLoad a local OpenCorvus config directory.unset
OPENCORVUS_CONFIG_CONTENTInline JSON config content, commonly injected by channel runtimes or containers.unset
OPENCORVUS_DISABLE_PROJECT_CONFIGDisable project config discovery.false
OPENCORVUS_PROJECT_DIRDefault project directory for serve and benchmark helpers.current working directory

Runtime identity

VariablePurposeDefault
OPENCORVUS_CHANNELInstallation/channel label used in the user agent.local
OPENCORVUS_CLIENTClient label used in runtime behavior and provider headers.cli
OPENCORVUS_SERVER_USERNAMEHTTP Basic Auth username.opencorvus
OPENCORVUS_SERVER_PASSWORDHTTP Basic Auth password for public servers.unset
OPENCORVUS_SERVER_URLServer URL exported by server and sidecar entrypoints.set by the process that starts the server
OPENCORVUS_PUBLIC_URLPublic URL used when publishing channel attachments.unset
OPENCORVUS_PUBLIC_URL_SECRETSecret used with public attachment URLs.unset

Timeouts and permissions

VariablePurposeDefault
OPENCORVUS_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MSDefault inactivity timeout for bash tool calls.tool default
OPENCORVUS_RUN_STALL_TIMEOUT_MSInactivity timeout for opencorvus run.runtime default
OPENCORVUS_BROWSER_LAUNCH_TIMEOUT_MSBrowser launch timeout.runtime default
OPENCORVUS_QUESTION_TIMEOUT_MSReject timeout for unanswered question interactions.300000

Feature switches

VariablePurpose
OPENCORVUS_DISABLE_AUTOUPDATE=1Disable auto-update.
OPENCORVUS_DISABLE_PRUNE=1Disable compaction pruning.
OPENCORVUS_DISABLE_AUTOCOMPACT=1Disable automatic compaction.
OPENCORVUS_DISABLE_TERMINAL_TITLE=1Disable terminal title changes.
OPENCORVUS_DISABLE_LSP_DOWNLOAD=1Disable language-server downloads.
OPENCORVUS_DISABLE_CLAUDE_CODE=1Disable Claude Code integration.
OPENCORVUS_DISABLE_CLAUDE_CODE_PROMPT=1Disable Claude Code prompt discovery.
OPENCORVUS_DISABLE_CLAUDE_CODE_SKILLS=1Disable Claude Code skill discovery.
OPENCORVUS_DISABLE_EXTERNAL_SKILLS=1Disable external skill discovery.
OPENCORVUS_ENABLE_QUESTION_TOOL=1Enable the question tool for non-interactive clients.
OPENCORVUS_ENABLE_EXPERIMENTAL_MODELS=1Include alpha models from the model catalog.
OPENCORVUS_ENABLE_EXA=1Enable Exa-backed web search when configured.

Models and providers

VariablePurpose
OPENCORVUS_MODELS_URLOverride the models.dev catalog URL.
OPENCORVUS_MODELS_PATHRead the model catalog from a local JSON file.
OPENCORVUS_VISION_MODELVision model for channel-runtime visual analysis.
OPENCORVUS_BENCHMARK_MODELExplicit model used by benchmark scripts.
ANTHROPIC_API_KEYAnthropic provider API key.
OPENAI_API_KEYOpenAI provider API key.
GOOGLE_GENERATIVE_AI_API_KEYGoogle AI provider API key.
DEEPSEEK_API_KEYDeepSeek provider API key.
OPENROUTER_API_KEYOpenRouter provider API key.
DASHSCOPE_API_KEYDashScope key shared by DashScope providers.
ALIBABA_CODING_PLAN_API_KEYDashScope Coding Plan provider key.

Browser and MCP

MCP means Model Context Protocol.

VariablePurpose
OPENCORVUS_BROWSER_EXECUTABLEBrowser executable path.
OPENCORVUS_BROWSER_LAUNCH_ARGSJSON array of browser launch args for browser preview.
OPENCORVUS_BROWSER_MCP_SOURCE_PACKAGE_DIRSource package directory for Browser MCP.
OPENCORVUS_BROWSER_MCP_PACKAGED=1Mark Browser MCP as packaged.
OPENCORVUS_BROWSER_MCP_NODENode executable used by Browser MCP sidecar.

Channels and speech-to-text

STT means speech-to-text.

VariablePurpose
OPENCORVUS_CHANNEL_SERVER_URLBackend URL used by channel runtime.
OPENCORVUS_CHANNEL_PERMISSION_PROFILEChannel permission profile.
OPENCORVUS_CHANNEL_PROTOCOL=1Enable channel protocol mode for supported platforms.
OPENCORVUS_SHARED_SESSION_MODE=1Enable shared session mode.
OPENCORVUS_SHARED_SESSION_FILEShared session file path.
OPENCORVUS_MIRROR_STDOUT=1Mirror channel-runtime stdout upstream.
OPENCORVUS_MONITOR_DIFF_THRESHOLDVisual monitor difference threshold.
STT_PROVIDERSingle speech-to-text provider.
STT_LANGUAGESpeech recognition language.
GROQ_API_KEYGroq speech-to-text key.
STT_GROQ_MODEL / STT_GROQ_BASE_URLGroq speech-to-text model and base URL.
STT_OPENAI_MODEL / STT_OPENAI_BASE_URLOpenAI Whisper model and base URL.
DEEPGRAM_API_KEYDeepgram key.
STT_DEEPGRAM_MODEL / STT_DEEPGRAM_BASE_URLDeepgram model and base URL.
GOOGLE_API_KEYGoogle Gemini speech-to-text key.
STT_GOOGLE_MODEL / STT_GOOGLE_BASE_URLGoogle Gemini speech-to-text model and base URL.
STT_LOCAL_COMMANDLocal speech-to-text command.