Skip to content

Pane Types

AgentMux organizes your workspace into panes — individual views that can be split, rearranged, and magnified. A pane isn’t locked to one type, though: it holds an ordered list of tabs, and any tab can be any widget type — see Pane tabs below for how that works and how it differs from a pane split.

By default the widget bar pins Agent, Swarm, Memory, Connectors, Files, Browser, Settings and Help, in that order; Atlas, Kanban, Terminal, Editor, Messengers, Sysinfo, Drone, Vault, Toolchain, Tower and Audit are under more. See Sections to give any section a button. These are the defaults for a widget bar you haven’t customised; one you have keeps its pins, and Reset widget bar (below) brings back the defaults. Right-click a widget to pin or unpin it. As the title bar gets narrower, the bar first drops its labels and then moves widgets that no longer fit under more (crates/srv-core/src/config/widgets.json, frontend/app/window/action-widgets.tsx). The widget:icononly setting drops the labels at any width.

Every entry the widget bar knows about is in one of three states:

  • Pinned: an icon on the bar.
  • More: only in the more menu.
  • Hidden: on neither, and not in a pane’s + menu either.

Set them in Settings ▸ Widgets ▸ Widget bar, which lists every entry with a Pinned / More / Hidden switch and arrows to move a pinned one left or right on the bar. A widget inside a group, such as one messenger under Messengers, has In group / Pinned / Hidden instead. Show icons only and Reset widget bar (back to the default pins, with nothing hidden) are there too. The bar, Settings and an open + menu all update together.

On the bar itself, right-click a widget for Pin to bar or Unpin from bar, and for Hide from widget bar. Hiding shows a notice for a few seconds with Undo; after that, bring the widget back from Settings ▸ Widgets. Settings can’t be hidden, so you can always get back to it. Right-clicking an empty part of the title bar shows Pin Widgets, a checklist of everything that can be pinned.

Widgets from installed widget packages can be pinned too, from the bar’s right-click menu or from Settings ▸ Widgets, and keep their place when you reorder the bar. The pins are saved as widget:pinned and the hidden entries as widget:hidden in settings.json; see the settings reference.

To see what each one looks like, see the widget gallery.

PaneIconView IDDescription
Agentwand-magic-sparklesagentAI agent session with streaming output. Hosts Identity and Memory subsections via the cog → settings panel.
BrowserglobebrowserA real Chromium browser in a pane, with profiles, Incognito tabs, downloads and controls over agents that drive it — see Browser pane
TerminalterminaltermFull terminal with real PTY via xterm.js
Sysinfochart-linesysinfoLive system metrics graphs
ConnectorsplugconnectorsAccounts (sign-ins to providers and services), MCP servers and Remotes — see Connectors
Filesfolder-openfilesFile browser with places, drives, remote hosts, previews and drag and drop — see Files
MemorybrainmemoryGlobal and Personal Memory, Skills and Bundles — see Memory.
Editorfile-codeeditorCodeMirror 6 editor with syntax highlighting + LSP diagnostics (TypeScript / JavaScript) + a file-tree explorer rooted at $HOME (with drives and mounts), and viewers for images, PDFs, audio and video — see Editor and Media
Swarmpeople-groupswarmLive tree of your agents, with or without a pane, with their subagents, todos and background commands, the agents of other instances and of your account’s other machines, selection controls and a Broadcast box — see Swarm
AtlasmapatlasEvery agent on every machine as a map, with who reports to whom and the messages and tasks passing between them — see Atlas
Dronediagram-projectdroneVisual DAG-of-blocks automation engine (Agent / API / Condition / Variables / Response blocks)
Helpcircle-questionhelpBuilt-in documentation
Auditlist-checkauditFour sections: Events (messages between agents, fleet and pane actions, agent registrations, and what agents did with your secrets), Conversations (every agent’s kept conversation), Typed (what was typed to each agent) and Storage (where the history is stored) — see Audit
Kanbantable-columnskanbanThe tasks agents are working on, what waits for them and what needs you — see Kanban
VaultlockvaultYour secrets, which agents use by name without seeing them — see The Vault
Towertower-observationtowerRead-only task manager: the CPU and memory each agent and everything it started uses, and every process on the machine — see Tower
ToolchainwrenchtoolchainThe CLIs and system tools AgentMux uses, with their versions, where they’re installed and how to install what’s missing — see First Agent Setup
SettingscogsettingsThe settings UI — see Settings reference

These views exist in the codebase but are not opened directly from the widget bar:

SurfaceHow it’s reached
IdentityApp-wide: Connectors → Accounts. An agent’s own account is the login email in its composer strip (see Composer strip). View registration (view: "identity", the pane tab identityPaneTab) exists for pane.open RPC and right-click menu paths.
Global and Personal MemoryApp-wide: Memory → Global and Personal. For one agent, right-click its pane and choose Personal memory to open Memory → Personal on that agent. These are notes, not the Bundle editor.
BundlesApp-wide: Memory → Bundles. Per agent, Bundles… (in its My Agents panel) picks which bundles it starts with, in order; it doesn’t edit bundles.
MCP ServersApp-wide: Connectors → MCP servers, where each server lists the agents it is bound to.
SkillsApp-wide: Memory → Skills, where each skill lists the agents it is bound to.
DevToolsAgentMux logo menu in the top tab bar → DevTools (only while Dev mode is on). Toggles Chromium DevTools — does not open a pane.

The agent pane’s header has no button for these. What belongs to one agent is reached from Subsections below.

The terminal pane provides authentic terminal emulation powered by xterm.js and portable-pty on the backend.

The Terminal widget when it first opens

Features:

  • Real PTY with full ANSI support
  • Configurable font family and size
  • Per-pane zoom level (Ctrl+/- and Ctrl+Scroll) that keeps the text under the pointer where it is; see Zoom system
  • Shell-integration env block (AGENTMUX_BLOCKID, AGENTMUX_LOG_DIR, AGENTMUX_AGENT_ID, …) with helper functions like muxlog
  • Remote connections (SSH)
  • Voice input — dictate commands into the PTY via the mic button in the pane header

