Configuration

Every config.toml key, its type and default.

Generated Tracks the alpha branch, so it can be ahead of the release you have installed.

On this page

Plexi reads config.toml from the active channel profile. Alpha uses ~/.plexi-alpha/config.toml, beta uses ~/.plexi-beta/config.toml, main uses ~/.plexi/config.toml, and PR builds use ~/.plexi-pr-<N>/config.toml.

Changes take effect on the next launch unless a command says otherwise.

Channel discipline

Existing configuration is preserved on every channel when Plexi is installed or upgraded. A fresh channel starts with the built-in template.

Beta is the staging channel for testing migrations and settings before promoting a release.

PR builds are isolated. A PR build reads ~/.plexi-pr-<N>/config.toml; use the plexi-pr-<N> binary when checking a PR-specific config behavior.

Commands

plexi config edit
plexi config check
plexi config reset

config edit opens the active channel config. config check validates known keys and TOML syntax. config reset backs up the current file to config.toml.bak, then writes the built-in default template.

A key with a wrong value type, a retired key, or an unknown key never discards the rest of the file: Plexi logs an error naming the file and key to plexi.log, skips that key, and loads every other setting. config check, and the Config Error notification shown when a saved config reloads, list the same keys. Only a TOML syntax error ignores the whole file.

Reference

Top-level (config.toml)

FieldTypeDefaultDescription
core_onlybool—Disable all plugins for this host session. Profile-only; restart required.
config_versioninteger——
font_sizefloat——
ui_scalefloat1.0App-wide UI scale (browser-style zoom). Default 1.0; clamped on use.
pane_gapfloat4.0Inter-pane gap width in pixels. Default: 4.0. Clamped to [0.0, 20.0].
pane_corner_radiusu86Pane corner radius in points. Default: 6 (the shared pane style token).
pane_title_font_sizefloat11.0Pane title bar font size. Default: 11.0. Clamped to [6.0, 32.0].
osc_pane_titlebooltrueApply OSC 0/1/2 title sequences from terminal processes as pane names. Defaults to true; set false to keep terminal pane names manual-only.
theme_presetstring——
attentionAttentionConfig——
confirm_quitbooltrueSet to false to quit immediately on Cmd+Q without triple-press confirmation (default: true).
confirm_closebooltrueSet to false to close panes immediately on Cmd+W without a confirmation dialog (default: true).
confirm_context_closebooltrueSet to false to close contexts immediately on Cmd+Shift+W without a confirmation dialog (default: true).
focus_history_depthinteger——
cloudCloudConfig—Optional cloud link ([cloud]). Local use never reads this. See [CloudConfig].

Theme ([theme])

Pick a preset and optionally override individual colors. Individual color fields override preset values when both are set.

Available presets: catppuccin-mocha, catppuccin-latte, dracula, tokyo-night, tokyo-day, gruvbox-dark, gruvbox-light, nord, solarized-dark, solarized-light, matrix, bios, plexi-night, plexi-dusk, plexi-dawn, plexi-day.

FieldTypeDefaultDescription
presetstring—Theme preset name. Applied first; individual color fields override the preset.
state_presetstringokabe-itoAgent states: default, okabe-ito, high-contrast, mono. Default: okabe-ito.
state_workingstring——
state_waitingstring——
state_blockedstring——
state_needs_youstring——
state_interruptedstring——
state_errorstring——
bg_darkeststring——
bg_sidebarstring——
bg_toolbarstring——
terminal_bgstring——
bg_hoverstring——
bg_sidebar_hoverstring——
bg_activestring——
text_primarystring——
text_dimstring——
text_sectionstring——
accentstring——
borderstring——
foregroundstring——
backgroundstring——
blackstring——
redstring——
greenstring——
yellowstring——
bluestring——
magentastring——
cyanstring——
whitestring——
bright_blackstring——
bright_redstring——
bright_greenstring——
bright_yellowstring——
bright_bluestring——
bright_magentastring——
bright_cyanstring——
bright_whitestring——
bright_foregroundstring——
pip_workingstring——
pip_idlestring——
pip_blockedstring——
pip_dimfloat——

