Core configuration
Environment names now omit the former NOVA_PERSONAL_AGENT_ prefix: for example, PIPELINE_MODE and CODEX_WORKSPACE. Rename existing .env, service and CI configuration keys before upgrading; old names are no longer read. Provider keys such as DASHSCOPE_API_KEY are unchanged. Desktop preferences override several non-secret values (including pipeline and language); these environment options also serve direct runtime launches.
Use desktop Settings to select models and enter credentials. When running from source, you can also edit the project .env; restart the desktop afterwards.
On Windows, desktop Codex discovery searches PATH, a custom npm prefix and %APPDATA%\npm, including npm installations managed by nvm-windows. You can also select an npm-installed codex.cmd by its full path in Settings, even outside PATH. Discovery uses the packaged native binary when available, or validates the official npm package and launches node.exe with codex.js as a separate argument. Node must be beside the shim or on PATH. The .cmd file is not executed through a shell. Direct runtime launches still require a native CODEX_BIN; shim resolution is provided by the desktop host.
Codex authentication accepts the existing saved login or the API key configured in Nova. If the login check fails for a session sharing your local Codex configuration, Nova also checks the selected model_providers.<model_provider> entry in ~/.codex/config.toml: it must have a non-empty base_url and either experimental_bearer_token, or a non-empty OPENAI_API_KEY in the same Codex home's auth.json. Such a provider can work even when codex login status reports Not logged in. Credentials stay in the existing files; Nova does not copy them into task records, logs or command arguments.
This provider-config alternative uses the ordinary CLI's compatible parsing of legacy configuration fields. Nova still validates the effective permissions, disabled features and MCP configuration before starting a turn. Saved-login and explicit-key launches retain strict configuration parsing.
Local data location
Nova keeps local data (personal state, memory and knowledge databases, conversations, Codex homes and managed workspaces) in ~/.nova-personal-agent on a new install. Earlier builds used ~/.nova-audio-agent, and Nova keeps using that folder as-is when it exists: nothing moves on startup and no step is required. Settings shows a one-line notice while your data is still there. If ~/.nova-audio-agent is a link you created (for example to another disk), it is used in place and never moved. Paths you set explicitly (for example MEMORY_PATH, KNOWLEDGE_PATH, BLACKBOARD_PATH, CODEX_MANAGED_ROOT or a path in Settings) are used as given.
Moving data to the new folder (optional)
Quit Nova (the desktop app, any runtime or server and other npa sessions), then run:
npa migrate-data --dry-run # show what would move, sizes and conflicts; changes nothing
npa migrate-data # move itThe command refuses while any Nova process, desktop window or data lock is present. It moves each entry from ~/.nova-audio-agent into ~/.nova-personal-agent by rename on the same volume, so nothing is copied or overwritten. A database moves only together with its -wal, -shm, -journal and .memory companions. A name already present in the new folder with different content, or a database present in both folders, stops the command before anything moves; move one copy out of the way and run it again. When every entry has moved, ~/.nova-audio-agent becomes a link to the new folder so older builds and saved paths keep working, saved desktop settings and existing-data Space configs that point into the old folder are updated, and .data-root-migrated.json marks completion. If the command is interrupted, ~/.nova-personal-agent/.data-root-migration.journal.json remains and Nova refuses to start until you run npa migrate-data again, which finishes or rolls back the move. If a rollback would overwrite something, the journal is kept and the command prints the exact steps to resolve it. While the command runs it holds ~/.nova-personal-agent.migration.lock, and Nova refuses to start while that file exists. The lock is never taken over automatically: if a crashed run left it behind, confirm no npa migrate-data is running, then delete the file. ~/.nova-personal-agent must be a real folder; the command refuses to migrate into a symbolic link. If the data was migrated but the ~/.nova-audio-agent link is missing or points elsewhere, Nova keeps using the new folder, maps saved paths under the old folder onto it, and shows a notice; run npa migrate-data to recreate the link.
An existing desktop profile, Nova Audio Agent Ambient Orb (@nova-audio-agent/ambient-orb for source launches, and for packaged launches when only that profile has saved settings), keeps being used in place, so saved settings and encrypted keys stay readable: the macOS Keychain item, the Linux Secret Service entry and the Windows Local State key keep their original storage name. New installs use the Nova Personal Agent profile (@nova-personal-agent/desktop). npa migrate-data does not move desktop profiles.
Minimal setup
The default Qwen realtime pipeline needs one key:
DASHSCOPE_API_KEY=your-dashscope-keyOnly the selected voice pipeline's keys are required. Search, camera watch, memory and knowledge turn off when their key is missing, and Settings and npa doctor name the key each one needs. Search uses Tavily when TAVILY_API_KEY is set and Bailian MCP search otherwise. Desktop cascaded mode defaults to Volcengine recognition, DeepSeek and Volcengine synthesis, requiring DOUBAO_BIGMODEL_API_KEY and DEEPSEEK_API_KEY. Keep DASHSCOPE_API_KEY for supporting models such as personal-memory processing.
Direct runtime launches use DeepSeek for the cascaded LLM unless CASCADE_LLM_PROVIDER selects another provider.
For Qwen Audio 3.1, select qwen-audio-3.1-realtime-plus and its matching longanqian_v3.1 voice. StepAudio 3 is a preview integration awaiting live acceptance. To use it, select StepFun and provide STEPFUN_API_KEY; Step 3.7 Flash uses the same key for auxiliary chat and vision by default. Local memory embeddings still need a configured embedding service. Each provider owns its model endpoint: DASHSCOPE_MODEL_BASE_URL, DEEPSEEK_MODEL_BASE_URL, OPENAI_MODEL_BASE_URL, GEMINI_MODEL_BASE_URL and STEPFUN_MODEL_BASE_URL; Ark keeps the dedicated VOLCENGINE_ARK_BASE_URL. These endpoints cover text, vision and auxiliary model traffic only. Realtime audio keeps each provider's *_REALTIME_URL, and embeddings keep the independent EMBEDDING_BASE_URL/EMBEDDING_API_KEY. The retired generic MODEL_BASE_URL/MODEL_API_KEY do not apply to any provider. Use OPENAI_COMPATIBLE_BASE_URL/OPENAI_COMPATIBLE_API_KEY for an explicit compatible gateway and SELF_HOSTED_LLM_BASE_URL/SELF_HOSTED_LLM_API_KEY for self-hosted serving.
Common options
Set only what you need to change. Keep credentials out of Git.
| Variable | Default | Purpose |
|---|---|---|
NOVA_SPACE_HOST_CONFIG |
None | Absolute path to a private Host Space configuration; runtime data stays on this Host. |
NOVA_LOCAL_TOOL_APPROVAL |
ask | Local Build file writes, edits and shell approval: ask or never; independent of executor approval. |
DASHSCOPE_MODEL_BASE_URL |
https://dashscope.aliyuncs.com/compatible-mode/v1 | Qwen text and vision model endpoint; independent of realtime audio, ASR, TTS, search and embedding. |
DEEPSEEK_MODEL_BASE_URL |
https://api.deepseek.com | DeepSeek text and vision model endpoint. |
OPENAI_MODEL_BASE_URL |
https://api.openai.com/v1 | OpenAI text model endpoint; the realtime endpoint stays OPENAI_REALTIME_URL. |
GEMINI_MODEL_BASE_URL |
https://generativelanguage.googleapis.com/v1beta/openai | Gemini text model endpoint; the realtime endpoint stays GEMINI_REALTIME_URL. |
STEPFUN_MODEL_BASE_URL |
https://api.stepfun.com/v1 | StepFun text and vision model endpoint; the realtime endpoint stays STEPFUN_REALTIME_URL. |
PIPELINE_MODE |
integrated | Product pipeline shape: integrated or cascaded. |
PROMPT_LANGUAGE |
zh-CN | AI system prompt language: zh-CN or en; desktop supplies its saved preference. |
INTEGRATED_PROVIDER |
qwen | Integrated realtime provider. |
CASCADE_LLM_PROVIDER |
deepseek | Cascaded LLM provider. |
CASCADE_LLM_MODEL |
provider default | Cascaded LLM model override. |
CODEX_APPROVAL_MODE |
ask | Coding approval mode for Codex and ACP backends; Pi refuses ask. |
CAPABILITIES_CONFIG |
~/.nova-personal-agent/capabilities.json | Capabilities registry path. |
MEMORY_CONNECTION |
local | Memory connection: disabled, local, or remote. |
MEMORY_PROVIDER |
None | Deprecated local provider: voicemem keeps ledger migration; mem0 keeps standalone mode. Conflicts with new memory variables. |
MEMORY_RECALL_ENGINE |
ledger | Expert local recall engine: ledger, voicemem or mem0; ledger remains authority. No UI picker. |
MEMORY_EXTRACTORS |
ledger | Comma-separated ledger or ledger,voicemem. VoiceMem adds temporary response-style context, not facts. Cannot combine with MEMORY_PROVIDER. |
DASHSCOPE_API_KEY |
None | Qwen realtime credential. |
QWEN_REALTIME_MODEL |
qwen-audio-3.0-realtime-plus | Qwen realtime model. |
QWEN_REALTIME_VOICE |
longanqian | Qwen realtime voice. |
OPENAI_API_KEY |
None | OpenAI API credential. |
GEMINI_API_KEY |
None | Gemini API credential. |
STEPFUN_API_KEY |
None | StepFun realtime credential. |
DEEPSEEK_API_KEY |
None | Official DeepSeek cascaded LLM credential. |
ARK_API_KEY |
None | Ark cascaded LLM credential. |
DOUBAO_BIGMODEL_API_KEY |
None | Volcengine TTS and ASR fallback credential. |
CODEX_WORKSPACE |
None | Host-approved Codex workspace. |
CODEX_BIN |
codex | Host-approved Codex app-server binary. |
TAVILY_API_KEY |
None | Tavily search credential. |
ask retains permission prompts; yolo lets Codex execute without approval. Choose according to your trust requirements.
A few more variables round out less common setups. COMPOSIO_API_KEY authorizes the Google connector (Gmail and Calendar) through Composio. OPENROUTER_API_KEY feeds the Jev judgment model that scores personal-memory candidates (Todo, Idea, Goal, Profile) and ranks news relevance; both stay off without it. DOUBAO_ASR_VOICEPRINT_ENABLED, together with DOUBAO_ASR_VOICEPRINT_ID, DOUBAO_ASR_VOICEPRINT_NAME and DOUBAO_ASR_VOICEPRINT_HEALTH_URL, turns on opt-in speaker verification for ASR. NEWS_LANGUAGE sets the news feed's language independently of the UI language. MEMORY_LEDGER_PATH overrides where the unified memory ledger's SQLite file lives (default ~/.nova-personal-agent/workspace-graph.sqlite).
Remove the local provider setting when disabling memory or selecting a remote service. See personal memory for remote settings and the iPhone guide for phone connections.
Support model naming
SUPPORT_MODEL selects the shared auxiliary LLM used by Proactive communication, coding intake/cancel selection, task verification, personal-record extraction and personal content generation. It is model selection, not a catch-all runtime role. GatewayProactivity, GatewayTaskVerifier and GatewayPersonalWriter own separate responsibilities; understanding and news reuse their existing factories. Jev judgments, planning, compression and vision retain their existing routing.
Rename SURROGATE_MODEL to SUPPORT_MODEL in your environment. The old variable is no longer read and has no compatibility alias; if it is still set, startup prints [config-warning] SURROGATE_MODEL is no longer read; rename it to SUPPORT_MODEL. Only the new variable selects the model; existing provider-specific defaults and cascaded model/endpoint pairing remain unchanged.
TypeScript API change: Settings.surrogate_model becomes support_model; the broad GatewaySurrogate export is replaced by the three adapters above. Use GatewayProactivity.select() for the former watch() call; other operations belong to their new owners. This is not a wire/event migration or a switch to Jev. Existing serialized surrogate identifiers and model-visible prompts retain their historical spelling.
Target resolution
GatewayTargetResolver separates workspace/session interpretation (resolveIntake) and running-work selection (resolveWork) from requirement extraction. intakeModels accepts an optional resolver as its fourth argument and exposes it as models.targets; cancellation composition calls that same resolver. Requirement extraction and target resolution use SUPPORT_MODEL with the same gateway. Planning keeps its existing model.
A normal assessment now makes two sequential calls under the existing shared assessment deadline: requirements, then targets. Abandonment skips target resolution. The host still validates user evidence, explicit session continuation, confirmations and stale results before any action. New workspace names and target clarification text are still generated by the LLM, so this boundary is not a drop-in Jev adapter. No additional model setting is introduced.
A target-validation retry currently reruns both stages; at most four model calls share the same two-attempt, 30-second assessment budget.
See OpenAI and Gemini providers for model presets, credential routing and protocol limitations.
Memory engine provider requirements
For ledger-authoritative SDK recall, set MEMORY_RECALL_ENGINE=mem0 or voicemem; optionally add MEMORY_EXTRACTORS=ledger,voicemem for temporary response-style extraction. Leave MEMORY_PROVIDER unset. There is no MEMORY_BACKEND alias. Existing embedding and fast/extraction model routes supply credentials and OpenAI-compatible /embeddings and /chat/completions endpoints; DashScope defaults reuse DASHSCOPE_API_KEY, not a Mem0 cloud key. Defaults stay ledger-only. See memory architecture for consent, TTL, and durable retry behavior.