Open a terminal: ⌘N / Ctrl+Shift+` or click the Terminal icon in the top bar.

The shell-integration scripts deployed to ~/.agentmux/shell/ set the env vars and define helpers; see Multi-instance & dev mode for the muxlog helper.

A new local terminal opens with the shell chosen in Settings ▸ Terminal ▸ Default shell. See Default shell. Terminals on an SSH host or a WSL distribution open that machine’s own login shell.

The badge in the top-right corner of a terminal shows the CPU and memory used by the pane’s shell and everything started in it. Hover it for a panel that explains each figure:

  • CPU, as a share of one core (above 100% is more than one core);
  • Memory, in RAM now; Private and Committed, where the system reports them; and Peak, the highest Memory has been;
  • Renderer: whether the terminal draws with WebGL (GPU) or DOM (software), and why, for example when the graphics context was lost and it switched to DOM.

The title of the panel says which processes it counts and when the shell started. Local figures update every second.

For an SSH or WSL terminal, the figures are measured on that machine, every 2 seconds while the pane is visible, with figures for the whole host where it reports them. If the remote machine can’t tell the pane’s processes from the rest, the panel says so and shows the machine’s totals.

Turn the badge off with Settings ▸ Terminal ▸ Show CPU/mem badge (term:showstatsbadge). While no badge is showing, AgentMux scans the panes’ processes only every 30 seconds instead of every second.

Characters appear locally the moment you type — before the PTY round-trip completes. The server echo is still authoritative; if it disagrees the local glyph is corrected instantly, so the visible buffer always matches what the shell actually received.

Password prompts and TUI apps (vim, less, htop) are safe: the predictor observes echo state and disarms automatically when it detects echo is off or a full-screen app takes over.

To disable: set term:predictiveecho = false in your settings. See Settings Reference.

Dropping files from your file manager onto a terminal pane copies them into the terminal’s working directory; it doesn’t type their paths. See Dropping files onto panes.

The browser pane embeds a Chromium view (CEF), not an iframe, so links, popups and DRM content work like a regular Chromium tab. The Browser pane page covers what you see and use: the toolbar, profiles and Incognito, downloads, zoom, and what you can allow or stop when an agent drives a page.

ControlAction
← / → / ↻Back / Forward / Reload (↻ becomes ✕, Stop loading, while a page loads)
Address barEnter URL or search query — defaults to a search if it doesn’t parse as a URL; Enter loads it

Header state syncs from the backend’s browser-pane-nav-state event:

  • Title — updates as the page loads
  • Favicon — fetched from the page; a generic globe icon stands in when the site has none or its icon fails to load
  • History — back/forward enabled state, per-pane

When you click inside the pane, the host fires browser-pane-clicked over the JS bridge, which the reducer stack routes through refocusNode(blockId) so keyboard shortcuts and split commands target the clicked pane. (Clicks inside the embedded page don’t reach the window’s DOM, so the explicit IPC is necessary. This is the same pattern the debugging page describes.)

The host exposes the browser pane’s lifecycle via these CEF commands (invoked through invokeCommand from the renderer):

  • browser_pane_create — create the browser view; called on first mount
  • browser_pane_navigate — load a URL
  • browser_pane_resize — propagate layout changes to the page view
  • browser_pane_reload — reload the current page
  • browser_pane_focus — explicit focus handoff after a click
  • browser_pane_close — tear down on pane close

If you need to drive the browser pane from an agent or saga, those are the commands. The frontend BrowserViewModel shows the canonical sequencing.

On macOS and Linux a browser pane is an overlay in the window’s own compositor. On Windows, panes are child windows by default. To use overlay panes on Windows too, start AgentMux with AGENTMUX_PANE_BACKEND=views (see Environment variable contract). With overlay panes the page stays inside the pane’s border while you resize the window. A pane opened in a floating window is a child window either way.

A new browser pane opens its configured URL, otherwise your Home page, otherwise https://agentmux.ai. To get a literally blank pane, pass meta.url = "about:blank" explicitly. (Spec: SPEC_BROWSER_PANE_DEFAULT_URL_AND_POPUP_2026_04_21.md.)

Keyboard focus has two owners: the page’s DOM focus (which element in the AgentMux window is active) and the operating system’s focus (which native view receives keystrokes). When they disagree, typed characters land in the wrong place, so the pane keeps them in step:

  • Click into the page. The host sends browser-pane-clicked; the pane first blurs whatever AgentMux input held DOM focus (for example the address bar), then calls refocusNode(blockId). Without the blur, the stale active element would send keyboard focus back to the window.
  • Click into the address bar. The input’s onMouseDown handler sends main_window_focus before the focus event, so keystrokes move to the AgentMux window at the start of the click, not after.

onMouseDown, not onMouseEnter, is the click-to-focus trigger on both sides; hover-focus loops were the failure mode this design corrects.

The editor pane is a CodeMirror 6 workspace with a file-tree explorer down the left side. It covers quick edits, file viewing, and diffing inside a pane — it is not a standalone IDE; deep editing happens in your agent’s terminal or via agent tool calls.

The Editor widget when it first opens

Languages currently get syntax highlighting via lazy-loaded extensions: TypeScript / JavaScript, Python, Rust, HTML, CSS, JSON, Markdown. Other extensions fall back to plain text.

Ctrl+S / Cmd+S saves the current file. When no file is open (scratch buffer mode), Ctrl+S opens an inline Save As path entry at the bottom of the editor — type an absolute path and press Enter to write the buffer to disk. Unsaved changes mark the pane title with *. An untitled document can also be saved by naming its tab (see Renaming a file from its tab).

The tree column appears on the left with three “roots” — your $HOME (auto-expanded so you don’t have to drill in) plus every other drive (Windows) or mount (macOS /Volumes, Linux /mnt and /media, plus / itself). The drive that hosts $HOME is de-duplicated so it doesn’t appear twice — UNIX / is the exception, always shown so you can reach /etc, /opt, etc.

InteractionBehavior
Click a folder rowExpand if collapsed, collapse if expanded (lazy-loaded on first expand; cached after)
Click a file rowLoads it into the editor. The active file’s row carries a circle-dot icon and a highlight
F2 on a file or folder rowInline rename — edit the name in place and press Enter to confirm, Escape to cancel. A confirmation dialog appears for non-empty directory renames.
Right-click a folder rowContext menu: Rename (same as F2), Collapse Folder (collapses that subtree only)
Hover the divider between tree and editorCursor flips to col-resize; drag to resize the tree column
Symlinked rowsFollowed automatically (matches VS Code), marked with a ↗ overlay

An Editor opened on a file starts with its tree collapsed, however you opened it (from the Files pane, a link, an agent, the command palette) and whatever the file is: code, Markdown, an image or a PDF. An Editor opened with no file keeps the tree open, so you can pick one. Open or hide the tree yourself and the pane keeps your choice; a pane that began with no file stays open when you open a file in it later. A split of an Editor opens empty, with the tree setting of the pane you split. An Editor on an SSH host has no tree.

The tree column width is persisted per pane in pane metadata (editor:tree_width, default 240 px, range 150–600). The full tree’s expand state is in-memory (collapsing a folder keeps its children cached so re-expand is instant).

The tree’s toolbar has a Hide file tree button (the double-left arrows) that gives CodeMirror the full pane width. While the tree is hidden, a Show file tree button leads the document tabs at the top of the pane. The choice is per pane — editor:tree_expanded in block meta — so two editor panes in the same window can keep independent layouts (one tree-open for browsing, one full-width for diffs). Ctrl+Shift+E (⇧⌘E) moves between the tree and the editor.

The pane title shows the complete file path, not just the basename, with a trailing * for unsaved changes. When several editor panes are open on similarly-named files (e.g. two index.ts in different directories), the title makes it unambiguous which one you’re actually editing.

Small square buttons at the top of the tree, each with a tooltip that shows 40 ms after the pointer rests on it (at once when you move along the row from one to the next):

ButtonTypeBehavior
«actionHide file tree (see above)
👁 / 👁‍🗨toggleShow / hide hidden files. Off by default — dotfiles, node_modules, .DS_Store, Thumbs.db, $RECYCLE.BIN are filtered out. Persisted per pane as editor:show_hidden
⊟actionCollapse all folders to the top-level roots
🔄actionRe-fetch every currently expanded folder. Preserves expansion state. There’s no background watcher; this is the explicit refresh path

A path-input affordance lives at the bottom of the tree column when no file is open — handy when an LLM hands you an absolute path and you don’t want to navigate the tree to find it. Once a file is open, the input is hidden to give the tree more vertical space.

You can also drop files from your file manager onto the editor pane: each opens in its own tab, in the viewer that fits it (frontend/app/view/editor/editor-drop.ts). See Dropping files onto panes.

The editor detects and handles non-UTF-8 files automatically — Windows-1252 .ini files, UTF-16 BOM, Shift_JIS, and similar encodings all load correctly. The detected encoding is shown in the status bar. Saves always write back in the file’s original encoding unless you choose otherwise.

A Markdown file opens as a rendered preview. A Preview / Source / Split control above it switches between the preview, the editor and both side by side, and Ctrl+Shift+V (Cmd+Shift+V) toggles between preview and source. The preview re-renders on each save. The mode is kept per document tab.

Press Ctrl+F (⌘F) to open the find bar, which also does find-and-replace. It supports:

  • Regex — toggle the .* button to switch between literal and regex search
  • Case-sensitive — toggle Aa
  • Whole word — toggle \b

Results highlight in the editor and the gutter shows match density. Press Enter / Shift+Enter to step through matches; press Escape to close.

The editor speaks the Language Server Protocol for real, type-aware diagnostics. It covers TypeScript and JavaScript via typescript-language-server; completion, hover, go-to-definition, and additional languages land in follow-up phases — see SPEC_EDITOR_LSP_AND_THEMES_2026-05-26.md.

Language servers are not bundled. AgentMux follows the VS Code model: open a supported file, the editor looks for the server on your PATH, and either uses it or prompts you to install it.

If the server binary isn’t on PATH when you open a supported file, a yellow banner appears at the top of the editor pane with:

  • the server’s name (e.g. “TypeScript language server isn’t installed”),
  • the copy-paste install command (npm install -g typescript-language-server typescript),
  • a Copy button for the command,
  • a Docs ↗ link to the upstream installation guide,
  • a × dismiss button (per-session — the banner reappears next time you open a server-supported file).

Once you install the server and switch panes (or reopen the file), the banner is replaced by the running indicator.

A small chip at the bottom of the editor shows the current server state — the chip colors track lifecycle:

ColorState
🟡 yellowStarting / initializing — child process spawned, awaiting initialize response
🟢 greenReady — diagnostics streaming, didChange notifications going through
🔴 redCrashed — server exited unexpectedly or the transport broke. The chip flips to error; the full reason is in the host log (muxlog host LSP)
⚪ dimmedMissing — server binary not on PATH (the install banner is also visible)
  • One supervisor process per (workspace root, language) lives on the backend. Two panes open on the same project share the same server (refcounted) — opening a second .ts file from the same repo costs zero new server processes.
  • The workspace root is detected by walking up the file’s directory for .git, Cargo.toml, package.json, go.mod, pyproject.toml, deno.json, or tsconfig.json — whichever is closest wins. Files outside a project fall back to the parent directory.
  • Diagnostics arrive as gutter markers and underline squiggles, identical to CodeMirror’s built-in lint surface. Severity follows the LSP spec: error → red, warning → yellow, info / hint → blue.
  • Edits debounce at 250 ms before flowing to the server via didChange; that’s deliberately conservative — most servers re-typecheck synchronously and a tighter window leaves the UI feeling laggy on big files.

Set editor:lsp.enabled = false in your settings to disable LSP across all editor panes. Useful if a misbehaving server is eating CPU and you want to roll back to syntax-only highlighting.

The editor is intentionally scoped — see SPEC_EDITOR_FILE_TREE_2026-05-26.md for the file-tree design and SPEC_EDITOR_LSP_AND_THEMES_2026-05-26.md for the language-server roadmap. Not currently supported (each item listed there as future phases):

  • File watching for live tree updates — use the 🔄 button when something changes outside the app
  • Delete / new-file from the tree — happens in your agent or terminal (rename ships via F2 and the right-click context menu)
  • Multi-root workspaces — single set of system roots is the only configuration
  • LSP completion / hover / go-to-definition — Phase 2; only diagnostics ship today
  • LSP for languages other than TypeScript and JavaScript — Phase 3 (rust-analyzer, pyright, gopls, clangd are pre-wired in the install-hint table, just not surfaced yet)
  • Tree-wide search / filter (the tree is read-only browse for now)

10 MB file-size cap on read and write — over that, the editor refuses to load.

The Editor keeps its open files, text or media, as document tabs in the pane header. The + at the end opens a new, empty tab.

  • Drag a tab along the bar to reorder it.
  • Drop it on another Editor pane to move it there. It keeps its unsaved changes and undo history. A document tab lands only in another Editor: dropping it anywhere else, near a pane’s edge included, doesn’t open a new pane.
  • Right-click a tab and choose Move to New Pane to open it in a new pane to the right of its own.
  • Right-click a tab for Rename… (Save As… on an untitled document) and Show As, the other viewers the file can be shown in (see Hex viewer).

A new pane made this way is an Editor on the same connection, holding just that tab. A tab that is being saved stays where it is.

Double-click a document tab, press F2 with the Editor focused (not in the file tree, where F2 renames the row), or choose Rename… in the tab’s right-click menu. The tab’s name turns into a text box with the current name. Type the new name and press Enter, or press Escape, or click elsewhere, to leave the file as it is. Nothing is written to disk until you press Enter.

  • A saved file is renamed in its own folder. The new name can’t hold control characters, and a rename never replaces a file that already has that name: the box stays open with the reason under it. It works the same for a file on an SSH host. A name that another tab of this Editor already has open is refused too.
  • An untitled document is saved under the name you type, as with Save As. A bare name goes into the folder of the file the pane showed last, else the folder of your last save, else your home folder, and a line under the box says where it will save (Saves to …). A full path, or one starting with ~, saves there. A name can’t contain ...
  • Every Editor tab on that file follows, in any pane or window, with its unsaved text and undo history kept. Renaming a folder from the tree moves the tabs of the files inside it.
  • A file dropped into the Editor from outside has no file on disk to rename, so its tab has no name box.

An agent can rename a file or folder in its own folder with the Pane tool (action rename, target file), and the open Editor tabs follow in the same way.

Two Editors can sit in one pane as pane tabs, each with its own document tabs. When that happens, they merge into one Editor:

  • When you drop an Editor’s pane tab onto another pane that holds an Editor, the arriving Editor’s document tabs join the destination’s with their unsaved text, and its pane tab goes. Hold Alt while you drop to keep the two separate.
  • Picking Editor from the + menu of a pane that already holds an Editor on this computer adds a new, empty document tab to that Editor instead of a second Editor.
  • A pane that holds two Editors no drop reached (from a saved layout, or a move an agent made) has Merge document tabs in the right-click menu of its pane tab.

Only Editors on the same connection merge, since a path means nothing on another host. An Editor that can’t merge, for example because one of its tabs is being saved, is left as it is, with a message when there is something to say.

The Files pane is a file browser (frontend/app/view/files/files-view.tsx). It opens on your home folder, or on the folder in its files:path setting, and on a remote host’s files when you choose Browse files in Connectors → Remotes. The pane title is the folder’s name.

The Files widget when it first opens, showing a demo project

  • Toolbar: Back, Forward and Up; a breadcrumb you can click, or double-click (or press Ctrl+L) to type a path; Filter (Ctrl+F or /); new folder; show or hide hidden files; refresh; and toggles for the Places sidebar, a list or thumbnail view, and the preview panel.
  • Places (left): your home and common folders, drives, WSL distributions, remote hosts (with Manage remotes…), and your agents’ folders, each in the agent’s colour.
  • The list: sortable Name, Modified, Size and Kind columns, or a thumbnail grid. On Windows, each file and folder shows the icon Windows Explorer shows for its type; set files:icons to app to keep AgentMux’s own (Files pane settings). In a git repository each row shows its status letter, and a dot marks a file an agent changed (its tooltip names the agent).
  • Preview (Space, or the eye button): images, highlighted code, rendered Markdown, and cards for folders, audio, video and other files.
  • Right-click a row to open it (here, in a new tab, in the Editor, or with the default app), open a terminal there, reveal it in your file manager (Finder, File Explorer), cut, copy or copy its path, rename (F2), move it to the Trash or delete it permanently. Right-click empty space for a new folder or file, paste, and the folder’s own actions.
  • Copying and moving: cut, copy and paste, or drag files. When a name already exists, the Files pane asks: Keep both, Skip, Replace or stop, with Do this for every conflict.
  • Status line: the item count and selection size, the repository’s branch and changes, and messages such as an undo for the last change.

A Files pane that a container agent opens on a folder of its workspace shows only that folder. It lists, navigates and previews files and opens them in the Editor, and changes nothing; a link in the folder that leads out of it is refused.

Keyboard shortcuts are listed in Keybindings → Files.

Images, audio and video open in the Editor, as tabs like any other file. The Editor picks a viewer for each file from its content, and from its extension only where the content leaves it open (frontend/app/view/editor/viewers/viewer-choice.ts). PDFs get a PDF viewer, files of a kind with no viewer of its own (an archive, a font, an Office document) a card with the file’s details, and other binary files hex. Show As in a tab’s menu switches a file to any viewer that can show it.

ViewerFilesWhat it does
Imagepng, jpg, gif, webp, svg, avif, bmp, ico and other imagesThe wheel zooms about the cursor (Ctrl+wheel still zooms the pane). A click zooms in a step; Alt+click, or Ctrl+click except on macOS, zooms out. A drag pans, and the image itself can’t be dragged out of the viewer. + and - zoom, 0 fits the image to the pane, 1 shows it at 100%, and [ and ] show the previous and next image in the folder. The toolbar has fit, 100% and a background choice, and shows the image’s size and type (frontend/app/view/editor/viewers/image/image-viewer.tsx).
Audio and videowebm, mp4, mov and m4v video; wav, mp3, ogg, opus, flac, m4a and aac audioThe player’s own controls, and a Loop button (L), Slower (<) and Faster (>) buttons around a speed readout, and for video Back one frame (,) and Forward one frame (.) (see below). Nothing plays on its own, and a video stops when another tab comes to the front. A file that won’t play says whether a codec is missing or the file is damaged (frontend/app/view/editor/viewers/media/av-viewer.tsx).
HexAny fileIts bytes as rows of an offset, the bytes in hex and their text (see Hex viewer).

Loop, speed and frame step. The toolbar of an audio or video tab has a Loop button that repeats the file until you turn it off. Slower and Faster change the speed in steps of 0.25, from 0.25× to 4×, and the readout between them shows the speed (1× at normal speed); click it to go back to normal speed. A video also has Back one frame and Forward one frame, which pause it and move one frame at a time. The keys are L for loop, < and > for speed, and , and . for a frame back and forward, while the viewer has the focus (./, do nothing in an audio file). A new file starts at normal speed with the loop off.

Zooming a PDF (Ctrl+scroll, Ctrl++ / - / 0) zooms the pages, not the whole pane: 100% is the width that fits the pane, the pages are drawn again at the new size so they stay sharp, and the point under the pointer stays under it. Each step makes the pages 25% larger or smaller, and a PDF zooms in to 1500% (other panes stop at 200%). The zoom is saved with the pane. The Editor’s tabs, toolbar and file tree stay at the app’s own zoom, and Ctrl+scroll over them zooms the app (see Zoom system). In the text editor, zoom scales the whole pane, tabs and tree included.

A viewer reloads when its file changes on disk. To open one of these files, open it in the Editor as you would any file, or drop it on an Editor pane (see Dropping files onto panes).

Any file can be shown as hex: choose Show As → Hex in the file’s tab menu, or Hex in the viewer bar above a non-text file. A binary file the Editor has no other viewer for opens as hex. The bytes are read in parts as you scroll, so a file of any size opens at once. The viewer is read-only.

Each row has an offset column, the bytes in hex, and a Text column with the bytes as characters (a dot for a byte that isn’t printable ASCII). The bar above the grid has:

  • Go to offset (Ctrl+G, ⌘G): type a decimal number, or hex as 0x1F, and press Enter. The box shows the offset of the cursor.
  • 8 / 16 / 32 bytes in a row.
  • Copy the selection…: Copy as hex, Copy as a C array, Copy as base64, Copy as text or Copy the offset. A copy takes up to 1 MiB of the selection.
  • Data inspector (I): the bytes at the cursor read as binary, octal, 8-, 16-, 32- and 64-bit integers (signed and unsigned), float16, float32 and float64, ULEB128 and a UTF-8 character, in Little endian or Big endian order. A value shows a dash when the file ends before the type does.
  • Find (Ctrl+F, ⌘F): a pattern as Hex (DE AD ?? EF, where ?? matches any byte), UTF-8 or UTF-16 text, with Previous match (Shift+Enter) and Next match (Enter). A pattern can be up to 256 bytes long. A file dropped in with no path on disk can’t be searched.
  • At the end of the bar, the offset of the cursor, how many bytes are selected, and the file’s size.

Click a byte to put the cursor there, drag or Shift+click to select, and use the arrow keys to move. The keys are listed in Keybindings → Hex viewer. The width, the inspector and its byte order are kept for the tab.

To watch a folder where something writes images or video, such as a local generation pipeline (a ComfyUI-style image or video workflow), the Editor follows it per tab. An image, audio or video tab has a Follow newer files in this folder button in its toolbar. While it is on, the Editor watches the file’s folder for image, video and audio files, and a newer one replaces the tab’s file (frontend/app/view/editor/viewers/follow-folder.ts, crates/srv-core/src/backend/media_file_watcher.rs). A file dropped with no path on disk can’t follow its folder.

Agents use the Pane MCP tool (action open, view media, a file) to show a file next to the conversation, optionally as a split or a floating pane, without the person having to browse for it. It opens in the Editor with Follow newer files in this folder on, as a new tab in an Editor pane already open in the agent’s own tab if there is one (crates/mcp/src/tools/panes.rs, crates/srv/src/server/app_api/pane.rs). Files on an SSH connection can’t be shown this way yet. Useful for “here’s the image or video I just generated” moments mid-turn.

The agent pane is the first-class resident unit of AgentMux. Each agent gets a structured pane — not a terminal wrapper — with its own accounts and bundles, streaming parser, lifecycle management, and direct access to MuxAPI. It displays:

The Agent widget when it first opens: the agent picker

  • Streaming text — Agent output in real time
  • Tool calls — Name, arguments, and result of each tool invocation
  • File diffs — Visual diff overlay when the agent writes files
  • Auto-scroll — Follows output, with manual scroll override
  • Voice input — dictate prompts into the composer via the mic button in the pane header
  • Enter animation — New messages animate into view as they stream in.
  • Disconnected banner — if the WebSocket tore down mid-turn, a banner appears at the top of the pane with a single action to reconnect. Dismissing it lands you in an idle state with the partial turn preserved.

An agent pane mid-turn: a subagent's result, a file read, the reply streaming in, and the working timer

An agent that runs in a Docker container shows a CONTAINER tag by the model selector; see Container agents.

Agent panes are configured through Bundles, picked when the agent is created; Bundles… changes them for an existing agent (see Subsections below).

While an agent is actively streaming or tool-calling, the host signals the OS that the app is busy — Windows lights up the taskbar entry, macOS bounces the dock icon, Linux raises an urgency hint. The indicator clears as soon as the agent goes idle. Useful when you’ve shifted focus to another app and want to know when the agent has finished without polling the window.

Activity is tracked per-pane and aggregated across panes, so the indicator reflects “at least one agent is busy” not “this specific agent”. Implementation detail in frontend/app/store/agentActivity.ts.

The agent message list is virtualized: only the rows in view, 5 rows of overscan on each side, and the trailing 50 rows (the streaming buffer) are mounted in the DOM, regardless of session length. A 2000-message session doesn’t mean a 2000-element layout tree.

The virtualization is hybrid — the trailing 50 rows (the streaming buffer) are always mounted in normal flex flow, never recycled. Older rows are virtualized by custom code: each row sits at an absolute position computed by the pane’s layout slice from measured heights (per-row ResizeObserver measurement), and only the rows in view plus a small overscan are mounted. This split eliminates measurement lag during token streams, which would otherwise cause visible jitter as text grew.

See internals/agent-pane-virtualization for the architecture and the spec at docs/specs/SPEC_AGENT_PANE_VIRTUALIZATION_REDESIGN.md in the main repo.

Runtime limits for agent panes are controlled by the term:agentmaxruntimehours and term:agentidletimeoutmins settings — see the Settings Reference.

Some content in the agent pane sits in a capped box with its own scrollbar: a tool call’s output, an incoming message, a context delivery card. When you scroll such a box to its top or bottom edge with the mouse wheel, the next 2 wheel notches are held there (agent:previewskidnotches sets how many), and a line shows on that edge; only after that does the wheel scroll the whole pane. A trackpad swipe (or a high-resolution wheel) is held at the edge until the gesture pauses. This stops a box that slides under the pointer from being scrolled past by notches meant for it. Tool output that fits without a scrollbar holds the wheel the same way (frontend/app/view/agent/components/scroll-handoff.ts).

Long-running shell commands started by the agent are pinned to a dock at the top of the agent pane — visible at a glance without scrolling to find the tool call. Click any docked activity row to expand its live log output. Three rows show at once; the rest fold under ”▸ N more”.

What gets a row (frontend/app/view/agent/components/ActivityDock.tsx, frontend/app/agent-model/tool-adapter.ts):

  • A Bash call that has been running for 30 seconds — the auto-detected “this is taking a while” case. A bare sleep gets a row straight away, with a “~Ns left” countdown.
  • A command the agent launched in the background (run_in_background), immediately, including one a subagent started. A long-lived background process (a dev server, a watch task) is expected to keep running, so it shouldn’t look like a stuck turn.
  • Shells and subagents the agent started.

A running row shows a rotating slash to the left of the short phrase the agent gave the call (a Bash call’s description; the command itself when it gave none). A finished row keeps its result mark.

For a Claude agent, AgentMux sets the CLI’s default Bash timeout to 30 seconds. A Bash call still running at 30 seconds is moved to the background: the tool result says so, the agent’s turn ends and the agent is free to take your next message, and the command’s end arrives later as a notice that starts a turn. A call that sets a longer timeout of its own is cut to 30 seconds by AgentMux’s PreToolUse hook, so it goes to the background too. The CLI doesn’t background a command it can’t split into simple commands: one with git in it, a command or process substitution, or a brace or $'…' expansion is stopped at its timeout instead. When the agent sets none for such a call, the hook gives it five minutes, so a push or a clone can finish. A timeout the agent sets for such a call stands. A background call (run_in_background) is left alone, and so is an agent whose own environment sets BASH_DEFAULT_TIMEOUT_MS.

When a call with a description moves to the background, the pane says so in the conversation, in the agent’s own phrase: “Moved to the background: phrase. The agent is free; it picks this up when it finishes.” When it ends, a line says “Finished in the background: phrase.” (or “Failed” or “Stopped”). Only a call that moved while you were watching gets these lines; one in a conversation you open later doesn’t. A call with no description keeps the agent’s own narration.

A row shows a glyph for its kind while it runs ($ for a command), then ✓ (done), ✗ (failed) or ■ (stopped). A finished row leaves the dock after a few seconds: 8 s when done, 3 s when stopped, 15 s when failed. A failed row can be dismissed sooner with ×. A background command’s row ends when the agent is told it finished, or when Claude Code reports that it ended, which is what clears rows for commands a subagent started. The same background commands also appear in the Swarm pane.

Each agent pane keeps its working scrollback scoped to the agent’s current session — after a fresh session starts, older conversation isn’t shown inline (it’s still fully retained, just out of the live view). To read the full multi-session history, open Agent History: a read-only tab on the agent pane (reachable via the Earlier conversations link row that appears at the top of the scrollback after a new session starts, or via the pane’s right-click context menu) that shows the entire retained conversation across every session, with day separators and session-boundary dividers, and its own independent scroll/pagination back to the very first message. It’s a separate tab, not a view that replaces your live conversation — switch back to the live tab at any time, and an in-progress composer draft survives the round trip.

The composer has a send-now mode for messages you want delivered the moment the agent’s next tool call completes — useful for mid-turn corrections without interrupting the current operation. Type your message and use the send-now action to queue it; it holds at the tool-call boundary and fires the instant the tool returns. Press ↑ to recall the last queued message.

When an agent calls AskUserQuestion (part of the Agent SDK control protocol), an interactive question panel appears inline in the pane — above the composer, below the message thread. Submit your answer directly; the agent resumes without any further action. If the agent stalls after receiving the answer, AgentMux auto-resumes it after a short delay.

Agent panes can host a persistent shell session pinned alongside the conversation. Unlike tool-call shells (which run inline and close with the tool call), a persistent shell stays open between turns — the agent can issue commands to it across multiple turns, and you can interact with the same shell directly. Each persistent shell shows a stop button (⏹) in its header; the Terminal MCP tool lets the agent stop it programmatically (action close). Tree-kill on close ensures no orphaned child processes. The agent can also write to it (type) and check its state (read, or wait until it exits) — see MuxAPI.

After each completed turn, if the composer is still empty, AgentMux may show a dimmed, model-predicted suggestion for your likely next message — displayed as the composer’s placeholder text. Press Tab to accept it (inserted in full); typing anything else dismisses it immediately. It’s powered by a small Haiku call and is always-on today (no settings toggle exists yet). This is AgentMux’s own reimplementation of a feature Claude Code’s own CLI can’t surface here, since AgentMux always drives it in non-interactive mode.

Mode, Model, and Effort (Claude panes only) render as pill-shaped drop-up controls in the composer strip — click one to open a small popup above it rather than a native dropdown; changes apply on the agent’s next turn. The Shell button toggles the resizable details drawer described below.

The Model popup lists the harness’s own models under Your plan. When AgentMux offers model routes for the agent’s harness, it adds a group for each route, noted “billed to your key in the Vault” (or “key missing” when the route has no key), with each model’s context size, price and what it can do; a row that can’t be picked is greyed with its reason. Picking a route’s model switches the agent in place, keeping its conversation. The change is kept only after the agent’s first turn on the new model works: if that place refuses the turn, the agent goes back to where it was and the pane says the change was refused and undone. A Back to model row returns the agent to where it was before its last change. See Model routes for the models, the key and the daily spend caps. A model too small for the conversation shows “Compact, then switch”, and a model that can’t read images is refused when the conversation holds some.

The strip also shows the account the agent uses, as its login email (shortened to 22 characters; hover for the whole address). Click it to change the agent’s account. The menu lists every signed-in account of the agent’s provider, with the current one checked and a note beside an account that is out of quota (“out of quota until Sun 7:00 PM”). Choose one to move the agent to it. A signed-out agent’s menu also has Log in, and a Claude agent’s has Sign in with another account…, which adds an account and moves the agent to it. Accounts that share a provider and an email are numbered (user@example.com ·2). A container agent’s strip has the same menu, even before an account is linked.

If the agent is idle, it switches at once and restarts, keeping its session. If a turn is running, the switch waits: the chip reads you@example.com → other@example.com, and the agent moves when the turn ends. Choosing the account it is already on cancels a queued switch. See Identity & Accounts (frontend/app/view/agent/components/AgentComposerStrip.tsx).

You can attach any kind of file to a message: images, PDFs, Word, Excel and PowerPoint files, text, code, archives and more (frontend/app/view/agent/attachments/, crates/srv-core/src/backend/attachments/). To attach files:

  • drop them anywhere on the agent pane (see Dropping files onto panes); a dropped folder adds the files in it, skipping folders such as node_modules, target, dist and .venv;
  • paste them with Ctrl+V (Cmd+V), for example a screenshot or files copied in your file manager;
  • or right-click the message box and choose Paste.

Attached files appear above the message box as numbered tiles: a thumbnail for images, SVG and text, or a coloured icon with the file’s extension for everything else (PDFs also show their page count). Click a tile to preview it; its × removes it, with a few seconds to undo. A header shows the count and total size, with a progress bar while files are being processed. A message can carry up to 128 files and 1 GB (attachments:maxfiles, attachments:maxtotalmb).

What the agent receives:

  • Every agent gets a numbered list of the files with their paths on disk and a short note on each (type, PDF page count). Office documents and PDFs also get an extracted text version, and its path is listed too.
  • Claude agents additionally see images inline, and read PDFs of up to 100 pages directly: up to 20 inline images per message (attachments:claudeinlinemax) and 50 MB of inline images per session (attachments:claudesessioninlinemb). Beyond those limits, files are listed by path for the agent to open.

Container agents can’t take attachments yet: files dropped or pasted into their pane are copied into the agent’s working folder instead, with an @name reference in the message box. Attachment files are kept for 30 days after they were last used, and files never sent are removed after 7 days (attachments:retentiondays).

Type /btw <question> to ask the agent something without interrupting the turn it’s running. The answer appears in a floating overlay (Esc closes it), and neither the question nor the answer is added to the conversation. It works on Claude, Codex and Gemini agents (frontend/app/view/agent/commands/providers/btw.ts).

Agents can colour a few words of a reply to mark status: passed, needs attention, failed, a note, de-emphasised, before/after, or a small badge. The colours come from your theme, and AgentMux tells agents how to use them through its Operator Config. Only the classes am-ok, am-warn, am-error, am-info, am-muted, am-added, am-removed and am-badge are kept; any other class, and any style attribute, is stripped (frontend/app/element/markdown-semantic.ts).

Click Shell in the composer strip to open a resizable details drawer beneath the message thread, holding both the activity log and a real embedded terminal (xterm.js + PTY) for the pane. Drag the drawer’s top edge to resize it (120–600 px); the height persists per-pane. The embedded terminal is a genuine, usable shell — though newer and lighter-weight than the standalone Terminal pane, so some edge cases (e.g. large pastes) aren’t as polished yet.

Every agent has its own automatically assigned display color, one of the 12 hues of the shared palette (see below). New agents are spread over the hues in use the least, and the choice is stored when the agent is created. Black and White are never assigned automatically. It is shown as the agent pane’s border. It requires no action on your part; it’s just how you can tell agents apart at a glance across panes.

This is separate from manual pane/tab coloring: right-click a pane header and open Pane Color for Default, the 12 hues, and Black and White, each shown with a swatch (the pick is stored as frame:color). This works on every pane type, not just Agent panes, and overrides an agent’s automatic color when set. On a pane that isn’t an agent’s, once you have picked a color, Use for all ‹Widget› panes makes it the color of every pane of that type and returns this pane to following it. Right-click a window tab for the same 14 colors (tab:color) to color the tab itself, with Clear color and Rename. Panes, window tabs, agents, widgets and browser profiles all use the same 14 colors; each is drawn in its own tone for its role and theme, so coloring a tab never recolors a pane’s border.

The palette: Rose, Red, Orange, Amber, Yellow, Green, Jade, Teal, Sky, Blue, Violet, Magenta, then Black and White. Black and White stay visible in both themes: a Black pane has a graphite ring in the dark theme and a White pane a silver ring in the light theme. As a swatch, a browser profile badge or a pane backdrop they are plain black and plain white.

A pane header’s menu also has a Backdrop submenu (and the command palette has Backdrop…): it sets the pane’s background surface, laid out like Pane Color (None, the 12 hues, then Black and White). A pick applies at once and the menu stays open, so you can try backdrops one after another; None clears it.

A pane's right-click menu with Pane Color open, showing the swatches

The agent pane has no drawer of its own. What belongs to one agent is reached from the agent’s My Agents row and from the pane’s right-click menu, and the rest lives in the app-wide panes.

The pane’s right-click menu has Agent History and Quick Fork. For an agent with a saved definition it adds Seat…, Personal memory, the checkbox Starts agents without asking (and Uses Google without asking once you have given that), and a container agent also has Container limits…. It ends with Shut down, the one act that ends the agent (closing the pane keeps it running). What the pane shows is chosen with the eye button in the composer’s control row. A quick-launch pane, which has no saved agent, has none of the saved-agent items, and neither does an agent’s History tab.

My Agents (the agent picker): each row’s menu (the chevron at the right of the row) has Rename, Duplicate, View History, Seat…, Bundles…, Environment…, Spend cap…, Shut down (while the agent is running) and Delete. See My Agents.

WhatWhere
Seat (role, lead and area, and Import roster…)Seat…, from the My Agents panel or the pane’s right-click menu. See Seats.
Bundles the agent starts with, in orderBundles… in the My Agents panel; saved on each change. See An agent’s bundles.
Environment variables it starts withEnvironment… in the My Agents panel. See Environment variables.
Personal MemoryPersonal memory in the pane’s right-click menu opens Memory → Personal on this agent. There you can browse its files, see history and diffs, revert, and add a New file or Create MEMORY.md.
AccountThe login email in the composer strip (see Composer strip). Which agents use an account is in Connectors → Accounts.
MCP servers and SkillsEach server’s page in Connectors → MCP servers and each skill’s page in Memory → Skills list the agents it is bound to, each with Unbind, and bind another with Bind to agent.
Message-delivery registrationA badge on the agent’s row in the Swarm, only when something is wrong.
Hiding an agent from paired devicesSettings ▸ Paired devices ▸ Hidden from devices. See Paired devices.

Bundles themselves are edited only in Memory → Bundles. The view: "identity" registration exists so pane.open RPC and right-click menus can still reach that view, but nothing in the app opens it.

The Swarm pane lists every agent on this AgentMux instance, with or without a pane, as a tree. Under each agent you see its todo list, subagents, workflow runs, shells, cron jobs, long-running commands and background commands; a subagent’s own background commands appear under that subagent. Agents that are stopped are listed too, with Start and Open, and below them come the agents of other AgentMux instances on this machine and your network, then your account’s other machines that are not on this network (the cloud tier, display only). Click an agent to focus its pane. One list sits under a Filter, a Broadcast box and a row of selection controls: select agents, then send one message to all of them from the Broadcast box, or stop them or set their Supervisor mode from the selection controls; the Supervisor’s own switch and limits are in Settings › Supervisor. Subagent activity expands inline in the tree rather than in a pane of its own. The work agents are doing is on the Kanban, a pane of its own, and the Atlas draws the same agents as a map. A row whose agent ended its turn with a Browser request still open (a click to allow, a hand-off) shows the question chip and “Waiting for you in a browser pane”, and counts in the status bar’s list of what waits on you. See Swarm. The model requests AgentMux makes on its own (session titles, names, prompt suggestions, narration), are in the token popover’s AgentMux internal row (see The token pill).

An agent mid-turn beside Swarm, which shows it working, with its message and current step

The Drone pane builds and runs automations as a graph of blocks: variables, agents, API requests, conditions and loops, waits and joins, tasks and messages. Open it from the widget bar. You run a drone with ▶ Run, or unattended from a job. The blocks, their fields, the limits and the shipped templates are on the Drone page.

The Drone widget when it first opens

The Sysinfo widget showing CPU, memory and network

Live system metrics for the machine AgentMux runs on, plotted over time. See System Metrics for the plots, how to open the pane and the settings that control it. It monitors only this machine, not remote connections.

Speak into a pane instead of typing. Voice input is supported on Terminal and Agent panes; other pane types don’t surface the mic button.

Each supporting pane shows a microphone button in the top-right of the pane header, next to the maximize and close buttons. Click it to start dictating into that pane:

  • Terminal panes — the recognized text is streamed character-by-character into the PTY, exactly as if typed
  • Agent panes — the recognized text appends to the composer textarea (interim phrases preview as you speak; finalized phrases commit). You still press Enter to send

The mic button pulses while listening, and shows how loud AgentMux hears you. If the transcription engine has nothing to work with, the mic doesn’t record: an Agent pane shows Voice input isn’t set up above the composer, naming what is missing (a Groq key, or the local Whisper program or model), with an Open Recording settings button that goes to Settings ▸ Recording. Clicking the mic on a different pane retargets the voice stream to that pane — only one pane receives output at a time. Clicking the active pane’s mic again stops listening.

ActionShortcut
Toggle voice on the focused paneCtrl+Shift+V

The shortcut does nothing on pane types without voice (Browser and so on). In an Editor it toggles the markdown preview instead, and in a Terminal it pastes.

KeyTypeDefaultEffect
voice:enabledbooltrueWhen false, hides the mic button across all panes

The engine and the rest of the voice settings are in Settings ▸ Recording and in Voice Input Settings. The default engine, Groq, needs a key: choose an API key from your Vault under Groq API key, or add one there. Set in your settings.json if you don’t want voice input enabled by default.

The first time you click the mic, Chromium prompts for microphone permission. If you deny it (or revoke it later), AgentMux shows a notification — re-enable it in browser settings to recover.

  • Top bar widgets — Click the icons on the right side of the top bar. A click on a management widget such as Swarm or Memory brings back the one you already have (see Opening a widget again)
  • A pane’s + — Adds a tab to that pane (see Pane tabs)
  • Split — Split a pane from its right-click menu or with the keys below; the new pane is a Shortcuts pane where you choose what it becomes (see Splitting)
  • Keyboard — ⌘N / Ctrl+Shift+` for a new pane, ⇧⌘A / Ctrl+Shift+A for an agent pane