Effects ([effects])

FieldTypeDefaultDescription
crtbool——
ghostbool——
ghost_opacityfloat0.75Opacity for unfocused panes when ghost is enabled. Range 0.0–1.0; default 0.75. Setting this implies ghost = true unless ghost = false is explicit.

Terminal ([terminal])

minimum_contrast keeps text readable on every theme. Each text cell’s foreground is checked against its background and, when the WCAG contrast ratio is below the minimum, moved toward black or white by the smallest amount that reaches it. Hidden text stays hidden, and emoji and images are untouched. Applies live on config reload.

FieldTypeDefaultDescription
minimum_contrastfloat3.0Minimum WCAG contrast ratio between each text cell’s foreground and its background, 1.0 to 21.0. Colors programs choose for themselves are moved toward black or white until they reach it. 1.0 turns the adjustment off. Default 3.0. Applies live on config reload.

Log ([log])

level accepts error, warn, info, or debug. Applies live on config save — no restart required.

FieldTypeDefaultDescription
levelstring——
retention_daysinteger——

Notifications ([notifications])

Visible notifications open the modal unless focus_mode is enabled. There is one notification level.

FieldTypeDefaultDescription
enabledbooltrueMaster switch. If false, incoming notifications are silently dropped — plugins still send them, but the modal never appears and the queue stays empty. Defaults to true.
focus_modeboolfalseFocus mode. When true, no notification auto-surfaces. Everything queues silently; the user reviews via Cmd+Shift+A. Defaults to false.
soundstring—Path to an audio file (WAV, MP3, FLAC, OGG) played once when a notification arrives, so an agent waiting on input can pull a human back while Plexi is in the background. Unset (the default) means no sound; an explicitly empty string also means no sound, so a workspace overlay can set sound = "" to silence a globally configured cue. The cue only fires for a notification that may interrupt: enabled = false drops it before the cue, focus_mode = true suppresses it, and an invisible notification arrives silently.

AI ([ai])

API keys are NOT stored in config.toml. Export OPENROUTER_API_KEY in your shell profile (~/.zshrc, ~/.zprofile, etc.), or store it in the Plexi secret store:

plexi secret set openrouter-api-key --global
FieldTypeDefaultDescription
per_plugin_daily_usdfloat$1.00Per-plugin daily spend cap in USD. Default $1.00.
global_daily_usdfloat$10.00Global daily spend cap across all plugins in USD. Default $10.00.
clientstring—Default ledger client tag for Assistant and agent runs that do not set one. Free-form (narrative, du, personal). A blank or missing value leaves the row’s client null.

Model modes ([models.fast], [models.slow])

pi-plexi and the host AI broker read resolved targets with plexi config get --json models. Each field is optional and falls back to the built-in default independently. OpenRouter keys use the existing OPENROUTER_API_KEY secret lookup.

FieldTypeDefaultDescription
providerstring—Model registry provider. Must be non-empty and contain no whitespace.
modelstring—Provider model identifier. Must be non-empty and contain no whitespace.
thinkingstring—Pi thinking level: off, minimal, low, medium, high, or xhigh.

Agents ([agents])

Command templates for dispatching coding agents. {cmd} is replaced with the prompt or slash command at dispatch time.

