Skip to content

Configuration

AgentMux stores its configuration in a JSON settings file. You can edit it directly or through the Settings UI (Ctrl+, / ⌘,).

Open raw settings.json at the bottom of the Settings pane, or Open Settings File in the command palette, opens the file the running AgentMux reads. Where it is depends on the channel: the stable channel keeps one settings.json for every stable version, in the channels folder under AgentMux’s data folder (beside the channel folders, not inside one); every other channel, such as a task dev build or a locally-packaged build, keeps its own in that channel’s config folder. The settings.json reference has the overrides.

A build’s channel is stable by default for Installed and downloaded Portable builds, local-<branch> for locally-packaged builds, or whatever AGENTMUX_CHANNEL=<name> overrides to. Dev mode keys on the git branch plus a per-clone hash so two checkouts of the same branch don’t collide. Override the ~/.agentmux/ root with AGENTMUX_HOME_OVERRIDE. See Multi-instance & dev mode for the full layout.

{
// Default theme for windows without their own (the AgentMux logo menu sets one window's)
"window:theme": "default",
// Make windows see-through by default
"window:transparent": false,
// Default opacity for windows without their own, used while window:transparent is on
// (0.8 when unset)
"window:opacity": 0.8
}

Theme and opacity are set per window from the AgentMux logo menu; these keys are the defaults. See Window appearance.

{
// The shell new local terminals open with: a full path or a name on PATH.
// Unset: chosen for the platform (pwsh, else powershell, else cmd on Windows;
// $SHELL, else /bin/bash on macOS and Linux). Settings ▸ Terminal ▸ Default shell
// lists the shells installed on this machine.
"term:localshellpath": "/bin/zsh",
// Font family for terminal panes (default "Hack")
"term:fontfamily": "Hack",
// Font size in pixels (default 15)
"term:fontsize": 15,
// Terminal color theme
"term:theme": "default-dark"
}
{
// Seconds between samples in the Sysinfo pane (local only; nothing is sent anywhere)
"telemetry:interval": 1.0,
// How many samples the Sysinfo charts keep (30-1024)
"telemetry:numpoints": 120
}

AgentMux respects these environment variables:

VariablePurpose
AGENTMUX_HOME_OVERRIDEOverride the ~/.agentmux/ root (used by tests and by task dev)
AGENTMUX_RUNTIME_MODESet by the launcher; consumers read it to know they’re running installed/portable/dev
AGENTMUX_DATA_DIR, AGENTMUX_CONFIG_DIR, AGENTMUX_LOG_DIR, …Per-instance paths exported by the launcher; never set these manually

Provider API keys are not settings or environment variables here: you add them as accounts in Connectors → Accounts (see Auth flows).

MCP servers are configured per-agent, not in settings.json: you bind a server to an agent in Connectors → MCP servers. The agent runtime writes the agent’s servers into its .mcp.json at launch and the AgentMux MCP server is auto-injected alongside any user-defined entries.

See Connectors for binding servers to agents.