A widget is either a singleton, where one pane is the point, or a widget you can have many of:

  • Brought back: Atlas, Swarm, Memory, Connectors, Settings, Vault, Audit, Tower, Kanban, Help, Toolchain and Drone. Clicking one in the widget bar, in more, in a group’s flyout or in the command palette shows the pane you already have: it restores it if it was minimized, un-magnifies another pane that covered it, brings it to the front of its pane’s tabs, and gives it focus. This looks in the tab you are on only: if the pane you have is in another tab or another window, the click opens a new one here and leaves yours where it is. It never switches tabs or windows. If there is none, it opens one.
  • Opened each time: Agent, Terminal, Browser, Editor, Files and System info. Every click opens a new pane.

Shift-click an entry (or press Shift with it in the palette) to open a new pane even for a singleton. The command palette also lists a New … entry for each singleton (New Tower (Task Manager), New Kanban, New Help, and so on). An installed widget says which it is with singleton on its pane (see The package); the default is a new pane each time.

Every pane’s own header doubles as its tab strip — one row, not a title bar with a separate strip stacked under it. Click the + on any pane’s strip and pick a widget type; it’s added as a new tab in that same pane, no new split. This works for every widget type, not just more of the pane’s own kind — an agent pane can pick up a terminal tab and a browser tab right next to it, all inside one pane.