FieldTypeDefaultDescription
os_notificationsbool—Raise silent macOS attention notifications while Plexi is unfocused (default true). Uses provisional authorization without a permission dialog; enable banners in macOS notification settings if desired. Disabled in tests; other platforms log only.
stalled_after_secsinteger—Idle ephemeral worker stall threshold in seconds (default 120).
stale_failure_hoursinteger—Age threshold in hours after which failed runs collapse into the older fleet group (default 12).
lowstringclaude haiku with —dangerously-skip-permissionsFast/cheap tasks. Default: claude haiku with —dangerously-skip-permissions.
mediumstringclaude sonnet with —dangerously-skip-permissionsStandard work. Default: claude sonnet with —dangerously-skip-permissions.
highstringclaude with —dangerously-skip-permissionsComplex/autonomous tasks. Default: claude with —dangerously-skip-permissions.
restore_modeAgentRestoreMode—Startup restoration mode for saved agent sessions: "lazy" (default), "eager", or "off".
standby_scrollback_linesinteger—Number of scrollback lines saved for a lazy-restored Standby pane (default 20).

Keybindings ([keybindings])

Omitted keys keep their defaults. plexi config check reports chord conflicts. The legacy name force_reload_plugin still maps to force_reload_view.

In the command palette, open a result’s Actions menu and choose Assign shortcut in config. The editor shows the command ID to set under [keybindings]. The same IDs work in workspace config.

Modifier keys: cmd (alias: command), shift, ctrl (alias: control), alt (aliases: opt, option).

Key names: a–z, 0–9, enter, escape, tab, space, backspace, delete, up, down, left, right, open_bracket, close_bracket, backslash, slash, comma, period, equals, minus.

Each value is a string like "cmd+p" or "cmd+shift+w".

Command IDDescription
quitQuit the application using the configured confirmation
close_paneClose the focused pane (dismisses overlays and view back-stacks first)
toggle_command_paletteCommand palette
open_quick_noteCapture a note in the current context
open_agentsReview tasks, workers and blocking reasons
next_blocked_agentFocus the next agent that needs attention
focus_approvalFocus the permission banner for a keyboard decision
toggle_attention_queueOpen or close the attention queue list
zoom_inWrap selected panes, enter a portal, or toggle pane zoom
context_zoom_outClose the open overlay, else return to the parent context
close_contextClose the selected context (confirmation required)
split_verticalOpen a new terminal below
split_horizontalOpen a new terminal to the right
swap_pane_leftSwap the focused pane with its neighbor left
swap_pane_downSwap the focused pane with its neighbor down
swap_pane_upSwap the focused pane with its neighbor up
swap_pane_rightSwap the focused pane with its neighbor right
send_pane_leftMove the focused pane without following it left
send_pane_downMove the focused pane without following it down
send_pane_upMove the focused pane without following it up
send_pane_rightMove the focused pane without following it right
new_tabCreate a new tab in the selected context
next_tabFocus the next tab
prev_tabFocus the previous tab
move_context_upMove the active context up in the sidebar
move_context_downMove the active context down in the sidebar
navigate_leftMove focus left
navigate_downMove focus down
navigate_upMove focus up
navigate_rightMove focus right
toggle_sidebarShow or hide the context sidebar
toggle_zoomZoom or restore the selected pane (dives into an agent’s children first)
toggle_shortcutsShow keyboard shortcuts reference
rename_contextRename the selected context
rename_paneRename the selected pane
split_downSplit down: a new terminal, or a new copy of the focused view
split_rightSplit right: a new terminal, or a new copy of the focused view
push_to_subcontextMove the focused pane into a new child context
new_child_contextCreate and enter an empty child context
new_contextCreate a new context
new_page_rightCreate a new window in the current context
toggle_minimapShow or hide the pane minimap
scroll_upScroll the focused pane up
scroll_downScroll the focused pane down
increase_font_sizeMake the focused pane’s text larger
decrease_font_sizeMake the focused pane’s text smaller
reset_font_sizeRestore the focused pane’s text size to default
ui_scale_upMake the whole interface larger
ui_scale_downMake the whole interface smaller
ui_scale_resetRestore the interface to 100%
open_file_browserBrowse files and directories in the focused context
open_configChoose a global or workspace config to edit
reload_configReload global and active-workspace configuration
open_secrets_managerManage scoped credentials, usage and grants
open_assistantOpen or focus the Plexi Assistant
force_reload_viewRestart the focused process-backed view
set_context_root_from_cwdUse the focused pane’s current directory as the context root
park_contextPark or restore the selected context
open_scratchpadOpen a fresh scratch note editor
open_notes_pickerOpen the notes picker for global and context notes
next_contextFocus the next context
prev_contextFocus the previous context
nav_backGo back in pane navigation or focus history
focus_history_forwardReturn to the next pane in focus history
select_pane_leftExtend the selection left
select_pane_downExtend the selection down
select_pane_upExtend the selection up
select_pane_rightExtend the selection right
open_changelogShow what changed in this version
open_global_configEdit the channel-wide Plexi config file
open_workspace_configEdit config for the active workspace scope
state_preset_defaultApply agent state colors; shapes always identify the state
state_preset_okabe_itoApply agent state colors; shapes always identify the state
state_preset_high_contrastApply agent state colors; shapes always identify the state
state_preset_monoApply agent state colors; shapes always identify the state
edit_commandsEdit commands.toml for the active workspace or global profile
switch_commands_scopeSwitch commands editor between workspace and global scope
open_attentionOpen the attention queue for approvals, questions and host notices
setup_cliInstall the ~/.local/bin launcher, completions, and PATH registration
ui_upcycle_gitOpen git’s curated command list and forms
ui_upcycle_cargoOpen cargo’s curated command list and forms
ui_upcycle_ghOpen gh’s curated command list and forms
check_for_updatesLook for a newer Plexi build on this channel now
restart_to_updateRestart into the downloaded build after confirmation
close_selected_panesClose every selected pane, asking about unsaved work one pane at a time
cancel_pane_selectionClear the active window’s pane selection
switch_context_1Focus a sidebar context by its position
switch_context_2Focus a sidebar context by its position
switch_context_3Focus a sidebar context by its position
switch_context_4Focus a sidebar context by its position
switch_context_5Focus a sidebar context by its position
switch_context_6Focus a sidebar context by its position
switch_context_7Focus a sidebar context by its position
switch_context_8Focus a sidebar context by its position
switch_context_9Focus a sidebar context by its position

