Skip to content

Settings Reference

Complete reference for all AgentMux settings. Settings are stored in settings.json and can be edited via the Settings UI (Cmd+, / Alt+,) or directly in the file.

PlatformPath
Windows%APPDATA%\agentmux\settings.json
macOS~/Library/Application Support/agentmux/settings.json
Linux~/.config/agentmux/settings.json

Override with the AGENTMUX_HOME environment variable.

SettingTypeDefaultDescription
term:fontsizenumber12Font size in pixels
term:fontfamilystring"JetBrains Mono"Font family
term:themestring"default-dark"Terminal color theme
term:scrollbacknumber1000Scrollback buffer lines
term:copyonselectbooleantrueAuto-copy text on selection
term:transparencynumber0.5Pane transparency (0.0–1.0)
term:localshellpathstring"/bin/bash"Default shell executable
term:localshelloptsarray[]Shell launch arguments
term:disablewebglbooleanfalseDisable WebGL renderer (falls back to Canvas)
term:allowbracketedpastebooleantrueEnable bracketed paste mode
term:shiftenternewlinebooleanfalseShift+Enter creates newline
SettingTypeDefaultDescription
ai:presetstring""Named AI preset ID
ai:apitypestring"anthropic"API provider type
ai:baseurlstring""Custom API endpoint URL
ai:apitokenstring""Authentication token
ai:modelstring"claude-sonnet-4-6"Model identifier
ai:maxtokensnumber4096Max completion tokens
ai:timeoutmsnumber60000Request timeout in milliseconds
ai:fontsizenumber14AI pane font size
ai:fixedfontsizenumber14Code block font size in AI pane
SettingTypeDefaultDescription
editor:fontsizenumber14Editor font size
editor:minimapenabledbooleanfalseShow minimap
editor:stickyscrollenabledbooleanfalseEnable sticky scroll
editor:wordwrapbooleantrueWord wrap
SettingTypeDefaultDescription
window:transparentbooleanfalseEnable window transparency
window:blurbooleanfalseBlur background (macOS only)
window:opacitynumber1.0Window opacity (0.0–1.0)
window:bgcolorstring""Custom background color
window:zoomnumber1.0Global zoom factor
window:tilegapsizenumber3Gap between panes in pixels
window:showmenubarbooleanfalseShow native menu bar
window:nativetitlebarbooleanfalseUse native title bar
window:confirmclosebooleanfalseConfirm before closing window
window:savelastwindowbooleantrueRestore last window size and position
window:dimensionsstring""Saved window dimensions (WxH)
window:reducedmotionbooleanfalseReduce animations
window:magnifiedblockopacitynumber0.6Opacity of background when a pane is magnified
window:magnifiedblocksizenumber0.9Size of magnified pane (0.0–1.0)
window:maxtabcachesizenumber10Maximum cached tabs
window:disablehardwareaccelerationbooleanfalseDisable GPU acceleration
SettingTypeDefaultDescription
app:globalhotkeystring""Global activation hotkey
app:defaultnewblockstring""Default pane type for new blocks
app:showoverlayblocknumsbooleanfalseShow block numbers as overlay
SettingTypeDefaultDescription
cmd:envobject{}Environment variables passed to all shell processes
SettingTypeDefaultDescription
autoupdate:enabledbooleantrueCheck for updates automatically
autoupdate:installonquitbooleantrueInstall updates when quitting
autoupdate:channelstring"latest"Release channel
SettingTypeDefaultDescription
telemetry:enabledbooleantrueEnable telemetry collection
telemetry:intervalnumber1.0Metrics collection interval in seconds
telemetry:numpointsnumber120Number of history data points to track
SettingTypeDefaultDescription
conn:wshenabledbooleantrueEnable wsh shell integration on remote connections
conn:askbeforewshinstallbooleantruePrompt before installing wsh on remote hosts
SettingTypeDefaultDescription
widget:showhelpbooleantrueShow help widget in top bar
widget:icononlybooleanfalseIcon-only widget bar (no labels)
blockheader:showblockidsbooleanfalseDisplay block IDs in pane headers
markdown:fontsizenumber14Font size for markdown rendering
preview:showhiddenfilesbooleanfalseShow hidden files in file previews
tab:presetstring""Default tab layout preset
SettingTypeDefaultDescription
mcp:serversobject{}Global MCP server configuration
{
"mcp:servers": {
"server-name": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-name", "/path"],
"env": {
"KEY": "value"
}
}
}
}

Per-agent MCP configuration in The Forge overrides global settings.

AgentMux respects these environment variables:

VariablePurpose
AGENTMUX_HOMEOverride the config directory path
AGENTMUX_DEVEnable development mode (uses ~/.agentmux-dev/)
CLAUDE_API_KEYAPI key for Claude agent panes
OPENAI_API_KEYAPI key for Codex agent panes
GEMINI_API_KEYAPI key for Gemini agent panes
PurposeDevelopmentProduction
Config~/.agentmux-dev/~/.agentmux/
Logs~/.agentmux-dev/agentmux.log~/.agentmux/agentmux.log
Database~/.agentmux-dev/agentmux.db~/.agentmux/agentmux.db