When a pane has more tabs than fit, the mouse wheel over the strip scrolls it 10 px per notch. Selecting a tab, or a pane whose selected tab is out of view, scrolls the strip only as far as it takes to bring that tab fully into view, never to the left edge, with a quick animation that follows the Animations setting.

On an agent’s tab pill, a line along the top shows what the agent is doing: a bar moving along it while the agent works, a still solid line while it waits for your answer, and a dashed line while it is signed out. Nothing shows when it is idle or out of quota. A collapsed pane shows no border animation, only its pills’ lines.

A pane's + menu: one entry per widget type, from Agent to Atlas

This is a different axis from the top-bar/Cmd+N actions above and from Splitting below: those create a new pane. A pane’s own + adds a tab to the pane you’re already looking at. Use splits when you want two things visible side by side; use tabs when you want to switch between things in the same space.

Note this “tab” is scoped to the pane — a different concept from a window Tab tear-off below, which is about the browser-style strip at the very top of the whole window, not a pane’s own strip.

Tabs inside each pane, so every pane holds several, come from cmux. See GitHub: SPEC_PANE_TABS_UNIVERSAL_CMUX_REDESIGN for the full design rationale.

Right-click a pane tab’s pill (in a pane with more than one tab) to bring that tab to the front and open the same menu as the pane’s header, built for that tab (see The pane menu). A pane that holds two Editors has Merge document tabs at the end of it (see Document tabs). To take a tab out into a pane of its own, drag its pill onto a pane’s body (see Drag and Drop).