User command shortcuts ([keys])

Bind chords to user commands defined in ~/.plexi-<channel>/commands.toml or <repo>/.plexi-<channel>/commands.toml (~/.plexi/commands.toml and <repo>/.plexi/commands.toml on stable) using "<chord>" = "run:<name>" (for example "cmd+shift+p" = "run:play"). Keybindings resolve the workspace from the adopted/host workspace root, falling back to the active context root (run_user_command_by_name), with precedence workspace commands.toml > global commands.toml > global scripts/, and re-read commands.toml on every invocation without a restart. Reserved Plexi shortcuts are rejected by plexi config check.

CLI ([cli])

FieldTypeDefaultDescription
tipsbooltruePrint contextual tips after CLI commands. Default: true. Set to false to suppress.

Permissions ([permissions])

FieldTypeDefaultDescription
soft_grant_daysinteger30Expiry window in days for soft grants (--grant tool=allow:soft). After this window, a soft grant reverts to ask. Default: 30.

File handlers ([file_handlers])

Choose which view opens each file type from the File Explorer. Keys are bare lowercase extensions (e.g. md, not .md). Values are handler specs:

ValueBehavior
app:<id>Stored config spelling: open a plugin default view by its registry id (e.g. app:text-editor)
osHand to the OS default opener (open / xdg-open)

Any other value, including cmd:<command>, is reported as an invalid setting and ignored. A handler here overrides a plugin’s own file_types association. Unmapped extensions fall through to manifest associations, then builtin media players, then the OS default.

Marketplace ([marketplace])

Marketplace configuration is beta-gated and is not part of stable v1. Use it only in a beta or explicit worktree channel while testing publishing flows. All fields are optional.

