Skip to content

Configuration

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

Settings are per-instance, under the unified data layout:

ModePath
Installed / Portable~/.agentmux/versions/<version>/config/settings.json
Dev (task dev)~/.agentmux/dev/<branch>/config/settings.json

Override the ~/.agentmux/ root with the AGENTMUX_HOME_OVERRIDE environment variable (intended for tests). See Settings Reference and Multi-instance & dev mode for the full layout.

{
// Enable window transparency (requires compositor support on Linux)
"window:transparent": false,
// Window opacity (0.0 - 1.0, only when transparency is enabled)
"window:opacity": 1.0,
// Restore last window size and position on launch
"window:savelastwindow": true
}
{
// Path to the shell binary
"term:localshellpath": "/bin/bash",
// Font family for terminal panes
"term:fontfamily": "JetBrains Mono",
// Font size in pixels
"term:fontsize": 12,
// Terminal color theme
"term:theme": "default-dark"
}
{
// AgentMux collects zero telemetry by default
// This setting exists for future opt-in analytics
"telemetry:enabled": false
}

AgentMux respects these environment variables:

VariablePurpose
AGENTMUX_HOME_OVERRIDEOverride the ~/.agentmux/ root (intended for tests)
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
CLAUDE_API_KEYAPI key for Claude agent panes
OPENAI_API_KEYAPI key for Codex agent panes
GEMINI_API_KEYAPI key for Gemini agent panes

MCP servers are configured per-agent in a Memory bundle (cog → settings → Memory inside an agent pane), not in settings.json. The agent runtime materializes the bundle’s mcp_servers field into the agent’s .mcp.json at launch and the AgentMux MCP server is auto-injected alongside any user-defined entries.

See Memory bundles for the full bundle schema (including the mcp_servers field).