ActionmacOSWindows / Linux
Split Right⌘DCtrl+Shift+D
Split Below⇧⌘DCtrl+Alt+Shift+D
Split in a directionCtrl+Shift+S, then ↓ (below) or → (right)Same

A pane’s right-click menu has the same splits, and the command palette has Split Right and Split Down. Every split opens a Shortcuts pane beside the pane it came from, for you to choose what the new pane should be. It does not copy the pane you split.

A Shortcuts pane is a grid of tiles, one for every pane type and every installed widget you’ve approved: Agent, Terminal, Editor, Files, Browser, Swarm, Memory, Connectors and the rest, with their icons and labels. The ones you opened most recently come first (from anywhere: a tile here, the widget bar, the + menu, a shortcut); the rest keep the order of the widget bar. Widgets you hid in Settings → Widgets are left out.

  • Choose a tile with a click, or with the arrow keys and Enter. The Shortcuts pane is replaced in place by that pane, at the same size and position. The Agent tile opens the agent picker.
  • A tile for a pane you already have open (Memory, Connectors, Settings and the other panes listed under Opening a widget again) brings that pane back and closes the Shortcuts pane. Shift-click the tile, or press Shift+Enter, to open a new pane in its place instead.
  • Type to filter the tiles by name. A group, such as Messengers, opens its own tiles; Escape goes back out.
  • Escape clears what you typed first. With an empty box, Escape closes a Shortcuts pane that a split opened (it has nothing in it to lose, so nothing is asked, and its neighbour takes the space).
  • A Terminal or Files tile starts where you were. It opens in the same folder and on the same connection as the pane you split.
  • It has no entry of its own. It isn’t in the widget bar, + or the palette; a split opens it. A Shortcuts pane left open comes back after a restart like any pane. If you set app:defaultnewblock to shortcuts (Settings), a new pane opens as one too.