FieldTypeDefaultDescription
registry_urlstringofficial `plexiappOverride the catalog index URL. Default: official plexiapp.com index.
cdn_urlstringofficial `plexiappOverride the package CDN base. Default: official plexiapp.com CDN.
submit_urlstring—Publisher submission endpoint. Unset = publishing prepared locally but not uploaded (fails closed with a clear message).
account_backendstring—Account/auth backend selector. "plexi" enables plexiapp.com accounts; unset / "none" = stub (login fails closed). Selects the provider in crate::app::account::account_provider().
account_urlstringcrate::app::account::DEFAULT_ACCOUNT_URLOverride the accounts service base URL. Default: crate::app::account::DEFAULT_ACCOUNT_URL (plexiapp.com).
account_emailstring—Default email pre-filled by plexi account login. Unset = prompt.

Default config.toml

This is the built-in template Plexi writes when it creates or resets the active channel config.

# Plexi Configuration — full reference: https://plexiapp.com/docs/config | docs/CONFIG.md
# Edit: plexi config edit  |  Check: plexi config check  |  Reset: plexi config reset

config_version = 1

# Start with no plugins. Profile-only; restart the host after changing.
core_only = false

font_size = 14.0
# ui_scale = 1.0               # app-wide UI scale (0.6-2.0); Cmd+= / Cmd+- / Cmd+Shift+0
# pane_gap = 4                 # inter-pane gap in pixels (0-20)
# pane_corner_radius = 6        # shared pane corner radius in points (0-255)
# pane_title_font_size = 12    # pane title bar font size (6-32)

confirm_quit  = true
confirm_close = false
confirm_context_close = true

# focus_history_depth = 100
osc_pane_title = true

[theme]
# Agent state colors retain distinct shapes in every preset.
state_preset = "okabe-ito" # default | okabe-ito | high-contrast | mono
# state_working = "#0072b2"
# state_waiting = "#e69f00"
# state_blocked = "#cc79a7"
# state_needs_you = "#d55e00"
# state_interrupted = "#009e73"
# state_error = "#f0e442"
preset = "plexi-dusk"
# Presets: catppuccin-mocha, catppuccin-latte, dracula, tokyo-night, tokyo-day, gruvbox-dark, gruvbox-light, nord, solarized-dark, solarized-light, matrix, bios, plexi-night, plexi-dusk, plexi-dawn, plexi-day
# Uncomment to override individual colors:
# accent       = "#89b4fa"
# bg_darkest   = "#11111b"
# terminal_bg  = "#292a44"
# text_primary = "#cdd6f4"
# foreground   = "#e8e6ed"

[effects]
crt           = false
ghost         = true
ghost_opacity = 0.75

[terminal]
# Lowest allowed contrast ratio (1.0-21.0) between text and its cell background.
# Colors a program picks for itself are moved toward black or white until they
# reach it. 1.0 turns it off. 3.0 is the WCAG floor for readable text.
minimum_contrast = 3.0

[notifications]
# enabled = true
# focus_mode = false
# sound = "/System/Library/Sounds/Ping.aiff"   # cue played on arrival; unset = silent

[ai]
# client = "personal"          # default AI ledger tag; a run can override it

# FAST/SLOW targets for pi-plexi and the host AI broker. Each field may be
# overridden independently; omitted fields use these defaults. OpenRouter API
# keys are resolved as OPENROUTER_API_KEY through Plexi secrets or the process.
# [models.fast]
# provider = "openrouter"
# model = "deepseek/deepseek-v4.1-flash"
# thinking = "low"             # off | minimal | low | medium | high | xhigh
# [models.slow]
# provider = "openrouter"
# model = "openai/gpt-6-astra"
# thinking = "high"

# [log]
# level = "info"               # error | warn | info | debug — applies live on save, no restart
# retention_days = 30          # dated plexi-YYYY-MM-DD.log archives. The live plexi.log stays.

