Configuration
AgentMux stores its configuration in a JSON settings file. You can edit it directly or through the Settings UI (Ctrl+, / Cmd+,).
Settings File Location
Section titled “Settings File Location”Settings are per-instance, under the unified data layout:
| Mode | Path |
|---|---|
| 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.
Core Settings
Section titled “Core Settings”Window
Section titled “Window”{ // 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}Terminal
Section titled “Terminal”{ // 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"}Telemetry
Section titled “Telemetry”{ // AgentMux collects zero telemetry by default // This setting exists for future opt-in analytics "telemetry:enabled": false}Environment Variables
Section titled “Environment Variables”AgentMux respects these environment variables:
| Variable | Purpose |
|---|---|
AGENTMUX_HOME_OVERRIDE | Override the ~/.agentmux/ root (intended for tests) |
AGENTMUX_RUNTIME_MODE | Set 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_KEY | API key for Claude agent panes |
OPENAI_API_KEY | API key for Codex agent panes |
GEMINI_API_KEY | API key for Gemini agent panes |
MCP Server Configuration
Section titled “MCP Server Configuration”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).
See Also
Section titled “See Also”- Keybindings — Customize keyboard shortcuts
- Settings Reference — Complete settings list
- Memory bundles — Per-agent configuration