Right-click a pane’s header for its menu: Paste (in a pane that takes typed input), Split Right, Split Down, Magnify Pane, Minimize to Header (when the tab has more than one pane), Close Pane, Inspect Element (opens DevTools on the pane; only with Dev mode on in Settings ▸ Advanced, on by default in a development build) and Pane Color.

A pane's right-click menu

Magnify Pane (⌘M / Ctrl+Shift+M, the maximize button in the header, or a double-click on the header) enlarges the pane to fill the tab, hiding the others behind it, and the header’s maximize button becomes Restore. Do it again, or click Restore, to put it back.

Minimizing a pane merges its tabs into a neighbour. When you minimize a pane in a split, its tabs join a minimized pane next to it, if there is one: the nearest one before it (above or to the left) with no expanded pane in between, else the nearest after it, with a landing animation on the tabs that arrive. In a row, minimized panes stacked over the same pane count as next to each other. If there is none, the tabs are dealt out one by one to the tab’s open panes as background tabs, round robin: the first goes to the nearest expanded pane (after it, to the right or below, else before it; if that neighbour is itself a split, the pane nearest to the one you minimized), the next to the following pane, and so on round again. Either way the minimized pane’s own space goes to the others, and the pane you minimized is gone as a pane. Only your own minimize does this (the header button, the shortcut, the pane menu and the command palette), not an agent’s, a layout loading or a restore, and not a locked pane, a floating pane or the last expanded one.