# [cloud]
# Local use never needs an account. Signing in only links this desktop to
# cloud features. Unset, local ledger rows and assistant
# conversations are kept.
# retain_local_history = false

# [experiments]
# Features outside the stable v1 surface. All off by default on every channel.
# Manage with `plexi experiments list|enable|disable`. Global config only.
# assistant = true
# tree_atlas = true # Context tree overview from the root with Cmd+Escape

# Pane selection: Cmd+Shift+H/J/K/L; wrap selection: Cmd+Enter.
# Next/previous tab: Cmd+] / Cmd+[. Context/history navigation is unbound.
# [keybindings]
# open_changelog = "cmd+alt+c" # No default. Find other IDs in the palette Actions menu.
# select_pane_left = "cmd+shift+h"
# select_pane_down = "cmd+shift+j"
# select_pane_up = "cmd+shift+k"
# select_pane_right = "cmd+shift+l"
# open_agents = "cmd+alt+a"
# next_blocked_agent = "cmd+alt+b"
# focus_approval = "cmd+alt+p"
# toggle_command_palette = "cmd+p"
# open_config            = "cmd+comma"
# close_context          = "cmd+shift+w"

# [keys]
# Bind a chord to a user command from ~/.plexi-<channel>/commands.toml or
# <repo>/.plexi-<channel>/commands.toml (stable: ~/.plexi/commands.toml,
# <repo>/.plexi/commands.toml) using "<chord>" = "run:<name>":
# "cmd+shift+p" = "run:play"

[agents]
# Silent desktop attention alerts while Plexi is not focused.
os_notifications = true
stalled_after_secs = 120
stale_failure_hours = 12
low    = "claude --model claude-haiku-4-5 --dangerously-skip-permissions '{cmd}'"
medium = "claude --model claude-sonnet-4-6 --dangerously-skip-permissions '{cmd}'"
high   = "claude --dangerously-skip-permissions '{cmd}'"
# restore_mode = "lazy"        # "lazy" (active context resumes, background enters Standby), "eager", or "off"
# standby_scrollback_lines = 20 # scrollback rows saved and shown in a Standby pane

[cli]
tips = true

# [permissions]
# soft_grant_days = 30         # expiry window in days for `--grant tool=allow:soft` grants; after expiry they revert to `ask`

# [file_handlers]
# Choose which plugin opens each file type from the File Explorer (Enter / double-
# click). Keys are bare, lowercase extensions; values are `kind:value` specs:
#   "app:<id>"      stored config spelling: open a plugin default view by its registry id (e.g. text-editor)
#   "os"            hand to the OS default opener (open / xdg-open)
# A handler here overrides a plugin's own file_types association. Unmapped types
# fall through to manifest associations, then builtin media players, then the OS.
# md   = "app:text-editor"
# txt  = "app:text-editor"
# json = "app:text-editor"
# py   = "os"

[marketplace]
# Hosted plugin catalog + CDN. Defaults point at the official plexiapp.com registry,
# so leave these unset to use it. Override only to point at a private registry.
# registry_url    = "https://plexiapp.com/registry/v1/index.json"
# cdn_url         = "https://plexiapp.com/registry/v1/packages"
# Publisher submission endpoint. Unset = `plexi plugin publish` prepares the package
# locally but does not upload it.
# submit_url      = "https://plexiapp.com/registry/v1/submit"
# Account/auth backend. Unset / "none" = login/signup fail closed. An account is
# optional: local use never needs one. A session only links this desktop to
# cloud features.
# account_backend = "none"
# Accounts service host the device-flow login talks to. Defaults to plexiapp.com.
# account_url     = "https://plexiapp.com"
# Default email pre-filled by `plexi account login`.
# account_email   = "[email protected]"

[attention]
style = "normal" # off | subtle | normal | loud
intensity = 1.0 # 0.0..1.0, scales halo and border opacity
dock = "badge" # none | badge | bounce-once | bounce-until-focused