Configuration
Every Empryo setting: default model, thinking, the Genome code index, task router, agent features, key storage, instruction files, and environment variables.
Copy & share
On this page47 sections
Empryo reads settings from two JSON files. Settings in the project file override the global file.
| Scope | Path |
|---|---|
| Global | ~/.empryo/config.json on macOS and Linux, %LOCALAPPDATA%\Empryo\config.json on Windows |
| Project | .empryo/config.json in your project |
You rarely need to edit these files by hand. Most settings have a slash command, a panel under /settings, or a switch in the desktop app's Settings. In the terminal app, /settings → All settings lists every setting the terminal reads, with its value and where that value comes from: the project, your global config or the default. Type to search, then press Enter to change it for this project or globally, or to clear it.
If a file has a key Empryo does not know, the app tells you right away: which key, which file, and the nearest real setting when the key looks like a typo. That covers the fields inside each settings block too, so "compaction": { "keepRecnt": 4 } is reported with keepRecent as the fix. A dotted key such as "compaction.gapFill": "off" is reported too, because a dot does not nest settings: write "compaction": { "gapFill": "off" }. Unknown keys are ignored and left in the file. Keys an older version of Empryo wrote and no longer uses, such as fff or presentation, are dropped without a notice.
Ask Empryo to change a settingLink to this section
You can also ask in the chat: "use adaptive thinking", "make the diffs compact", or "turn provider search off in this project". The agent uses its settings tool to make the change.
The change takes effect in the running app, just as if you had used the Settings panel. The desktop app and the terminal app redraw right away. In a headless run the change is saved for the next run.
A few settings are only read at startup: live translations, live skills, the Neovim binary and config, and on the desktop the system title bar and keeping the blur in the background. For those, the agent tells you to restart (/restart in the terminal, or quit and reopen the desktop app). Appearance settings for the desktop app can only be changed from a running desktop window.
| You ask to | The agent shows you |
|---|---|
| See a setting | Its type, its current value, and which file it came from |
| Change a setting | The old and new value, and which file it wrote |
| Reset a setting | What now applies instead |
Say "globally" to write ~/.empryo/config.json (%LOCALAPPDATA%\Empryo\config.json on Windows), or "for this project" to write .empryo/config.json. If you do not say, Empryo writes to the project file only when that file already sets the key. Otherwise it writes to the global file. It also removes any copy in the other file that would override your change.
The settings tool never handles credentials. Use /login, /keys, or empryo --set-key for those.
Resume after subscription limits resetLink to this section
subscriptionAutoResume is one global, opt-in switch, off by default. Only an explicit global setting enables it; project settings, run overrides and presets cannot. Enable Resume after limits reset beside subscription plans in the desktop app, in the terminal’s /login picker or /settings, or in Accounts on iOS and Android. Every control changes the connected computer’s same setting, for all OAuth subscriptions signed in through /login, not API-key billing limits.
A chat blocked by a subscription limit waits until its reported reset, checks quota again, then continues from its saved conversation and completed tool results. Unknown reset times use bounded rechecks. The computer and engine must remain running; saved waits are recovered when that session is reopened. Stop, close, a new user message, changing the model, or disabling the switch cancels the pending continuation. Disabling and re-enabling does not revive previously canceled waits. Enabling also arms quota-blocked chats still open on that computer.
ExampleLink to this section
{
"defaultModel": "anthropic/claude-sonnet-4-5",
"thinking": { "mode": "adaptive" },
"genome": true,
"semanticSummaries": "ast",
"diffStyle": "default",
"chatLayout": "speakers",
"scrollSpeed": 1,
"toolTimeout": 2,
"compaction": {
"strategy": "auto",
"triggerThreshold": 0.95,
"keepRecent": 4
},
"taskRouter": {
"spark": "anthropic/claude-haiku-4-5",
"ember": "anthropic/claude-sonnet-4-5",
"compact": "google/gemini-2.5-flash"
},
"agentFeatures": {
"desloppify": true
},
"retry": { "maxTransientRetries": 5, "baseDelayMs": 3000 }
}FieldsLink to this section
ModelLink to this section
| Field | Default | What it does |
|---|---|---|
defaultModel | "none" | The model to use, as provider/model. With "none", Empryo asks you to pick one at launch. When `taskRouter.default` is set, saving defaultModel moves it to the same model. |
thinking.mode | "auto" | Extended thinking: "auto", "adaptive", "enabled", "off". "auto" uses adaptive thinking on Claude models that support it. |
thinking.budgetTokens | Token budget when the mode is "enabled". Minimum 1024. |
DisplayLink to this section
| Field | Default | What it does |
|---|---|---|
theme | Theme name and transparency. /theme sets it. See themes. | |
locale | system | Interface language, such as ja, zh-Hans, or ar. /language sets it. --locale overrides it for one run. |
localizedCommands | false | Also accept slash commands typed in the interface language, such as /لغة for /language. |
diffStyle | "default" | "default", "sidebyside", "compact", or "off" (desktop only: hides diffs in the chat). |
collapseDiffs | false | Collapse diffs when a reply finishes. Ctrl+O expands them. |
chatLayout | "speakers" | Terminal app only. How messages are framed: "speakers", "rail", or "bubbles". |
scrollSpeed | 1 | Terminal app only. Multiplies how far the chat moves per mouse-wheel notch and per Alt+J / Alt+K press, from 0.5 to 5. |
showReasoning | false | Show the model's reasoning. |
showNarration | false | Show the model's short notes between tool calls. /narration sets it. |
statusBar.git | "branch" | Terminal app only. What the footer shows after the branch: "branch" (nothing more), "files" (+N ~N: new and changed files in the working tree), "lines" (+N -N: lines added and removed in tracked files since the last commit), "last-commit" (+N -N: lines the last commit added and removed), or "off" (no Git segment). |
statusBar.edits | true | Terminal app only. The ✎ +N ~N count of files this tab's agent created and edited in this session. |
motion | true | Animations. Turn off if you prefer no motion or work over a slow SSH connection. |
gitDecorations | true | Git status colors and letters in the file tree. |
projectsLayout | "tree" | Desktop projects view layout: tree, rail, inbox, grouped or rows. |
projectsStyle | "floating" | How Files and Projects sit in the desktop sidebar: floating, blended or stacked. |
projectsRailUnfold | false | Desktop rail layout: hovering the rail opens a panel with every project and tab. |
projectsTreeLook | lines | Desktop projects tree look: lines (tree guides, compact rows) or airy (no lines, roomier rows, a soft wash on the open tab). Applies to the projects tree and the tabs beside the rail. |
projectsRailPanel | files | Desktop rail layout: what sits beside the rail, files or tabs (the open project's tabs under its name and picture). With tabs the rail does not unfold. Switch between them at the top of the panel. |
projectsTabBar | false | Desktop tree layout: keep the tab bar above the chat while the projects tree lists the tabs. projectsTabBarTui is the terminal's own switch and is true by default. |
projectsView | true | Desktop projects view: your projects (this folder plus any folder you add, like ../proxy) in the sidebar, each with its own tabs, engine and Genome. |
projectsSubprojects | false | Also split this repo into its subprojects (monorepo packages and workspaces) under it. projectsSubprojectsTui is the terminal's own switch. |
projectsViewTui | false | Terminal projects view, set apart from the desktop one. projectsLayoutTui, projectsStyleTui, projectsRailUnfoldTui, projectsArrangeTui and projectsTabBarTui work like the desktop keys. |
projectsSortTui | "manual" | Terminal projects tree: order of the tabs under each project, manual, newest, oldest or recent (recently active). |
projectsGroupTui | "none" | Terminal projects tree: split each project's tabs into sections, none, status (Needs you, Working, Unread, Idle) or day (Today, Yesterday, Previous 7 days, Older). |
projectsFilterTui | "all" | Terminal projects tree: which tabs show, all, live (needs you, working or unread) or one status: attention, working, unread, idle. The open tab always shows. |
vimHints | true | Show Vim key hints in the editor panel. |
nerdFont | auto | Use Nerd Font icons. Detected from your installed fonts. Set true or false to force it. |
editorSplit | 60 | Width of the editor panel as a percentage of the space it splits with the chat (minus the one-column gutter, within each side's minimum width). Dragging the editor's edge saves it. Values outside 1 to 99 are clamped and anything that is not a number falls back to 60. |
tabNaming | true | Name each tab from its first prompt. |
skillPicker | true | Typing $ in the composer opens the skill picker (desktop and TUI). Off keeps $ as plain text. |
notifyTurns | Notify you when a reply finishes while you are looking elsewhere. | |
notifySubTabs | false | Also notify for child tabs an agent opened (subagents, reviewers, council members): desktop banners, sound, terminal bell and phone. |
notifyErrors | true | Desktop, global only. Notify when a turn fails, even a short one. |
notifySound | false | Desktop, global only. Play a soft chime with each notification. |
batterySaver | "battery" | Desktop, global only. When to save power: "battery", "low" (below 20%) or "off". |
startOpening | true | Desktop, global only. Play the short opening on the start screen. |
askProfileOnOpen | true | Desktop, global only. Ask for a profile after you pick a project on the start screen. |
restoreTabsOnOpen | true | Desktop, global only. Reopen a project on its last session and tabs. |
accountNames | "masked" | Desktop, global only. How account emails show in usage and subscription views: "visible", "masked" or "hidden". |
tabsInSidebar | true | Desktop, global only. List each project's tabs under it in the sidebar. |
autoDownloadUpdates | true | Desktop, global only. Download a new version in the background as soon as it is out. Off: the update prompt offers the download. |
autoInstallUpdates | true | Desktop, global only. Install a downloaded version when the app quits. Off: install it yourself from the update prompt. |
modelPicker.groupModels | Group the model picker by subscription plan or vendor. |
BehaviorLink to this section
| Field | Default | What it does |
|---|---|---|
defaultForgeMode | "default" | The mode new sessions start in. |
startMenu | "always" | When the terminal UI shows its start menu. "always" shows it on every launch. "when-needed" shows it only when there is a choice: an engine to join, or a computer you paired. |
yolo | Skip every approval prompt. Your /privacy rules still apply. /yolo sets it. | |
approvals.fetchPage | "ask" | "allow" lets fetch_page read pages (GET) without asking. Requests that send data still ask. |
approvals.fetchDomains | Hosts fetch_page may read without asking, for example ["docs.python.org", "github.com"]. A host also covers its subdomains. A redirect to another host is not followed: the agent has to fetch the new address, and that fetch is checked again. | |
approvals.outsideCwd | "ask" | "allow" stops the prompt for edits and commands that touch files outside the project. Read from the global file only. |
approvals.destructive | "ask" | "allow" stops the prompt for destructive commands. Read from the global file only. |
coAuthorCommits | false | Add an Empryo co-author line to commits the agent makes. |
toolTimeout | 2 | Time limit for shell, project, and agent tools, in minutes. |
agentShell | "terminal" | How the agent's shell commands run. "terminal" uses your login shell (zsh or bash) with the aliases, functions and variables your startup files define, like a new terminal window; variables that look like credentials stay out. On Windows commands still run in cmd with your user variables. "sh" runs plain sh (cmd on Windows) with the minimal environment. The agent can also pick sh, bash, zsh, cmd or powershell for one command. |
sessionCheckpoints | true | Save progress during each turn so a crash does not lose it. Turn off to save disk space. |
backgroundMode | "ask" | What happens to running work when you close Empryo: "ask", "keep" it running, or "stop" it. Global file only. Phone access and starting at login are separate switches. |
closeChildTabs | "ask" | What happens to a tab's sub-tabs when you close it: "ask" each time, "close" them too, or "keep" them open. Global file only. |
worktreeCleanup | "off" | What happens to a git worktree when you close the last tab open on it: "off" keeps it, "ask" offers to remove it (desktop app; the offer is dropped if a tab opens there again), "remove" deletes its folder from disk, including ignored files such as node_modules and build output, plus its index and engine records. A worktree with uncommitted or untracked files, or an ignored .env, .env.*, .pem, .key, .p12 or .pfx file anywhere in it (inside ignored folders too), is always kept. The branch stays. |
artifacts.capture | true | Collect the screenshots, pages, drawings, PDFs and videos the agent makes as the tab's artifacts. |
artifacts.show | true | Show artifacts. false hides them in the desktop app, the terminal, the phone apps and headless events; they are still collected, so turning it back on shows everything made meanwhile. The desktop switch is Settings → Chat → Show artifacts. |
checkpointSnapshots | true | After each turn that edits files, save a private git snapshot so undo can restore them. Turn off to stop the automatic snapshots. /checkpoint still saves one when you ask; undo refuses rather than restore files through a turn without one. |
An approval prompt also offers to allow that kind of request for the rest of the session: page fetches, or work outside the project. That choice lasts until the tab closes and covers nothing else.
Remote accessLink to this section
| Field | Default | What it does |
|---|---|---|
deviceTrust | "ask" | Which computers may take full control of this one without a pairing link or an Allow. "ask" lets none in. "tailnet" lets in computers signed in to your own Tailscale account. "wifi" lets in those, plus computers on the same Wi-Fi or wired network. "link" lets in anyone with a fresh pairing link. Global file only. /remote trust sets it. See Skip the Allow on an agent box. |
remoteAwake | "timer" | Keep this computer awake for remote work. "timer" stays awake remoteAwakeMinutes after a phone or computer connects and after the turns it started finish; every new connection restarts the timer. "always" stays awake while phone access runs. "off" never keeps it awake. Global file only. See Keep your computer awake. |
remoteAwakeMinutes | 30 | Minutes for the "timer" choice of remoteAwake, from 1 to 1440. Global file only. |
remotePort | 8787 | Port phone and remote access listens on. When it is taken, the next 3 ports are tried. Global file only. |
Code intelligenceLink to this section
| Field | Default | What it does |
|---|---|---|
genome | true | Build the Genome, Empryo's index of your code's files, symbols, and how they connect, when you open a project. |
semanticSummaries | "synthetic" | One-line summaries of your symbols. "off", "ast" (from doc comments), "synthetic" (doc comments plus names, no cost), "llm" (written by a model), "full" (all of these). |
semanticSummaryLimit | 300 | How many symbols get model-written summaries. The most connected symbols go first. Controls the cost of "llm" and "full". |
semanticAutoRegen | false | Rewrite model summaries when files change. The other modes always update. |
genomeTokenBudget | auto | How much of the context the Genome may use. Grows as the conversation gets longer. |
genomeMaxFiles | 10000 | Most files the Genome indexes. In a bigger repo the most recently changed files go first. 0 removes the cap. Changing it rescans. To leave files out on purpose, list them in .empryoignore. |
genomeChurnWeight | 60 | How much the Genome favors files that change often, compared with files the rest of the code depends on. 0 ignores change history. |
cochangeHints | true | When you check git status, list files that usually change together with yours but are missing. Uses local git history only. |
codeIntelligence | Which code-analysis methods to use. See intelligence. | |
disabledLspServers | [] | Language servers to skip, by package name. |
lspAutoInstall | true | Install language servers for the languages in your project, in the background. |
nvimPath / nvimConfig | auto | The Neovim binary and config for the built-in editor. See the editor. |
codeIntelligence.backend | "auto" | Force one code-analysis method: "auto", "ts-morph", "lsp", "tree-sitter" or "regex". |
editorIntegration | Whether the agent may use the built-in editor (agentAccess) and which of its actions: diagnostics, symbols, hover, references, definition, code actions, rename, format, LSP status and the cursor context. | |
editorIntegration.syncEditorOnEdit | Terminal app. The editor panel follows the files the agent edits. | |
editorIntegration.codeActions | Terminal app. The agent's editor tool may apply LSP quick fixes and refactorings. | |
editorIntegration.lspStatus | Terminal app. The agent's editor tool may list the language servers attached to the open file. | |
editorIntegration.editorContext | Terminal app. The agent's editor tool may read the open file, cursor and selection. |
CompactionLink to this section
When a conversation gets long, Empryo summarizes older parts to make room. See compaction.
"compaction": {
"strategy": "auto",
"triggerThreshold": 0.95,
"resetThreshold": 0.4,
"keepRecent": 4,
"maxToolResults": 30,
"llmExtraction": true
}Related fields:
| Field | Default | What it does |
|---|---|---|
compaction.maxToolResults | 30 | Tool results kept through a compaction. |
contextManagement.pruningTarget | Which agents get old tool results pruned: "none", "main", "subagents" or "both". | |
compaction.resetThreshold | 0.4 | How full the context should be after a compaction. Automatic compaction arms again once the context is below it. |
compaction.onResume | false | Compact before the first turn after a break, once the prompt cache has gone cold and the context is big. See after a break. |
compaction.resumeAfterMinutes | 60 | Minutes away before a resume compacts. Never shorter than the cache lifetime. |
compaction.resumeMinTokens | 150000 | Smallest context, in tokens, that a resume compacts. |
contextManagement | More options for what is kept in context. See compaction. | |
contextWindowOverrides | {} | The real context size of a model, in tokens. Use it when a provider reports the wrong size. |
maxRequestChars | {} | Largest request a model accepts, in characters. For gateways that reject large requests. |
RetriesLink to this section
For rate limits and temporary errors. The wait doubles after each attempt. See model fallback.
"retry": { "maxTransientRetries": 3, "maxStallRetries": 3, "baseDelayMs": 2000 }| Field | Default | What it does |
|---|---|---|
retry.maxTransientRetries | 3 | Retries for rate limits, overloads, timeouts and dropped connections. 1 or more; Settings and /retry offer 1 to 10. |
retry.maxStallRetries | 3 | Retries when a response stops arriving. Only used when watchdog is on. 1 or more; Settings and /retry offer 1 to 10. |
retry.retryOnStatus | [] | Extra HTTP statuses (400 to 599) to retry like a temporary error, for a router that sometimes answers 400 Provider returned error. [400] retries those up to maxTransientRetries times. A context-too-large 400 still compacts instead. |
retry.shrinkOutputOn400 | false | A 400 that names the context window always retries once with room to spare and keeps it for that model this session. On, a 400 with no reason to a max_tokens that fills the window to the edge does too. For strict routes such as MiniMax through OpenRouter. |
retry.baseDelayMs | 1000 in chat, 2000 for agents | Wait before the first retry, in milliseconds. 250 to 60000; Settings and /retry offer up to 10000. |
watchdog | false | Stop and retry when a response stalls. Off by default because slow models and long silent reasoning are normal. |
streamLoopGuard | false | Cut off a response that keeps repeating the same text ("hmm, hmm, hmm, ..."), drop the repeated part and send the same request once more with the provider's default temperature. A second loop stops the turn. Nothing is added to the prompt. Off by default; turn it on for models that loop. |
watchdogTimeouts | How long counts as a stall. /timeouts sets these. | |
watchdogTimeouts.firstChunkMs | 300000 | Wait for the first chunk of a response, in milliseconds. 30000 to 900000. |
watchdogTimeouts.chunkMs | 240000 | Longest gap between chunks. 30000 to 900000. |
watchdogTimeouts.toolMaxMs | 900000 | Longest wait while tools run. 120000 to 1800000. |
watchdogTimeouts.forceResolveMs | 5000 | Grace after a stop before the turn is closed. 1000 to 30000. |
The older retry.maxAttempts field still works as a default for both retry counts.
StreamingLink to this section
| Field | Default | What it does |
|---|---|---|
performance.streamIdleMs | How long a stream may go silent before it counts as stalled, in milliseconds. | |
performance.streamFirstGenerationMs | off (75000 when watchdog is on) | How long a request may show no model output before it is sent again, in milliseconds. Unset and with watchdog off, Empryo waits as long as the model takes, so long silent reasoning is never cut off. |
performance.streamHeadMs | 120000 | How long a streaming request may wait for the provider to start answering, in milliseconds. A provider that accepts the request and sends nothing fails after this with a message naming the provider and model, is retried once, then falls back. 0 turns it off; EMPRYO_STREAM_HEAD_MS sets it for one run. |
performance.codexResponsesLite | "auto" | The smaller request shape for Codex subscription models: "auto", "on" or "off". |
performance.codexClientMetadata | Send Codex client metadata headers. | |
performance.requestCompression | true | Compress model requests of 1 KB or more: zstd, or gzip where the server only takes gzip. A server that refuses gets the plain body. Also compresses the sealed phone and computer-to-computer links once both ends support it. EMPRYO_REQUEST_COMPRESSION=off turns it off for one run. |
Prompt cacheLink to this section
| Field | Default | What it does |
|---|---|---|
cache.ttl | "5m" | How long Anthropic keeps the prompt cache: "5m" or "1h". An hour survives longer pauses but each cache write costs more. |
cache.extendedRetention | Ask OpenAI to keep the prompt cache for 24 hours. | |
cache.prewarm | true | Write the cached start of the request while you type, so the reply starts faster. |
cache.keepAlive | Ping idle conversations so their prompt cache stays warm. | |
cache.threads | false | Claude message threads: after the first request, send only the new messages and the previous reply's id, not the whole conversation. Same token cost and cache hits; uploads shrink about 25× on long sessions, and the first token arrives sooner on very long contexts. Claude API and Claude subscription only. A thread lasts 5 minutes after its last request; any edit to the history, the system prompt or the tools starts a new one. |
cache.coldPrune | false | Drop old tool results after a pause of 5 to 60 idle minutes, depending on the model and cache.ttl. The 2 newest results stay. Providers that keep their cache longer than the pause lose those cached results, so the next request can cost more. |
Web searchLink to this section
| Field | Default | What it does |
|---|---|---|
webSearch | true | Allow the web_search tool. Off means no web search at all. |
nativeSearch | true | Let the model provider run the search on its own servers, where Empryo has tested that it works. Needs webSearch. |
With nativeSearch on, a supported model searches in one step and returns its own sources. Your search then goes only to your model provider. Two things to know:
- The provider runs the search, so Empryo cannot ask you to approve each search. Turn
nativeSearchoff if you want every search to run on your machine, with a prompt. - The provider's search tool adds about 2,200 input tokens to each request. They are cached, so the real cost is lower.
Provider-side search is on for Claude (direct and through the proxy), GPT through the proxy, and OpenRouter models that support it. Other models use the search services you have keys for, with DuckDuckGo as a free fallback. /web-search shows which one is in use. You can change both settings in /provider-settings or in the desktop app's provider settings.
| Variable | What it does |
|---|---|
EMPRYO_NATIVE_SEARCH_UNVERIFIED=1 | Also use provider-side search on Gemini, Grok, and Groq direct, which are not yet tested. |
Provider toolsLink to this section
Some tools are run by the model provider, not by Empryo. Whether a tool is available depends on the provider and model, so these settings allow a tool but cannot guarantee it. See provider tools.
| Field | Default | What it does |
|---|---|---|
computerUse | true | Let the agent take screenshots and use the mouse and keyboard. It still needs a model that accepts images and a machine that supports it, and your OS may ask for permission. See computer use. |
computerUseApps | Which apps the agent may control, with allow and deny lists per platform. | |
computerUseLaneOrder | Which computer-use engine drives, tried in order: a list of lane ids such as ["empryo", "codex:<plugin>:<server>"]. Only the driving engine's tools reach the model. | |
computerUseSettings.nativeDiscoveryOrder | [] | In auto mode, which native driver is tried first: ["native", "cua"] or ["cua", "native"]. Empty uses the platform default. |
codeExecution | true | Let the provider run code in its own sandbox. Claude and OpenAI only. |
anthropicTextEditor | false | Give Claude its own file-editing tool alongside Empryo's. Claude only. |
To see what is available for a model:
empryo --capabilities anthropic/claude-opus-4-6These settings are under General in /provider-settings and in the desktop app's provider options.
BrowserLink to this section
| Field | Default | What it does |
|---|---|---|
browser | The desktop app's browser panel. browser.agentOpensHidden starts a browser the agent opens minimised. browser.startMuted mutes it on every launch; the panel's mute button still toggles sound for the session. | |
terminalBrowser | true | Give the agent the same browser tool in the terminal app and headless runs, using a hidden browser window. false removes the tool. |
terminalBrowserAllowExternal | false | Let that browser open public websites. When off, it can only open localhost and private network addresses. |
Agents and limitsLink to this section
| Field | Default | What it does |
|---|---|---|
disabledTools | [] | Tools you have turned off. Tools that are always on are ignored here. See tools. |
advisor | Model and defaults for the advisor (/advise). advisor.contextChars sets how much of the conversation each consult sends, in characters. | |
skills.autoManage | true | Let the agent search, install and load skills on its own. |
skills.autoLoad | Skills loaded into every session, by name. | |
skills.rememberSession | Load the skills a session had again when you resume it. | |
memory.autoDistill | Headless runs only. Save what the run learned to memory automatically. | |
images.autoResize | true | Shrink image attachments that are larger than the provider accepts. EMPRYO_NO_IMAGE_RESIZE=1 turns it off for one run. |
goalLoop | Settings for the goal loop: rounds, extra checks, escalation. | |
modelFallback | {} | Backup models to try when a model keeps failing. See model fallback. |
maxTurnSteps | none | Step budget for one agent turn. Unset or 0 means no limit. |
subagentMaxSteps | none | Step limit for helper agents and reviewers. |
subagentStreamProviders | [] | Global-only list of provider ids whose dispatched helpers consume streams internally and return finished results. Main chat stays unchanged. Set through settings(action:"set", key:"subagentStreamProviders", value:'["openrouter"]', scope:"global"). EMPRYO_SUBAGENT_STREAM_PROVIDERS=openrouter,my-provider overrides the list; an empty environment value disables it. |
subagentMaxMs | none | Time limit for a helper agent, in milliseconds. It stops at the next step after the limit. |
heavyWork.slots | 0 (off) | How many heavy commands (typecheck, lint, test suites, builds, xcodebuild, gradle, cargo build, …) may run at once on this machine; 1 runs them one at a time. The limit is shared by every tab, project, worktree and engine: a heavy command from the shell tool, project or api.run in code_script waits for a free slot, and its output says how long it waited and what was running. A command that times out while waiting moves to the background and keeps its place. A command that has held its slot for 10 minutes stops counting, so a long build never blocks the machine; one that has waited 30 minutes runs anyway. Watch modes (--watch, -w) never count, and anything a slot holder starts skips the queue. |
heavyWork.commands | [] | More patterns, as regular expressions, for commands that count as heavy, matched against each command in a shell line after cd, timeout, nice and variable assignments, e.g. ["^bun run capture"]. |
preCommit.enabled | true | Run the lint and type check before every git commit the agent makes. See pre-commit checks. |
preCommit.command | none | The command the pre-commit check runs instead of the detected linters, e.g. "uv run ruff check . && uv run basedpyright". Honored only from your global config or a project config git does not track; the agent must ask before setting it. |
mcpServers | [] | MCP servers to start or connect to. |
providers | Custom providers. |
Accounts and gatewaysLink to this section
| Field | Default | What it does |
|---|---|---|
copilotHost | github.com | Your enterprise GitHub host for Copilot. Global config only. COPILOT_GITHUB_DOMAIN overrides it. |
llmgatewayAuth | "auto" | Which LLM Gateway credential to use when you have both: "key", "login", or "auto". |
llmgatewayLoginOrg | "default" | Which organization the browser sign-in created its key in. "devpass" bills your DevPass subscription. |
llmgatewayBudget.amount | Monthly LLM Gateway budget shown in the usage summary. | |
llmgatewayBudget.resetDay | Day of the month the budget resets, 1 to 28. | |
voice | Voice input: speech model (gpt-transcribe by default with an OpenAI key), hands-free voice (handsFree), live dictation (live, liveModel, delay), language, prompt, keywords, insert mode, recorder. | |
telemetry | on | Anonymous usage counts. Opt out with false, DO_NOT_TRACK=1, or EMPRYO_TELEMETRY=0. /developer shows exactly what is sent. |
Live updatesLink to this section
| Field | Default | What it does |
|---|---|---|
liveTranslations | true | Download newer translations at most once every 6 hours. |
soulstack.autoUpdate | true | Keep the installed SoulStack up to date. |
liveSkills | true | Update the skill that ships with Empryo from empryo.com. Only newer versions, only if you have not edited your copy, and only when the download's checksum matches. |
Desktop appearanceLink to this section
The desktop app's look. Change it in Settings → Appearance and Settings → Window, or ask Empryo from a desktop chat; the terminal app cannot change these. They are stored in the desktop's own file, or under appearance in the global config when Share appearance with CLI is on.
| Field | Default | What it does |
|---|---|---|
appearance.themeId | The desktop theme. | |
appearance.themeMode | "fixed" | "auto" switches the theme between its dark and light version with the system. |
appearance.density | Row heights and spacing: "compact", "cozy" or "comfy". | |
appearance.bgOpacity | Surface opacity, 0 to 100. | |
appearance.cardOpacity | 100 | Card opacity as a percentage of the surface. |
appearance.chromeOpacity | Title bar and status bar background opacity, 0 to 100. | |
appearance.chromeTone | "auto" | Title bar and status bar text: "auto", "dark" or "light". |
appearance.blur | Glass blur radius in pixels, 0 to 40. | |
appearance.showNoise | Film grain over the surfaces. | |
appearance.reduceMotion | false | Turn off spring and fade transitions. |
appearance.motionFps | 30 | Frame rate of looping animations (spinners, pulses, Mote) and of streamed text: 15, 30, 60, or 0 for the display's rate. A window in the background runs them at 10. |
appearance.showMascot | true | Show Mote on the welcome and on the focused tab. |
appearance.chatUserStyle | "thread" | How your own messages are drawn: "thread" or "bubble". |
appearance.chatScale | 100 | Chat text size as a percentage, 50 to 150. |
appearance.composerCollapse | "never" | When the empty prompt box shrinks: "never", "working" or "always". |
appearance.settingsPresentation | Settings as a "popup" or a workspace "panel". | |
appearance.windowBackdrop | "blurred" | What shows behind the window: "blurred", "clear", "solid" or "dither". Changes apply right away, except going into or out of see-through ("clear") compared with how the window opened: then the window shows Restart now. |
appearance.blurInBackground | false | macOS. Keep the window blurred while another app is in front. Uses more battery. Applies at the next launch. |
appearance.enterQueues | false | Enter queues a follow-up while a turn runs, and Cmd/Ctrl+Enter steers. Off: Enter steers. |
appearance.systemTitlebar | false | Use the system title bar instead of Empryo's. Applies at the next launch. |
appearance.mazeGpuPower | "high-performance" | Which GPU draws the codebase map: "high-performance" (Fast) or "low-power" (Eco). |
appearance.mazeFpsDocked / appearance.mazeFpsFull | 60 | Frame-rate cap of the codebase map, docked and full screen. |
The window backdrop (Settings → Window) changes right away between Blurred, Wallpaper and Solid. Switching to or from See-through, Keep blur in the background and the system title bar take effect after a restart.
Empryo also stores some of its own state in the config file, such as onboardingComplete, configVersion, and flags ending in IntroSeen. These are not settings. Changing them only shows or hides a one-time notice.
Desktop keybindingsLink to this section
keybindings maps a desktop action to a key. Only the actions you list change; every other shortcut keeps its default. A project config overrides single keys of the global one.
{ "keybindings": { "tab-search": "mod+o", "palette": "mod+p", "graph": "none" } }A key is modifiers and one key joined by +: mod (Cmd on macOS, Ctrl elsewhere), ctrl, cmd/meta, alt/option, shift, then a letter, digit, f1–f24, left/right/up/down, tab, space, enter, escape, backspace, delete, home, end, pageup, pagedown or a punctuation key such as , . \ ` `. Names such as comma, period, backslash, plus and pgup work too. "none" turns an action off. An unknown action, a key that cannot be read, or a value that is not text is ignored, and that shortcut keeps its default. A shortcut needs mod, ctrl or cmd, or is an f-key; a bare typing key such as space or shift+a` is ignored. A key you bind wins over another action's default. The settings tool refuses the same mistakes before it writes them.
| Action | Default | Action | Default |
|---|---|---|---|
palette | mod+k | tab-search | mod+shift+a |
settings | mod+, | stop-turn | mod+. |
sidebar | mod+b | side-panel | mod+j |
tools-pane | mod+i | focus-composer | mod+l |
graph | mod+shift+g | stem-panel | mod+shift+l |
find | mod+f | search | mod+shift+f |
split | mod+\ | split-orientation | mod+shift+\ |
previous-pane | mod+alt+left | next-pane | mod+alt+right |
next-tab | ctrl+tab | previous-tab | ctrl+shift+tab |
new-tab | mod+t | close-tab | mod+w |
reopen-tab | mod+shift+t | tab-1 … tab-9 | mod+1 … mod+9 |
terminal | ` ctrl+ `` | browser | mod+shift+b |
expand-tools | mod+shift+e |
Changes apply right away. The app menu, tooltips and the ? cheatsheet show the new keys. Keyboard shortcuts lists every shortcut of both apps.
Task routerLink to this section
Use a different model for each kind of work. See use multiple models for advice.
"taskRouter": {
"spark": "anthropic/claude-haiku-4-5",
"ember": "anthropic/claude-sonnet-4-5",
"webSearch": "anthropic/claude-haiku-4-5",
"desloppify": "anthropic/claude-haiku-4-5",
"verify": "anthropic/claude-haiku-4-5",
"compact": "google/gemini-2.5-flash",
"semantic": "anthropic/claude-haiku-4-5",
"default": null
}| Slot | Used for |
|---|---|
spark | Helper agents that read and research |
ember | Helper agents that edit code |
explore | The single explore agent. Uses spark if unset. |
webSearch | Web search |
desloppify | The cleanup pass after edits |
verify | The review after edits |
goalReview | The reviewer in the goal loop |
review | /review. Uses goalReview if unset. |
compact | Compaction |
semantic | Genome summaries |
marionette | The Marionette's file mapping |
namer | Tab names |
default | Anything without its own slot |
If a slot is empty, Empryo uses default, then the model you are chatting with. taskRouter.maxConcurrentAgents is the single limit for dispatched and background agents together (default 16, 0 for no limit). There is no separate CPU or memory cap. Change it in desktop Settings → Agent → Routing → Parallel agents, or terminal /router → Concurrency. It applies live to agents already waiting.
taskRouter.efforts sets reasoning effort per slot, and per mode: plan, auto and lite apply to the chat model while a tab is in that mode, for example "efforts": { "plan": "high" }. See effort by mode.
Agent featuresLink to this section
"agentFeatures": {
"marionette": false,
"desloppify": true
}| Feature | What it does | |
|---|---|---|
marionette | Experimental. Before each prompt, map which files matter, using the taskRouter.marionette model. See the Marionette. | |
desloppify | Run a cleanup pass after agents edit code. | |
pythonKernel | Off by default. Add a Python session that keeps its state between calls. See below. | |
toolLoading | How tools are sent to the model: "auto" (default), "provider", "ours", "all". See below. | |
contextGc | Off by default. Drop tool results the agent no longer needs during a long turn. true, or { "keepSteps": n, "minChars": n } to tune it. | |
turnAudit | Off by default: tried on past sessions, it flagged turns that were later corrected for unfinished work about as often as turns that were not. When on and a turn that did real work ends, the tab's model checks the answer and the steps the agent took against what you asked, including what you added during the turn, in a separate short request. If requested work was left undone (stopped at a diagnosis, listed as next steps, done in part), the turn continues with that list, at most twice per message you send. Stop cancels a check in progress. EMPRYO_TURN_AUDIT=1 turns it on for one run. | |
appendOnlyInstructions | On by default for Claude 5 and later on the Anthropic API and Claude subscription. An edit to an instruction file (EMPRYO.md, AGENTS.md, global rules) applies at the next turn as a message appended to the conversation, instead of rewriting the system prompt: the prompt cache keeps hitting and Claude keeps its earlier thinking. EMPRYO_APPEND_ONLY_INSTRUCTIONS=0 turns it off for one run. | |
writeOnceInputs | Retired and being removed. It stays off on every surface, and a saved true is ignored. Shortening big tool inputs into notes led models to copy and invent those notes as real arguments, and an A/B run on real tasks cost more with it on. | |
backgroundAutoResume | On by default. Wake the chat when a background agent finishes. | |
subagentTabs | Off by default. Every subagent opens as a sub-tab under the tab that started it, a full chat you can watch and steer on every surface. | |
subagentTabsAutoClose | On by default. Close any sub-tab an agent opens (subagents, orchestration lanes, tab_open) 5 seconds after it answers; a tab_open child waits until its parent has replied. Failed ones, council members and tabs you typed in stay open; click the timer to keep one. | |
nativeToolDeferral | Let the provider hide unused tools where it can. toolLoading overrides it. | |
backgroundResumeLimit | How many times background agents may wake the chat per message you send. Default 10, 0 for no limit. | |
linkBroadcastWake | Global only. What a broadcast from another tab does to idle tabs: "wake" (default) starts a turn in each, "queue" holds it for the tab's next turn, "smart" wakes only tabs with a warm prompt cache or a short conversation. Set it with /link settings or Settings › Agent › Agent link. See tabs. | |
requestMap | Off by default. Rank the session's first code map by the words in your request and name the likely files at its top. | |
fixHistory | Off by default. Rank files that often needed fixes higher in the code map, and point co-change hints only at them. Needs git history. | |
editEchoes | Off by default. After an edit renames something or changes how it is written, list other places in nearby files that still use the old form. | |
codeMode | "off" (default), "example" or "explore". Budget models such as Claude Haiku explore through code_script: example shows a worked script, explore also moves grep, read and find behind it. | |
learnedResidency | "off" (default), "unattended" or "everywhere". Tools a model rarely used in its recent turns load on demand. Each time the learned list changes, the cached prompt prefix is written again. See EMPRYO_LEARNED_RESIDENCY below. | |
finishNudge | "off" (default), "unattended" or "everywhere". When the agent lists work it has not done in final_response (unfinished), the list shows as "Not done yet" after the last automatic continuation, and only with items not already shown since your last message. If you stop the continuation, the held items show on the stopped turn. If it never starts (you steer, or Empryo restarts), the next turn reminds the agent of them and its answer decides what is still open. /clear and rewinding drop them. "unattended" continues to finish it only in headless runs, "everywhere" also in the desktop app and TUI, at most twice per message you send. true and false from older configs read as "unattended" and "off". |
Change these with /agent-features, or in the desktop app under Settings. The ones still being tested are together on one page, with what each does and what testing found: /experimental in the terminal, Settings › Experimental on the desktop.
Experimental featuresLink to this section
The Experimental page lists every feature that is still being tested, in two groups: off by default, and on by default. Each one says what it does, what testing found so far and where it applies, with a switch. A change applies from your next message.
| Feature | Setting | Default | What testing found |
|---|---|---|---|
| Compact after a break | compaction.onResume | off | Measured by replaying real sessions; not tried live yet. |
| Trim old results after a pause | cache.coldPrune | off | Measured by replaying real sessions. |
| Send big inputs once (retired) | agentFeatures.writeOnceInputs | off, cannot be turned on | Models copied and invented the notes; being removed. |
| Code map follows your request | agentFeatures.requestMap | off | The right file was in the map more often, but live runs took no fewer steps. |
| Rank by fix history | agentFeatures.fixHistory | off | No difference in live runs yet. |
| Finish check | agentFeatures.turnAudit | off | It flagged answers you later corrected and answers you accepted about equally. |
| Find leftovers after edits | agentFeatures.editEchoes | off | Catches some leftovers; no effect on live runs yet. |
| Code mode for small models | agentFeatures.codeMode | "off" | Small models rarely write scripts unless shown how. Not tested yet. |
| Heavy commands take turns | heavyWork.slots | 0 (off) | Heavy commands rarely run at the same time, so it stays off. |
| Learned tool loading | agentFeatures.learnedResidency | "off" | Measured in headless runs. |
| Finish the job | agentFeatures.finishNudge | "off" | Replaces an older check that only worked in English. Not tested yet. |
| Hide secrets from the model | agentFeatures.redactKnownSecrets | off | Checked by automated runs; not tested in live sessions yet. EMPRYO_REDACT_KNOWN_SECRETS=1 turns it on for one run. |
| Track pull requests | github.pullPool | on | Checked by automated runs in the desktop, terminal and phone apps; not measured in live sessions yet. See pull requests. |
| Instruction edits as messages | agentFeatures.appendOnlyInstructions | on | Before, every edit reset the cache and Claude's thinking. |
Stem add-onLink to this section
Stem remembers what worked in a project (earlier fixes, answers to earlier questions, stopped work and your feedback) and reminds the agent next time. It used to be an experiment and is now an add-on: turn it on under Settings › Add-ons on the desktop, or with /stem on in the terminal. The setting is still agentFeatures.stem (off by default), so nothing changes if you already had it on. When the stem app is installed (macOS, Linux and Windows, downloaded automatically), it gives the notes, and /stem status shows each kind of note and whether it has earned being shown: a kind is shown once it was right in at least half of 10 or more turns. Without the stem app, Empryo's built-in Stem gives the notes and measures what they saved by holding back agentFeatures.stemHoldout percent of tasks (default 10). agentFeatures.stemMark (default on) shows a small Sprout icon at the desktop composer's top-left corner.
The environment variables in the table below override these settings for a single run.
Tool loadingLink to this section
"agentFeatures": { "toolLoading": "auto" }Every tool sent to the model adds to the size of each request. To keep requests small, Empryo holds back tools you use less often. The agent finds a held-back tool with tool_search and runs it with run_tool. The list of tools does not change during a conversation, which keeps the provider's prompt cache working. See tools.
| Choice | What happens |
|---|---|
auto | The same tools are held back on every model. Where the provider can hide tools itself (Claude 4.5 and later, GPT 5.4 and later), it does; on every other model Empryo holds them back behind run_tool. Tools that ask for approval still ask when reached through run_tool. |
provider | Only the provider hides tools. Other models get every tool. |
ours | Empryo holds back tools on every model. The provider's own hiding is off. |
all | Every tool in every request. Nothing is hidden, and requests are largest. |
Tools from MCP servers are always reached through run_tool. When a server connects or disconnects mid-conversation, the agent is told in a note. /tools shows which tools are sent and which are held back for the current model.
Longer instructions for a tool travel with the tool, not in every request. The guides for the browser, subagents (dispatch and the background_* tools), memory and rename_tab are added once, to the first result of that tool in a conversation. The rules for sharing a checkout with other tabs arrive with the first note about other tabs, so a run with no other tabs never pays for them.
Python kernelLink to this section
"agentFeatures": { "pythonKernel": true }This adds a python_kernel tool: a Python session that keeps its variables between calls. The agent can load a data file once and ask many questions about it, instead of starting a new python process each time. It uses IPython if it is installed, and plain Python otherwise. There is one session per project, it starts in the project folder, and reset: true clears it. A call that runs past its time limit restarts the session.
It is off by default because it runs code with your permissions, like shell does. It needs python3 on your PATH. To turn it on for one run, set EMPRYO_PYTHON_KERNEL=1.
Marionette modeLink to this section
The Marionette is an experimental step that maps which files matter for a prompt before the agent starts. marionetteMode sets how hard it looks:
"marionetteMode": "fast"| Mode | How it works |
|---|---|
none | Uses the code index only. No model call. |
fast _(default)_ | Searches the index, then one model call picks the files. |
assist | Searches the index, then a model checks with a few tool calls. |
deep | The model does the whole search itself. Slowest, and results vary more between runs. |
Change it with /marionette none|fast|assist|deep, in Settings, or for one run with --marionette-mode. marionetteBudget limits steps and time for assist and deep.
ProvidersLink to this section
Add keys and custom providers on these pages:
- All providers: environment variables and
--set-keycommands. - Custom providers: any OpenAI-compatible API.
- Copilot: use your GitHub Copilot subscription.
Extra request-body parametersLink to this section
Some provider features are turned on by a field in the request, not by a tool. For example, DashScope reads enable_search. extraBody adds your own JSON to every chat request for a provider or a model.
{
"extraBody": {
"proxy": { "enable_search": true },
"proxy/gpt-5.6-luna": { "verbosity": "low" }
}
}Keys are a provider id or a full model id. When both match, the model's entry wins. Custom providers have their own extraBody field, which this map can override per model.
Your fields replace anything Empryo would have sent under the same name. If the provider rejects a field, the request fails. Embedding requests do not get these fields.
Custom request headersLink to this section
providerHeaders adds HTTP headers to every chat request for a provider or a model, built-in or custom. Use it for a team id, a gateway route, or a proxy that wants its own token.
{
"providerHeaders": {
"opencode-go": { "X-Team": "core" },
"openrouter/anthropic/claude-sonnet-5": {
"X-Route": "eu",
"X-Gateway-Key": "{env:GATEWAY_KEY}"
}
}
}Keys are a provider id or a full model id; when both set the same header, the model's value wins. {env:NAME} reads an environment variable when the request is sent, so a secret stays out of the file. A header you set replaces one Empryo would send under the same name. Header names must be valid HTTP tokens, values must be text, and Host, Content-Length, Transfer-Encoding and Connection cannot be set. A wrong entry is skipped and named in Events; the other headers, and the rest of the file, still load. The settings tool refuses a wrong value before it writes it.
The model picker marks every model that sends custom headers: a tag icon on desktop, "custom headers" after the model in the terminal, and in the model's caption on the phone. On desktop, edit them in Settings → Provider options → Custom headers: pick a provider, or one of its models, add header names and values, and save to the project or global scope. Or ask Empryo ("send X-Team: core to opencode-go") and it writes providerHeaders through the settings tool.
Auth & key storageLink to this section
Empryo stores keys in your system keychain when one is available, and in a protected file otherwise.
| Platform | Where keys are stored |
|---|---|
| macOS | Login Keychain, service empryo |
| Linux | The system secret store through secret-tool (GNOME Keyring, KWallet) |
Linux without secret-tool | ~/.empryo/secrets.json, readable only by you |
| Windows | Encrypted for your user account (DPAPI), in %LOCALAPPDATA%\Empryo\secrets.dat |
| Windows without DPAPI | A plain JSON file in the same folder, readable only by you |
| Windows (WSL) | Same as Linux |
empryo --set-key <provider> <key> saves a key. empryo --list-providers shows which providers have one.
Several keys for one providerLink to this section
Run --set-key again with a different key and Empryo keeps both. When one account runs out of quota during a turn, Empryo switches to the next key and continues. When every key is used up, you see the provider's error.
A short rate limit waits and retries with the same key. Keys from environment variables are never rotated. This works for built-in and custom providers. /keys lists what is stored.
Lookup orderLink to this section
{ "keyPriority": "env" }| Value | Order |
|---|---|
"env" (default) | Environment variable, then keychain, then file |
"app" | Keychain, then file, then environment variable |
Use "app" if keys exported in your shell keep overriding the ones you saved.
Use a key for one launchLink to this section
Environment variables work in the terminal app too. Nothing is saved:
LLM_GATEWAY_API_KEY=sk-... empryo
ANTHROPIC_API_KEY=sk-ant-... empryoThere is no --key flag.
Remove a keyLink to this section
/keys lists every provider and lets you delete a key. You can also delete it from your keychain directly, for example on macOS: security delete-generic-password -a empryo -s anthropic-api-key.
Instruction filesLink to this section
Empryo can load project rules from the instruction files other AI tools use:
{ "instructionFiles": ["empryo", "claude", "cursorrules"] }| Key | File |
|---|---|
empryo | EMPRYO.md |
claude | CLAUDE.md |
claude-local | CLAUDE.local.md |
codex | AGENTS.md |
agent-md | AGENT.md |
cursorrules | .cursorrules |
github-copilot | .github/copilot-instructions.md |
cline | .clinerules |
windsurf | .windsurfrules |
aider | .aider.conf.yml |
amp | AMPLIFY.md |
gemini | GEMINI.md |
qwen | QWEN.md |
warp | WARP.md |
junie | .junie/guidelines.md |
zed | .rules |
continue | .continuerules |
roo | .roorules |
augment | .augment-guidelines |
trae | .trae/rules/project_rules.md |
goose | .goosehints |
Each file is read from the project folder and from your home folder. If they disagree, the project file wins. Choose files with /instructions in the terminal app, or under Settings → Instruction files in the desktop app.
Load a file only for some modelsLink to this section
By default, every enabled file loads for every model. instructionRouting limits a file to certain models or agents:
{
"instructionFiles": ["empryo", "claude", "codex"],
"instructionRouting": {
"claude": ["claude"],
"codex": ["openai", "agent:reviewer"]
}
}With this setup, a Claude tab reads EMPRYO.md and CLAUDE.md, and a GPT tab reads EMPRYO.md and AGENTS.md. Switch a tab's model and the files change on the next message.
| Pattern | Matches |
|---|---|
claude, openai, google, xai, deepseek | The model's maker, through any provider or gateway. anthropic, gpt, gemini, and grok also work. |
provider:proxy | Exactly this provider |
family:google | The model's maker, written out |
anthropic/*, proxy/gpt-* | The full model id, with * wildcards |
*sonnet*, gpt-5* | The model name, with * wildcards |
agent:<name> | A custom agent (--agent, /agent) |
/instructions shows a for: row under each enabled file. Press Enter to cycle through Everyone, Claude, OpenAI, and Gemini, or type /instructions route <file> <all|claude|openai|google>. The desktop app has the same choice next to each switch. A file that is on but not for the current model is marked _not for this model_. Project settings override global ones.
PrivacyLink to this section
Stop the agent from reading certain files:
/privacy add .env
/privacy add secrets/**Some files are always blocked, including .env, .pem files, credentials, id_rsa, .npmrc, .netrc, shadow, and passwd.
A repository's own configLink to this section
A repository's .empryo/config.json loads in full when you open it: its mcpServers, providers, presets, extraBody and hook files included. Those can start programs on your machine and send requests to other servers, so read the file before you open a repository you did not write.
Passing credentials to commandsLink to this section
Commands the agent runs (the shell tool, background jobs and orchestration shell steps) get a filtered copy of Empryo's environment: PATH, HOME, locale, toolchain and terminal variables, never tokens, keys or passwords. A variable you exported before starting Empryo, such as NODE_AUTH_TOKEN, does not reach them, and exporting it again or restarting does not change that.
The simplest fix needs no setting: put the credential in the tool's own file, such as ~/.npmrc. Commands can use it, and the agent cannot read it.
To pass a variable from your environment instead, add a rule to forwardEnv in ~/.empryo/config.json. Each rule names the variables and the programs that may receive them:
{
"forwardEnv": [{ "env": ["NODE_AUTH_TOKEN"], "commands": ["npm", "pnpm", "yarn"] }]
}- Global only. A repository's
.empryo/config.jsoncannot setforwardEnv, and the settings tool cannot change it. Edit the file yourself. - Only the programs you name. The variable is passed only when every program in the command is in the rule and is found outside the project, with plain
cdsteps allowed in between:npm ciorcd web && pnpm installget it.npm ci && curl …,sh -c …,env npm …,npx …,./script, a leadingVAR=value, quotes,$,%,~, globs, backticks,(,{,<or>,-c,-eor-pstyle arguments, and a file with the program's name inside the project do not. - Package commands only. For package managers, only built-in subcommands that never fall back to a
package.jsonscript, in any supported version, pass it. npm:ci,install,i,add,update,up,uninstall,remove,rm,un,view,info,show,whoami,ping,ls,list,outdated,audit,publish,pack,dedupe. pnpm:install,i,add,update,up,remove,rm,uninstall,un,publish. Yarn: plainyarn,install,add,remove,pack. Bun:install,i,add,update,remove,rm. Anything else, such asrun,exec,dlx,x,create,initor a script name, does not. - Never shown to the model. The value goes into the program's environment, not its arguments. Where it appears in command output, background job logs, saved command output or error reports, it is replaced with
[redacted NODE_AUTH_TOKEN]. That holds for every command while the variable is set, including ones that never receive it but print it, such ascaton a file that holds the token. Logs are cleaned as they are written, so a log read while the command runs, or left behind by a crash, never holds the value. - At least 8 characters. Shorter values cannot be reliably hidden in output, so they are never passed.
- Explained when it is missing. When a package manager fails and your
.npmrc,.yarnrc.ymlorbunfig.tomluses a variable that is set but not passed, the error names the variable and this setting.
Passing every secret to the shellLink to this section
To let shell tool commands see your credentials as a terminal would, turn on Pass secrets to the shell in the Privacy tab (/privacy in the desktop app), or run /privacy secrets on in the terminal app. It sets "shellSecretPassthrough": true in ~/.empryo/config.json; /privacy secrets off turns it back off.
- Everything credential-shaped. Tokens, keys, passwords and proxy logins from Empryo's environment and from the startup files of the shell the command runs in, such as
export VERCEL_TOKEN=…or a plainDEPLOY_KEY=…in~/.zshrc, reach every shell tool command. Variables named in aforwardEnvrule are passed too. Commands run in your own shell with your aliases, sovercel deployworks as it does in your terminal. - Startup files see your environment. With the switch on, your startup files run with your inherited credentials, so
export DEPLOY_TOKEN=${DEPLOY_TOKEN:-…}keeps the real token. - Saved setup files stay filtered. Definitions containing known credentials, including short tokens and quoted aliases, stay in memory instead of the saved shell setup. Only switch-on commands restore those definitions. The eight-character limit applies to output redaction, not to excluding credentials when the switch is off.
- PowerShell profiles run once. Empryo captures profile state privately, then launches the command with
-NoProfileand replays that same state. With the switch off, credentials and authenticated proxy URLs are excluded. With it on, generated tokens are registered for redaction before execution; the profile cannot generate or print a different token in a second startup. - Windows session credentials win. Values inherited by Empryo take priority over persisted registry values, including differently cased variable names. The registry only fills missing credentials.
- Global only. A repository's
.empryo/config.jsonand presets cannot set it, and the settings tool cannot change it. - Hidden in output. Values of 8 characters or more are replaced with
[redacted NAME]in command output and logs. Shorter values are passed but cannot be hidden.
Environment variablesLink to this section
| Variable | Default | What it does |
|---|---|---|
EMPRYO_NO_GENOME | unset | Skip the Genome scan at startup. |
EMPRYO_HEAVY_WORK_SLOTS | heavyWork.slots | Heavy commands that may run at once on this machine, overriding heavyWork.slots for this run. 0 turns the queue off. A command holding a slot passes EMPRYO_HEAVY_WORK_HELD to everything it starts, so an engine or test it launches never waits behind it. A slot whose holder stops renewing it for 20 seconds (killed, stopped, asleep) is freed. |
EMPRYO_GENOME_SCAN_SLOTS | a quarter of the CPU cores, 1 to 3 | How many projects build a large index at the same time on this machine. Others wait their turn and show "Queued to index". A project you send a message in skips the line. 0 turns the queue off. See many projects at once. |
EMPRYO_MAX_OUTPUT_TOKENS | unset | Output-token cap. When set, it wins over performance.maxOutputTokens and over the model's own listed limit. Unset, Empryo uses the limit from the provider's live listing or models.dev, else 64000. Every request is also capped at the context window minus the input, so a listed limit as large as the window never makes the provider refuse the call. |
EMPRYO_PRESETS | unset | Presets to load at startup, separated by commas. --plugin sets this. See presets. |
EMPRYO_NO_PROMPT | unset | Set to 1 to skip the first-run add-on prompt. Useful in CI. |
EMPRYO_NO_PHONE | unset | Set to 1 to keep this run away from phone access: it will not join, start or change it, and nothing it does reaches your paired phones. The desktop app sets it by itself for a test run (EMPRYO_E2E=1) that uses your own home folder. |
EMPRYO_TELEMETRY | unset | Set to 0 to turn off anonymous usage counts. |
EMPRYO_PYTHON_KERNEL | unset | Set to 1 to turn on the Python kernel for one run. |
EMPRYO_PROXY_VERSION | latest | Install a specific version of the proxy add-on. |
EMPRYO_AUTO_INSTALL_ADDONS | unset | Add-ons to install automatically, such as proxy,neovim. |
EMPRYO_MEMORY_LIMIT_MB | 1536 | Memory limit for Empryo itself. Above it, memory-heavy analysis such as type-aware diagnostics is skipped. |
EMPRYO_TREE_MEMORY_LIMIT_MB | 4096 | Memory limit for Empryo plus the programs it started, mostly language servers. |
EMPRYO_LSP_IDLE_MS | 180000 | How long an unused language server keeps running before it stops. Lower it on a machine with little memory. Raise it if you switch between languages often. |
EMPRYO_LSP_MAX_CLIENTS | 6 | How many language servers can run at once. Past this, the least recently used one stops. |
EMPRYO_NO_MOTION | unset | Set to 1 to turn off animations in the terminal UI. NO_MOTION works too. |
EMPRYO_NO_IMAGE_RESIZE | unset | Set to 1 to send image attachments at full size. |
EMPRYO_THINKING_BINDING | unset | error makes Claude check earlier thinking the way it does for accounts created on or after 31 August 2026, so you can see what those users see. drop_block asks Claude to drop earlier thinking that no longer matches the conversation. Unset, Empryo resends a request Claude refused over earlier thinking with that thinking dropped. |
EMPRYO_THINKING_DROP_LOG | <configDir>/logs/thinking-drops.jsonl | Where Empryo records each time Claude drops or flags earlier thinking because something before it changed: how many blocks, from which message, and what changed. Claude reports this on requests to the Anthropic API. |
EMPRYO_APPEND_ONLY_INSTRUCTIONS | unset | 0 turns append-only instructions off for this run, whatever agentFeatures.appendOnlyInstructions says: an instruction-file edit then rewrites the system prompt at the next agent rebuild, as before. |
EMPRYO_REDACT_KNOWN_SECRETS | unset | 1 hides secret values from the model for this run and 0 shows them, whatever agentFeatures.redactKnownSecrets says. |
EMPRYO_TURN_AUDIT | unset | 0 turns the end-of-turn finish check off and 1 turns it on, whatever agentFeatures.turnAudit says. |
EMPRYO_SCRIPT_LLM | unset | 0 removes api.llm from code_script: the agent reads every file into its own context instead of asking a cheaper model. |
EMPRYO_SCRIPT_MODEL | the spark route, else Claude Haiku 5.5 next to a Claude model, else the tab's model | The model api.llm asks inside code_script. Each script may make 50 calls or spend $0.50. |
EMPRYO_SCRIPT_MODEL_HOURLY_USD | 5 | Most a tab may spend on api.llm calls in one clock hour; calls past it return null and the script's footer says why. |
EMPRYO_TOOL_LEDGER | <configDir>/tool-ledger.json | Where Empryo records which tools each turn used, per surface and model family (the last 120 turns). off, 0, false or no stops recording. |
EMPRYO_LEARNED_RESIDENCY | agentFeatures.learnedResidency | After 30 recorded turns, tools that surface and model family used in fewer than 1% of the last 120 turns move behind tool_search, which shrinks every request. Core tools such as read, grep, the edit tools, shell and project never move. 1 turns it on everywhere, 0 turns it off. |
EMPRYO_UNFINISHED_NUDGE | agentFeatures.finishNudge | A turn whose final answer lists work in unfinished continues up to twice instead of stopping. 0, off, false or no turns it off, everywhere also continues turns where you are present, any other value continues headless runs only. |
EMPRYO_EDIT_ECHOES | agentFeatures.editEchoes | 1 lists leftover sites after edits for this run, 0 turns it off. |
EMPRYO_PROMPT_MAP | agentFeatures.requestMap | 1 shapes the session's first code map by the first request for this run, 0 turns it off. |
EMPRYO_PROMPT_TERMS | agentFeatures.requestMap | v1 ranks files by the request's words with the newer matcher for this run; any other value keeps the older matcher. |
EMPRYO_MAP_SUSPECTS | agentFeatures.requestMap | 1 names the likely files at the top of the code map for this run, 0 leaves them out. |
EMPRYO_FIX_PRIOR | agentFeatures.fixHistory (weight 60) | A positive number weights fix history in the code map for this run; 0 turns it off. |
EMPRYO_HINT_FIX_GATE | agentFeatures.fixHistory | 1 keeps only co-change hints whose partner often needed fixes, for this run; 0 keeps them all. |
EMPRYO_CODE_MODE | agentFeatures.codeMode | example or explore sets code mode for budget models for this run; any other value turns it off. |
EMPRYO_GREP_BUDGET | unset | A line count. Grouped grep context shows every file's first match block before any second one, keeps blocks whole and says what it cut. Unset, the output is unchanged. |
EMPRYO_PREFIX_DIGEST_LOG | unset | A file path. Each request appends one JSON line with hashes of its system prompt and tool list, so you can tell a prompt change from a cache expiry. |
EMPRYO_STREAM_CADENCE | on | After 50 pieces of a reply, a stream that goes fully silent for 120 s (or 10 times its longest gap so far) is treated as stalled and retried. Set to off to wait for the full idle limit instead. |
MorphsLink to this section
Morphs are panels and boards you build in the desktop app. A morph can also give the agent rules and lookups, which Empryo calls its cells. These settings are read from your global config only, so a repository cannot loosen them. See Morphs.
| Key | Values | What it does |
|---|---|---|
cells.reach | "morph" (default), "all" | Which sessions can use morphs. "morph": only tabs in morph mode. "all": every session. |
cells.views | "any" (default), "signed", "off" | Whether a morph's own display code may run. "signed": only morphs signed by Empryo or by a key in trustedKeys. "off": never. |
cells.autoApprove | false (default), true | Skip the approval step for morphs you wrote yourself. |
cells.requireSigned | "official", "trusted", "any" | Only allow signed morphs. |
cells.trustedKeys | Ed25519 public keys, base64 | Your organization's signing keys, for "trusted". |
cells.directories | URLs to index.json files | Your organization's own morph directories. |
A morph you hide from the agent on its card stays hidden, whatever reach says.
HooksLink to this section
See hooks. Empryo reads hooks from five places: Claude Code's three settings files and Empryo's two config files. Every matching hook runs.
StorageLink to this section
/storage shows how much disk space each part of Empryo uses (Genome, sessions, plans, memory, input history, binaries, fonts) and lets you clean it up.
Which setting winsLink to this section
Session, then project, then global. A command saves to whichever scope it targets. Use /model-scope to save the current model for the project or for everywhere.