To get a header-sized chip instead, Shift+click Minimize or choose Minimize to Header in the pane menu: the pane shrinks to a chip the size of its header, stacked over its neighbour in a row. To get a merged tab back as its own pane, drag its pill out onto a pane’s body; there is no undo for the merge itself. Minimized panes count as hidden, so a row of them costs little.

The header’s buttons, from left to right, are Minimize (when the tab has more than one pane), Maximize and Close. A pane that is alone in its tab has no Maximize, since it already fills the tab. Maximize is an outline window. Restore, on a maximized or a minimized pane, is a tiled layout: a frame with the pane’s own tile filled in. Close is an X that turns red while you hover it. A maximized pane can be minimized directly. A click on the pill of a minimized pane’s tab expands it; dragging pills between minimized panes doesn’t.

From the click on Close until the pane is gone, the pane is dimmed and ignores clicks, and its header reads Closing… (Closing 3 tabs… when the pane holds three tabs). A pane with nothing to ask you, such as an editor or a terminal, closes without waiting on the backend.

The Agent pane maximized to fill its tab

ActionShortcut
Navigate between panesCtrl+Shift+Arrow
Focus pane NCtrl+Shift+1-9
Next / previous paneF6 / Shift+F6
Swap with the pane in a directionCtrl+Alt+Shift+Arrow (⌃⌥⇧Arrow)
Resize: move a borderAlt+Shift+Arrow (⌃⌥⌘Arrow)
Close pane⌘W / Ctrl+Shift+W
Magnify pane⌘M / Ctrl+Shift+M
Previous / next selected paneMouse Back / Forward side buttons

Each window remembers the panes you selected, in any tab. The mouse’s Back and Forward side buttons walk through that list: Back selects the pane you had selected before (switching to its tab, with its highlight and caret), Forward the one after. A pane you moved to another tab is found there. A press does nothing while a menu or dialog is open, or with Shift, Alt or the left button held. Over a browser pane, Ctrl + a side button is the page’s own back or forward. The list is kept in memory, so it starts empty when AgentMux does. Turn the buttons off with Settings ▸ Window & Panes ▸ Mouse side buttons select the previous / next pane (mouse:sidebuttons); the page then keeps its own history on those buttons.

