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+,).

PlatformPath
Windows%APPDATA%\agentmux\settings.json
macOS~/Library/Application Support/agentmux/settings.json
Linux~/.config/agentmux/settings.json
{
// Enable window transparency (requires compositor support on Linux)
"window:transparency": false,
// Window opacity (0.0 - 1.0, only when transparency is enabled)
"window:opacity": 1.0,
// Remember window position and size across sessions
"window:saveposition": true
}
{
// Default shell (auto-detected if not set)
"term:shell": "",
// Font family for terminal panes
"term:fontfamily": "JetBrains Mono, Cascadia Code, monospace",
// Font size in pixels
"term:fontsize": 13,
// Terminal theme
"term:theme": "dark"
}
{
// Default agent provider (claude, codex, gemini)
"agent:defaultprovider": "claude",
// Show tool calls in real time
"agent:showtoolcalls": true,
// Show file diff overlay for agent file writes
"agent:showdiffs": true,
// Auto-scroll agent output
"agent:autoscroll": true
}
{
// AgentMux collects zero telemetry by default
// This setting exists for future opt-in analytics
"telemetry:enabled": false
}

AgentMux respects these environment variables:

VariablePurpose
AGENTMUX_HOMEOverride config directory
AGENTMUX_DEVEnable development mode
CLAUDE_API_KEYAPI key for Claude agent panes
OPENAI_API_KEYAPI key for Codex agent panes
GEMINI_API_KEYAPI key for Gemini agent panes

AgentMux supports Model Context Protocol (MCP) servers for extending agent capabilities. Configure them per-agent in The Forge or globally in settings:

{
"mcp:servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."
}
}
}
}