Panes glide into place when a pane opens, closes, is minimized or restored, or when two panes are swapped, and a new or restored pane fades in. The glide follows the Animations setting.

Rearrange panes by dragging their headers. You can:

  • Reorder panes within a tab
  • Move panes across tabs
  • Drag panes between windows (cross-window drag supported on all platforms)

While you drag a pane by its header, the other panes move live to show where it will land. Hold it over its own slot and the layout closes over the slot, to show that releasing there tears the pane off into a window. A pane dragged out of the window shows TEAR OFF, in red, in its own place, and the other panes close over its slot; they open again if the pointer comes back or the drag is cancelled. A browser pane in the tab moves with the other panes during the drag. A pane dropped on, or opened in, a tab whose panes are all minimized arrives expanded there. layout:livereflow set to false turns the live layout off and shows the landing rectangle instead (see Animation settings).

Dragging a pane’s tab pill works two ways, by where you hold it. Over another pane’s header, the header glows at its edges in that pane’s colour, and dropping adds the tab to that pane. Over a pane’s body you get the same placement ghost as when dragging a whole pane, and dropping places the tab as a pane of its own there; the middle of the body adds it to that pane’s tabs. While you hold a single tab over another pane’s body, the other panes move live to show where it will land, as they do for a whole pane, and the tab lands where the layout showed it. A pane with two or more tabs can place one of its own tabs this way. Ctrl+click (Cmd+click on macOS) on a pane tab picks it; pick as many as you like, in different panes too. Dragging any picked tab moves all of them into the pane you drop on, and several picked tabs always join the pane under the pointer. Esc or a plain click on a tab clears the pick. A plain click on a tab of a collapsed pane expands the pane; dropping a tab on one does not.

Drop a pane tab’s pill on another window tab in the top bar and that tab moves there (all the picked tabs, if you picked several). Drop a whole pane by its header on a window tab and the pane moves with all its pane tabs, the visible one kept in front.

Drag files from your file manager over AgentMux and it shows where they can go (frontend/app/drag/file-drop.ts, frontend/app/drag/DropIndicator.tsx):

  • Every visible pane that would accept the files gets a faint dashed outline in the theme’s accent colour.
  • The pane under the cursor is tinted and shows what the drop will do, for example “Drop 2 files to attach” or “Copy 2 files to <folder>”.
  • A pane that takes files, but not these ones, shows why instead, for example “The editor opens text files”.

Four pane types take file drops. Other panes (browser, Swarm, Drone and so on) show a “no drop” cursor.

PaneWhat a drop does
AgentAttaches the files to the message you’re writing (see Attaching files). For a container agent, or with attachments:enabled off, it copies them into the agent’s working folder instead and inserts an @name reference for each into the message box.
TerminalCopies the files into the terminal’s working directory. It doesn’t type their paths.
EditorOpens each file in its own tab, in the viewer that fits it: text, image, PDF, audio and video, or a card with the file’s details (see Media). An Editor on an SSH connection takes no drops: the files are on this computer, not on that host (frontend/app/view/editor/editor-model.ts).
FilesCopies the files into the folder it shows, or into the folder row you drop them on. A row dragged from a Files pane to a folder on the same drive is moved instead (frontend/app/view/files/files-view.tsx). Files with no path on disk can’t be copied there.

Copies land directly in the pane’s working folder (crates/common/src/copy_into_dir.rs). A name that is already taken gets a numbered suffix: report.pdf, then report_1.pdf; .env, then .env_1. Folders are copied with everything in them, except symbolic links. Pasting files into a container agent’s message box copies them the same way, with the same notices and @name references.

If the operating system doesn’t give AgentMux a dropped file’s path, the file’s contents are used instead: they’re copied into the working folder or attached. The Editor opens a text file as an untitled tab and shows anything else from its bytes, but such a tab can’t follow its folder.

dnd:enabled turns off drops onto agent and terminal panes; see the file drop settings.

Press Esc while dragging a window tab or a pane tab out of the window to cancel the drag, on Windows, macOS and Linux. To move a window tab into another AgentMux window instead, drop it on that window’s tab strip: the tab joins that window. Dropped anywhere else, it tears off, as in Chrome.

Drag a tab below the tab bar to move it into a new window of its own, in a new workspace. The window runs in the same AgentMux processes as the one it came from (same backend, settings, agents and browser profile); it is not a separate instance. Supported on Windows, macOS and Linux (Wayland). See Multi-instance & dev mode for the full gesture.

Drag a pane header outside the window to tear it off into a floating window — a detached window owned by the same AgentMux instance that shares the same backend sidecar. It is not a new instance; it’s a standalone window holding the pane you tore off.

ControlBehavior
Drag pane header outside the windowTears the pane into a floating window at the same size as the original pane
Ctrl+click (Cmd+click on macOS) on a link, a widget, a palette entry or a fileOpens the pane that click opens as a floating window, instead of in the current tab
Drag the floating title barMove the floating window freely across monitors
Drag near a target window (slow to ≤400 px/s)Dock indicator appears after 300 ms at that speed; release to dock
Maximize button in floater title barExpands the floater to the monitor work area; click again to restore
Tack button (thumbtack, “Always on top”), next to Maximize — Windows onlyKeeps the floater above every AgentMux window. The button lights up in the theme colour while on. It applies only while AgentMux is the active app, so switching to another app lets that app cover it, and two tacked floaters behave normally toward each other. The tack survives a reload of the pane and is dropped when the pane is redocked (frontend/app/block/floating-ontop.tsx).
Close button in floater title barCloses the pane (same as closing a docked pane)

An agent can also open, place, resize, dock and float these windows: see Floating panes for agents.

Every floating window is fully independent. Each one carries its own backend workspace, tab, and block state, so closing one window — or closing a pane inside it — never closes another window or affects the panes living elsewhere. A floating window only auto-closes when its own last pane is removed (the empty window has nothing left to show, so it tidies itself up).

This independence is structural: each floater is an unowned top-level window rather than a child of the window it came from, so there’s no cross-window cascade. Minimize, restore, and close are handled per source window explicitly, never propagated across separate floaters. See crates/cef/src/floating_pane.rs and floating-pane-workspace.tsx for the lifecycle.

Tear-off works from every window, not just the first one you opened — the main window and any secondary window alike. Grab a pane’s header and drag it out to spin it into a floating window. A torn-off pane keeps its identity, so you can keep moving it from window to window without it losing state.

Redock gesture: drag the floating pane’s title bar close to any open AgentMux window — including secondary windows — and a dock indicator appears once your cursor has stayed near that window for 300 ms at a slow-to-stopped speed (≤400 CSS px/s). The dwell gate prevents accidental docking during fast transits across the screen. Release while the indicator is showing to dock the pane into that window.

Redock resolves correctly into secondary windows because every window — including ones promoted from the prewarm pool — carries a stable backend identity (backend_window_id), so the drop target is always unambiguous. The resolution logic lives in commands/window/motion.rs.

Because torn-off panes keep their identity, you can move a pane freely between windows: tear it off, dock it into another window, tear it off again, and dock it somewhere else. The pane’s state travels with it the whole way.

New windows and torn-off panes are served from a hidden prewarm pool — a small set of pre-spawned, already-painted windows kept off-screen and ready to go. On tear-off, AgentMux promotes a pooled window in place instead of cold-starting a fresh one, which avoids the 150-300 ms gap that spawning a renderer process and painting the first frame would otherwise cost. The pool refills in the background after each use. On Windows this uses native WS_POPUP pool windows (CreatePanePoolWindowWin32Task in crates/cef/src/floating_pane.rs); macOS and Linux use frameless CEF Views windows. Pooled windows stay hidden until they’re promoted. Promotion is wired through commands/window_pool.rs.

Pooled windows are created with a dark theme background, so tearing off a pane comes up clean rather than briefly flashing white before the pane content paints.