Browser pane
The browser pane (view browser) embeds a real Chromium browser through CEF, not an iframe. Sites load with their own cookies, storage and scripts, the same as in a Chromium tab.
How it is embedded depends on the platform:
- Windows: a CEF browser window placed as a child window inside the AgentMux window (
crates/cef/src/browser_pane/creation.rs). - macOS and Linux: a CEF browser view laid over the AgentMux window (
crates/cef/src/browser_pane/creation_views.rs).
Some things differ from a normal browser tab:
- A link that opens a new tab (
target="_blank") opens as a pane tab in the same pane when you click it and it stays on the page’s own site. A link to another site loads in the current tab. See New windows and popups. - Popups to other web sites open in your system browser, except sign-in popups and popups from the page’s own site (see the same section).
- The pane won’t navigate to
file:URLs or other schemes that would hand off to the operating system. - A browser pane can’t be made narrower than 250 px.
Opening a browser pane
Section titled “Opening a browser pane”- Click Browser in the widget bar. It is pinned by default (
crates/srv-core/src/config/widgets.json,defwidget@browser); if you’ve unpinned it, click more at the end of the widget bar and choose Browser. - Click + on any pane’s tab strip and pick Browser to open it as a tab in that pane.
- Press
Ctrl+Shift+K(⌃⇧Kon macOS) to replace the focused pane with a Shortcuts pane, then choose Browser. - From an AgentMux terminal:
muxsh web <url>opens the URL in a browser pane split to the right of the terminal (--split left|down|upto change that,--floatingfor a floating window,--titleto name it). The URL is completed the same way as in the address bar, and the new pane is focused with the keyboard in the page unless you pass--no-focus(crates/srv-core/src/backend/shellintegration/muxsh.mjs). - From MuxAPI:
pane.openwithview: "browser"and aurl, which is required for this view.
The Messengers widget (Discord, Slack, Telegram, WhatsApp, Teams) opens browser panes too, with the navigation bar hidden.
Home page
Section titled “Home page”A new browser pane opens its configured URL if it has one, otherwise your Home page, otherwise https://agentmux.ai (frontend/app/view/browser/browser-model.ts). To choose your Home page, see Bookmarks and Home page. For a blank pane, open about:blank. A pane on about:blank shows the faded AgentMux logo, the same mark an empty Editor shows, until a page has loaded.
Navigation bar
Section titled “Navigation bar”| Control | Action |
|---|---|
| ← / → | Back / Forward. Disabled when there’s nowhere to go. |
| ↻ | Reload. While a page is loading it becomes ✕ (Stop loading), and a press stops the load. |
| Home (house icon) | Opens your Home page. Right-click it for Set this page as Home. |
| Address bar | Enter a URL or search terms (“Enter URL or search…”). Enter loads it; there is no Go button. |
| Bookmark icon | Opens the bookmarks menu |
| Profile button | Shows who the tab is browsing as, and opens a new tab as someone else. See Profiles and Incognito. |
The bookmark and profile buttons sit at the right end, bookmarks just left of profile. In a pane narrower than about 390 px the buttons stay in one row and the address bar takes a full-width row under them. Ctrl+scroll over the toolbar zooms AgentMux’s own interface, not the page (see Zoom).
Clicking into the address bar selects the whole address, as in Chrome, so typing replaces it. A second click places the cursor, and a drag selects just what you drag over.
Suggestions as you type
Section titled “Suggestions as you type”The address bar suggests as you type, from Chrome’s own engine:
- your history and the addresses you typed before, with the best match completed inline (type
gitand it may complete togithub.com); - a “search for what you typed” entry;
- your search engine’s suggestions.
Use the arrow keys to move through the list; the address bar shows the highlighted entry. Enter opens the highlighted entry, or the engine’s best match when nothing is highlighted. Esc closes the list and puts back what you typed. Leaving the address bar without choosing shows the page’s own address again.
Asking your search engine for suggestions sends it what you type before you press Enter, as Chrome does. It’s on by default. To keep suggestions to this computer (your history and typed addresses), turn off Settings ▸ Browser ▸ Search suggestions while typing (browser:searchsuggestions). Incognito tabs never ask the search engine, as in Chrome.
If suggestions aren’t available, the address bar keeps anything starting with http://, https:// or about:. Otherwise, if what you typed contains a dot and no spaces, https:// is added in front. Anything else is sent to Google search.
The pane title follows the page title, and shows the host name while a page is loading. The pane icon, and the icon on the pane’s tab, is the site’s favicon. A generic globe stands in when the site has none, or when its icon fails to load, so the slot is never blank. A tab in a named profile keeps the site’s icon too, with a small dot at its bottom-right in the profile’s colour; an Incognito tab’s dot is grey, and a Personal tab has none. Hover the tab for the profile’s name. After the first paint, a small loading mark shows in the top-right corner of the page while it loads.
Keyboard shortcuts
Section titled “Keyboard shortcuts”These shortcuts are handled by AgentMux itself (crates/cef/src/client/handlers.rs), so they work while the page has focus. The page doesn’t receive them.
| Shortcut | Action |
|---|---|
Ctrl+L (Cmd+L on macOS) | Focus the address bar and select its contents |
Ctrl+R (Cmd+R on macOS) | Reload |
Alt+Left | Back |
Alt+Right | Forward |
Alt+Home | Home page |
Ctrl+Shift+N (Cmd+Shift+N on macOS) | Open a new Incognito tab in this pane |
Ctrl+T (Cmd+T on macOS) | Open a new tab in this pane, at the current page (or your Home page) |
Ctrl+W (Cmd+W on macOS) | Close this tab. The pane’s last tab stays: a note says so, and the pane’s ✕ closes the pane |
Ctrl+F (Cmd+F on macOS) | Open the find bar over the page. It searches the page as you type and shows the match count; pressing the key again puts the cursor back in its box |
A key you have bound in Settings ▸ Keyboard shortcuts is forwarded out of a focused browser pane and does what the binding says in AgentMux; a key you have unbound goes back to the page.
Ctrl+Shift+N opens an Incognito tab whether the page, the address bar or the toolbar has the keyboard. Outside a browser pane, the same keys open a new AgentMux window. Apart from Ctrl+Shift+N, with Shift held (for example Ctrl+Shift+R), AgentMux doesn’t intercept these keys and leaves them to Chromium. The browser has no page tabs of its own; its tabs are pane tabs.
A new browser pane that opens as the selected pane puts the keyboard straight into the page as soon as the page is created, unless you have already clicked into its address bar. Clicking in the page gives it the keyboard; clicking AgentMux’s own interface takes it back.
Ctrl+scroll over the page is Chromium’s per-site page zoom, as in Chrome:
- The zoom belongs to the site (its host) and the profile. Every pane on that site in that profile shares it, and a page opens at its zoom with no flash at 100% on each navigation.
- It is kept with the profile, so Personal and your own profiles keep it across a restart. An Incognito tab forgets it when it closes.
- On Windows a step is 5%, between 50% and 200%. On macOS and Linux Chromium’s own steps apply.
Ctrl+scroll over the toolbar or the pane header zooms AgentMux’s own interface instead (see Zoom system). AgentMux doesn’t take the keyboard zoom keys (Ctrl+=, Ctrl+-, Ctrl+0) from a focused page. The Browser pane is the one pane that doesn’t use AgentMux’s own pane zoom.
Bookmarks and Home page
Section titled “Bookmarks and Home page”The bookmark button next to Home opens a menu (frontend/app/view/browser/browser-nav-bar.tsx). While a page is loaded it shows:
- Set as Home Page (reads This Is Your Home Page when the current page already is);
- Bookmark This Page, or Remove Bookmark if the page is already bookmarked;
- your bookmarks, each with its favicon and title. Click one to open it. With none saved, the list shows No bookmarks yet.
There is no bookmarks bar. To remove a bookmark, open that page and choose Remove Bookmark.
Bookmarks and the Home page are shared by every browser pane and every AgentMux channel on your machine. They are stored in ~/.agentmux/shared/browser-bookmarks.json and ~/.agentmux/shared/browser-start-page.json.
Profiles and Incognito
Section titled “Profiles and Incognito”Every browser tab browses as one identity, which never changes. The Profile button in the toolbar names it and opens a menu (frontend/app/view/browser/browser-profile-menu.tsx):
- Open new Incognito tab (
Ctrl+Shift+N,Cmd+Shift+Non macOS); - Personal, and each profile you created;
- New profile…, which asks for a name and a colour (one of the 14 palette colours) in a dialog that covers only this pane, so the rest of AgentMux stays usable while it is open;
- Manage profiles…, which opens Settings ▸ Browser in the window you clicked in.
Choosing an entry opens a new tab in the same pane, at the current page (or your Home page), as that identity. The tab you were on stays as it was.
- Personal is the identity every tab starts with: your saved sign-ins. Its tabs carry no dot.
- A profile keeps its own sign-ins, cookies and site data on disk, apart from Personal and the other profiles, so one site can be open as two accounts side by side. Create one from New profile…. A new profile opens at your Home page, since it is signed in nowhere. Rename, recolour, delete and allow agents to use them in Settings ▸ Browser. Deleting a profile closes its tabs and signs it out; if it has saved sign-ins, you choose Move them to Personal or Delete them too.
- An agent’s browser pane (
Browseropen) browses with a profile of the agent’s own by default, named after the agent and kept between panes, restarts and upgrades (the same for an agent on your computer and a container agent). The answer toopensays which one the pane got, and itsprofileargument picks another:personalfor your own sign-ins (not for a container agent),incognitofor a fresh jar that is gone when the pane closes, or a profile you have let agents use in Settings ▸ Browser. - An Incognito tab has its own cookie jar, separate from your normal browsing and from every other Incognito tab. Nothing is saved, and it’s gone when the tab closes.
An agent can browse as a profile only if you switch on Agents may use it for that profile in Settings ▸ Browser.
Camera, microphone and screen sharing
Section titled “Camera, microphone and screen sharing”When a page asks for the camera, microphone or screen, AgentMux shows a prompt in the AgentMux window, not inside the page (crates/cef/src/browser_panes/media_grants.rs, frontend/app/window/pane-media-permission-prompt.tsx):
- The prompt reads “site wants to use your camera” (or microphone, screen contents, system audio), with Allow and Don’t allow.
Escor clicking outside it means Don’t allow. - A prompt left unanswered for 60 seconds is denied.
- A grant covers one site in one pane, and only the devices it asked for. It lasts until the pane is closed or moved to another window; nothing is saved to disk.
In a pane an agent drives, a page’s camera, microphone, location or notification request doesn’t show this prompt. The request is denied at once and the agent is told. AgentMux files it as a sensitive operation, with a countdown you can veto and the super agent reviews. When the countdown ends unvetoed, the site is allowed for 30 minutes, and the page’s next request goes through without asking again. Screen and system-audio sharing aren’t offered in such a pane.
While a page is capturing, a red Camera in use, Microphone in use or Camera and microphone in use indicator appears at the bottom-right of the window. Its Stop button asks you to confirm (“Stop camera and microphone access?”, Stop and reload), then removes all of that pane’s grants and reloads the page to end the capture.
Limitations:
- Prompts only appear in regular AgentMux windows. A browser pane in a floating window doesn’t show the prompt, so its request is denied after 60 seconds.
- The packaged macOS app declares microphone access for the operating system but not camera access, so macOS may block camera use.
Sign-in prompts (HTTP authentication)
Section titled “Sign-in prompts (HTTP authentication)”When a site or proxy asks for HTTP authentication, a sign-in dialog appears over that pane only; the rest of AgentMux stays usable (frontend/app/view/browser/components/BrowserAuthModal.tsx). It shows “origin says: realm”, Username and Password fields, a Save this credential checkbox (off by default), and Cancel / Sign in.
A saved credential goes into the Vault as a Login entry that belongs to the profile of the tab that asked: Personal for a normal tab, or the named profile. An Incognito tab never saves one, and the Save this credential checkbox does nothing there. Saving the same user again replaces the password (the old one is kept as a version for 7 days); another user on the same site gets an entry of its own. The entry records the site, the realm the site named and, for a proxy, the proxy, and only tabs of that profile are offered it.
When a saved credential matches a later request, AgentMux asks before using it, in a small separate window: “Use saved sign-in?” with Approve and Deny. This means an agent controlling the pane never sees the password. The request is denied if you don’t answer within 60 seconds. If the site asks again within 15 seconds of an automatic sign-in, it has turned the password down: the manual dialog appears instead, and the entry is kept, marked “the site refused it: check the password”, and not offered again until you save a new password for that user.
Each sign-in appears in the Vault with the other logins, where you can change or delete it, and each use is in the Vault’s Activity as “signed in”, with the site. A sign-in that is not in the Vault can’t be listed: enter it once and it is saved there.
Sign-ins on web pages
Section titled “Sign-ins on web pages”A browser pane notices when you sign in to a site with a form, and offers to save it to the Vault. It also fills a saved sign-in into a form when you pick it. AgentMux turns Chromium’s own password manager and autofill off in every pane, Incognito tabs included, so Chromium’s own “save password” prompts never appear; this is the replacement.
Saving. After you send a form that has one password field, a bar appears under the navigation bar once the page moves on (or the password field leaves the page): “Save the sign-in for https://example.com (al***) to the Vault?” The user name is shown masked, to its first two characters. The bar has Save, Never for this site and Not now.
- Save stores a Login entry in the Vault, for the profile of the tab you are in (Personal, or a named profile). If that profile already holds a password for the same user on the site, the bar reads “Update the saved password for …?” and Update replaces it.
- Never for this site stops the offer for that site in that profile.
- Not now drops it. The offer also goes by itself after 2 minutes or when you move on to another page. AgentMux keeps the user name and password in memory until then and writes them nowhere else.
The offer is for a sign-in, not a sign-up: a form with two or three password fields, or one marked as a new password, is skipped. Only your own click or key press counts as sending the form: a page that submits one by script is ignored. A site that asks for the user name first and the password on the next step is saved as one sign-in. A site gets at most one offer every 15 seconds, and the offer names the exact site the form belongs to, which the page cannot change. An Incognito tab never offers to save.
Filling. When the page shows a sign-in form and the Vault holds a Login for exactly that site in the tab’s profile, a key button appears next to the profile button in the navigation bar, with a count when there are two or more. It opens a menu such as “Sign in as al***”; when the page has forms of more than one site, each item also names its site. Choosing one fills the user name and the password into the form’s fields, and it is recorded in the Vault’s Activity as “signed in”. Your choice in the menu is the approval: an agent driving the pane cannot click it, and the password is never sent to the agent or shown on the page. The button shows only for https sites and for http on this computer, never for Incognito, never for the HTTP sign-ins above, and not for a sign-in marked as refused by its site. It fills the form and does not submit it.
Choosing a password for a sign-up. When you click into a field for a new password on a sign-up form, the key button appears with Use a strong password (saved to the Vault). Choosing it makes a password that follows the field’s own rules (its length limits and its passwordrules, when the page gives them), keeps it in the Vault as a Login before the site sees it, and fills the new-password field and the confirm field beside it. The entry is marked “unconfirmed: made on sign-up, not yet sent” until you send the form with that password; then it records the user name you sent and the mark goes. If the site refuses the password and you choose the item again, the new password replaces the unconfirmed one, and the refused one stays as an earlier value. A form you don’t send within 30 minutes leaves the entry in the Vault, unconfirmed. If the field’s rules leave no strong password, none is made and the key button’s tooltip says why. It is offered on the same pages as the sign-in fill, and never in an Incognito tab. As with the sign-in fill, an agent cannot choose it.
New windows and popups
Section titled “New windows and popups”What a page gets when it asks for a new window depends on what it asked for. A new window is only opened inside AgentMux when you caused it with a click or key press, it is an http or https page, and either it is on the same site as the page that opened it or an agent owns the pane. A pane may have at most 8 popup windows and 8 popup panes open at once (crates/common/src/popup_rules.rs, crates/cef/src/client/popup_route.rs).
| The page asks for | If it is allowed | If not |
|---|---|---|
A new tab (target="_blank", window.open(url), a middle-click) | Opens as a pane tab in the same pane | The link loads in the current tab |
A new window (shift-click, some window.open calls) | Opens as a browser pane beside this one | Opens in your system browser |
A popup (window.open with a size or popup features) | Opens as a real popup window | Opens in your system browser |
A sign-in popup is always a real popup window, even when it is on another site. It must be a popup, go to a known sign-in provider such as Google, GitHub, Microsoft, Apple, Okta or Auth0, and its URL must look like an OAuth authorization request. The popup shares the pane’s cookies and session, so the page’s sign-in completes normally, and closing the popup closes only the popup.
A page on a known sign-in provider that your click opens as a tab (a link with target="_blank", or window.open(url) with no features) also opens as a popup window with its opener, because a sign-in step often talks back to the page that opened it. It needs your click or key press, and the pane must be under its popup limit.
A popup window is listed in a strip under the toolbar (“Popup window: address”) with Show and Close. A page on this computer (a local dev server) can open a new window only to its own address, and never to one of AgentMux’s own. In a pane an agent limited to some sites, a popup the agent causes to another site waits for your Allow in the pane. A link you click yourself there opens a pane of your own, with no site limit and no agent driving it, so a sign-in that passes through several sites (an email link into a Microsoft or Google sign-in, say) isn’t stopped at each hop. A click counts as yours when the agent hasn’t used the pane in the last 10 seconds; if it could be either, it counts as the agent’s and the limit stays.
Load failures
Section titled “Load failures”If a page hasn’t loaded after 20 seconds, the pane stops waiting and shows an error page in the style of Chrome’s “This site can’t be reached”, with a Retry button. Redirects don’t reset the 20-second limit. Other load failures (DNS, TLS, blocked requests) use the same error page. The pane never retries on its own. The address bar keeps showing the address that failed, and that is the address the pane saves, so a restored pane tries the same page again.
Downloads
Section titled “Downloads”A download starts the operating system’s Save As dialog, named after the file, in the folder you saved to last (the Downloads folder the first time). The page never chooses where a file goes. Cancel the dialog and nothing is saved. On Linux the dialog is AgentMux’s own, not the system’s. A page that starts several downloads at once gets one dialog at a time, one file after another; each still asks.
In a pane an agent opened, a download is saved without a dialog into the downloads folder of the agent’s workspace, and the agent is told what was saved or why it wasn’t. This stops once you take the pane over, and a pane of your own always asks. Turn it off with browser:downloadagentsave (on by default) to be asked in the dialog there too.
Once you save, a strip under the toolbar lists the download (crates/cef/src/client/downloads.rs, frontend/app/view/browser/download-strip.tsx):
- while it runs, its name and progress, with Cancel;
- when it is saved, the word “saved” and Show in folder, which reveals the file in your file manager;
- if it fails, the reason in words. Nothing is retried; the page’s link is still there.
A finished or cancelled line folds away after about 20 seconds, and Hide removes any line that has ended. The strip keeps at most six lines: past that the oldest line that has ended goes, and a download that is still running is never dropped. When more downloads than a pane can queue for a dialog are waiting, the extras are ignored and one line says so. The strip is part of AgentMux’s pane, outside the page, so a page can’t imitate it.
Context menu
Section titled “Context menu”Right-clicking inside a page shows AgentMux’s menu instead of Chromium’s (frontend/app/view/browser/browser-model.ts, getBodyContextMenuItems):
- Back, Forward, Reload
- Cut, Copy, Paste, when you right-click a selection or a text field
- Copy Link Address and Save link as…, over a link; Save image as…, over an image. Both start a download of that address in the pane, which asks where to save it like any other
- View Page Source and Inspect Element, only with Dev mode on (Settings ▸ Advanced; on by default in a development build, off in the installed app)
- The standard pane items: Copy, Split Right, Split Down, Magnify Pane, Minimize to Header (when the tab has other panes), Close Pane, and, with Dev mode on, a second Inspect Element
With Dev mode on, the first Inspect Element opens Chromium DevTools for the page at the element you clicked. The second, from the standard pane items, inspects AgentMux’s own interface instead. View Page Source shows the source in the same pane, as a normal history entry.
If the menu can’t be shown, you get Chromium’s native menu instead.
Platform differences
Section titled “Platform differences”- Selecting a pane by clicking in the page works on Windows and macOS. On Linux, clicking inside a page doesn’t make that pane the focused pane and doesn’t close open AgentMux menus; click the pane’s header instead.
- Menus over a page: a web page draws on top of AgentMux’s own menus unless AgentMux makes room. On Windows, macOS and Linux, AgentMux cuts the area under a menu, tooltip or dialog out of the page, and the rest of the page stays live.
Escor a click in the page closes the menu.
Dragging over a browser pane
Section titled “Dragging over a browser pane”When you drag a pane, a pane tab or a window tab over a browser pane, the page is replaced by a still snapshot of itself for the duration of the drag, so the drop preview shows and the drop lands, including a tab dropped onto the page (frontend/app/view/browser/browser-view.tsx). This works on every platform.
Closing a pane with unsaved changes
Section titled “Closing a pane with unsaved changes”If a page may have unsaved changes (it would ask “Leave site?”), closing its pane asks first in AgentMux’s own dialog, not in a box from the page. The dialog covers that pane only: the rest of the tab and the window stay usable while it waits. It reads “Close this pane?” with “site may have unsaved changes.”, and Keep open and Close anyway buttons. Only a close you make asks. A close by an agent, or by quitting AgentMux, just closes.
What a pane keeps
Section titled “What a pane keeps”Only the current URL is saved with the pane. Switching to another window tab and back keeps the page as it was. So does switching between pane tabs in the same pane: a browser tab stays loaded while another tab is showing, keeping its scroll position, form input and history (frontend/app/view/browser/browser.tsx, lifecycle: "keepAlive"). Moving a browser pane to another window creates a fresh browser at the saved URL, so the page reloads and its back/forward history, scroll position and camera/microphone grants are lost. Its zoom isn’t: that belongs to the site and the profile.
A pane that stays out of sight for a while (30 minutes by default) goes to sleep to free its memory, and loads again when you are about to look at it. While it sleeps, the pane shows a card that says why it slept and how much memory that freed. When the computer is low on memory, hidden panes sleep sooner, and the biggest ones first.
Where AgentMux’s browser engine can discard a page in place, a pane that wakes also has its back and forward history, scroll position and anything typed into the page. Otherwise it reloads fresh at the saved address.
A hidden pane stays awake while:
- it plays or captures media, or has something typed into it;
- its page asks before leaving (the “Leave site?” question);
- its page’s title or icon changed in the last 30 minutes, as a chat or an inbox does;
- it shows a local development server, has a popup window open, or is waiting for you;
- an agent has used it within
browser:hibernateafterminutes (at least 1).
An agent’s pane that the agent has left alone for that long goes to sleep like any other, and the agent’s next Browser call wakes it. See Hibernate hidden browser panes in Browser settings.
Driving the browser from an agent
Section titled “Driving the browser from an agent”Agents control a browser pane with the Browser MCP tool. It works on a browser pane the agent opened itself (Browser open) and on the agent’s own pane when that is a browser pane. A pane the agent didn’t open, it takes with Browser take_control, naming the pane (Pane layout shows who drives each browser pane), and lets go with release. AgentMux asks you first, in the pane, when the pane shows your own sign-ins (the Personal profile), when another agent drives it, or when you used it a moment ago; you have 120 seconds to answer. A container agent can’t take a pane that shows your Personal sign-ins. An agent reads a page as a snapshot, an accessibility tree with a reference on each element it can act on, and acts by reference: click, fill, select, check, upload files, navigate, wait for text or for the page to settle, and close the pane when it is done. An address the agent reads that carries a sign-in redirect’s one-time values (state, nonce, code, a token and similar, in its query or fragment) is shown to it as its host and path only, so those values never reach its context.
Where an agent’s browser opens:
- The agent’s first browser opens in a pane of its own below the agent’s pane. Its later browsers are new tabs of that pane. A
splitmakes a split beside the agent’s pane instead. - With Settings ▸ Agents ▸ Agent browsers float on (off by default), every browser an agent opens floats in a window of its own instead, up to 4 at a time. An agent that asks for a split or a docked browser keeps its choice. See Floating panes for agents.
- An agent can also open a browser as a background session: a browser no screen shows.
These actions drive Chromium’s DevTools protocol inside the AgentMux process, not over the remote-debugging port, so they work with that port off (crates/cef/src/browser_api/cdp.rs). Each pane resolves to its own page even when two browser panes show the same URL (crates/cef/src/browser_api/resolver.rs). See MuxAPI for the tool reference.
The strip over a driven pane
Section titled “The strip over a driven pane”A pane an agent drives shows a strip under the toolbar: Driven by the agent’s name, and Limited to N sites when the agent opened it for some sites only. Its buttons:
| Button | What it does |
|---|---|
| Log (n) | Lists what the agent did here, newest first: each action, how it went (allowed, approved, auto-approved, declined, refused) and the page. It works while the pane is paused, and stays after you take over. |
| Pause / Resume | Holds the agent’s actions in this pane until you resume. Auto-approve’s clock stops too. |
| Auto-approve | Lets the agent’s clicks go through without asking, for a while. See below. |
| Take over | Ends the agent’s control of this pane; its next action here fails. Once you have left the pane alone for 60 seconds, the agent can take it back with take_control without asking. |
In a pane limited to some sites, a page that goes to another site is stopped, and a banner asks you to Allow or Block it. If the stopped address is the pane’s very first page, or a redirect on the way to it, the pane shows a page headed “AgentMux stopped this page” instead of staying blank. It names the address and lists the pane’s sites, and has Reload and Open in system browser; answer the banner above it to allow the address, or open it yourself.
Asking you, and Auto-approve
Section titled “Asking you, and Auto-approve”- Hand-offs. For a sign-in, a two-factor code, a CAPTCHA, payment details or any field marked secret, the agent hands the pane to you. A banner says what it needs, in the agent’s own words (up to 600 characters; a longer reason is refused and the agent shortens it). Click Done when you have finished, and the agent is told the names of the files you attached in the page’s file inputs, never where they are or what is in them. A file chooser the agent left waiting on the page is let go when the pane is handed to you. An agent can ask for the hand-off to float the pane, so the step is in a window in front of you; the page reloads there. The agent’s answer and the pane’s Log say who answered and how long the banner was up (“the person clicked Done after 7 s”); a Done in under 5 seconds tells the agent to check that the page really changed.
- Committing clicks. A click that submits a form or is named like Submit, Send, Pay, Delete or Confirm waits for you in the pane. A name that saves or changes a setting counts too (Save, Update, Apply, Approve, Enable, Disable, Revoke, Reset, Upgrade), whether or not the button is in a form. The name is the element’s accessible name as well as its own text, so a button named by its title, an image or a child’s label asks too, and so does a click whose name can’t be read. The banner shows what the agent wants to do, why it asks, the form’s fields and where they go (a value the page already had is marked “already on the page”), with Approve and Cancel. The agent’s answer says when you approved the click, and says so when no approval was asked because the click submits no form and its name says nothing that commits.
- Waiting for you. A call that needs your answer (a committing click, a hand-off) waits about 8 seconds, so a quick Approve gives the agent the finished result. If you haven’t answered by then, the agent is told it is waiting for you and ends its turn, so you can ask it questions while you decide. When you answer, AgentMux carries out exactly what you approved, if the page still matches what you saw (a hidden field the page rewrites by itself, such as an anti-forgery token or a timestamp, doesn’t count as a change), and tells the agent how it went: done, declined, timed out, void (the page changed or you took the pane over) or failed. The agent’s other actions on that pane are refused until then. An agent that ended its turn with a request still open shows as waiting for you.
- Auto-approve. For a run of clicks you have asked for, choose Auto-approve in the strip, then 15 min, 1 hour or 4 hours and Turn on auto-approve. Only a pointer click turns it on. For that time, on the sites the pane shows, the agent’s clicks that submit, delete or send go through without asking, and so does the page’s own “Are you sure?” that follows one. It still can’t run scripts, and payments still ask; the banner of a payment says “auto-approve is on for this site, but a payment always asks”. A click on a wallet or plan name with Pay in it that submits nothing (Apple Pay, Kakao Pay, Pay-as-you-go) is not treated as a payment, while a button that submits a form or a description that tells you to pay is. What it may type into password and card fields doesn’t change (see Secrets on a page). The strip turns red and reads Auto-approve on with the time left; Stop auto-approve ends it. If the page leaves the granted sites, auto-approve pauses until it returns. It also ends after 15 minutes without a
Browsercall from its agent on the pane (time spent waiting for you doesn’t count), when you take over, and when the pane closes. A grant lasts what the agent asked for, or less: if the agent asks for fewer minutes than a running grant has left, the grant is cut to that. After you say No to an agent’s request, it can’t ask again on that pane for 10 minutes. - The agent can ask. An agent can ask you to turn auto-approve on, with a reason, for 15, 60 or 240 minutes. The banner offers Allow auto-approve, Always for agent on this site and No.
Standing powers
Section titled “Standing powers”Always for agent on this site keeps the grant. It adds a row to Settings ▸ Browser ▸ Agents on sites, and from then on that agent’s requests for that site are granted at once, with no banner. The strip says “always, until you revoke it in Settings” instead of a time left. Pause and Take over still work in the pane; Revoke in Settings ends the row itself.
Agents on sites lists each row with the agent, the site, when you granted it, and its powers: Committing clicks (always on) and, as checkboxes, Terminal: type and run commands, Terminal: ask me for each line, Enter and Space: press them as the click they are and Uploads: fill a page’s file chooser from its workspace. Revoke ends a row at once, and a call in flight stops. To add one, choose an agent, type a site such as shell.example.com, tick Terminal if you want it, and click Allow. Under Consoles, with the terminal, Google Cloud Shell and Azure Cloud Shell add the sites those consoles use for the agent you chose. Only your own window writes these rows (or your answer Always on a request); no agent can.
With Enter and Space, the agent can press those keys, and each press is taken as the click it is: a form’s default button, a button, a link or a checkbox, checked like any other click (a payment still asks). Any other use of the key is refused. With Uploads, a file chooser the page opens on its own is kept for the agent for 30 seconds, and it fills it with files from its own workspace, as a person’s pick would; without it, the chooser is cancelled the moment it opens.
Under Page permissions in the same place, a row lets a page on a site use the camera, the microphone, the location or notifications in a pane that agent drives, without a countdown each time, until you revoke it. Tick the permissions you mean, choose the agent and site, and click Allow on this site; Revoke ends the row. A row of this kind does not allow committing clicks, and each first use in a pane is in the Audit view. Without a row, the page’s request is held and filed for you to veto.
Make accounts (the Vault makes the password) is a permission in the same list. With it, an agent can create an account on that site with a password the Vault makes (Browser generate_password) without a question each time: the notice with Stop still shows for 10 seconds and each account is in the Vault’s Activity. You set it by answering Always for agent on site when the agent asks, or by ticking it here; Revoke ends it. See How agents use entries.
Web terminals
Section titled “Web terminals”With the Terminal power on a site, an agent can type into a web terminal there, such as Google Cloud Shell, and read what it prints (Browser terminal). It types real keys, one at a time, and presses Enter after each line. Unless the grant asks about each line, there is no question per line, so nobody checks each command: you can read every line in the pane’s Log, and Pause and Take over end it at once. It works only on a site that has the grant, and only with terminals built on xterm.js. AgentMux won’t type text that looks like a credential. Passwords and codes stay yours to type, so run commands that may ask for one (an ssh to another host, say) yourself. What the terminal prints goes back to the agent only and is not written to the Log.
A grant can ask about each line instead: tick Terminal and then and show me each line first when you add it in Settings ▸ Browser ▸ Agents on sites. Then the agent’s line is typed without its Enter, and the pane shows “agent typed a line in the terminal on site and wants to run it” with Run it and Don’t run. Enter goes in only after you click Run it, and only if the terminal still shows the line you were shown. If you click Don’t run, don’t answer within 3 minutes, take over, pause, or the grant ends, what the agent typed is erased.
Secrets on a page
Section titled “Secrets on a page”A card, bank or ID number, a security code or a one-time code a page prints, and the value of a field for one, are hidden from everything the agent reads, shown as [card number hidden] or [code hidden]. Text a page hides with CSS (transparent, zero size, moved off the page) is never returned when it has a secret’s shape or sits in a row, control or label named like a secret (a key, token, password or credential); the agent sees “[hidden text withheld: it may be a secret; use Browser capture to save it]” and a reference to capture it with. A secret a page shows only once, such as a new client secret next to a Copy button, is hidden from the agent’s snapshots and screenshots too, including when the page splits it over highlighted text. The agent sees a placeholder, and can use Browser capture to save it straight into the Vault: it gets the new entry’s id, never the value, and the entry keeps the page’s address. With download, the agent names the button that downloads a file shown once, such as a GitHub App’s private key; AgentMux clicks it and keeps the file’s text in the Vault as a note without writing it to disk. Text with no reference of its own, such as a secret an eye button revealed, is captured by the label beside it (near), with a prefix, shape or length limit so only the value you mean is saved, or from the page’s own Copy button: AgentMux presses it with the page’s copy intercepted, so the system clipboard is never written. A card a page shows (a virtual card, a bank’s show-card-details view) is captured as one new Card entry from the elements that show each part, which are read whole and never returned. Saving a new entry or replacing an existing entry’s value asks nobody, since nothing leaves the Vault; the Vault’s history line records it, and the entry shows as changed by the agent until you mark it seen.
An agent fills a secret field in one of four ways:
- A value it was given. When you gave the agent a value for the task, in your own words or in a record it was handed,
fillwith that text can set a password, one-time code, card, bank account or taxpayer ID field. It works only in a pane the agent opened limited to some sites, for a page of a listed site over https (or on this computer). A pane with no list of sites, such as one of your own tabs, refuses these fields, and so does a field the Vault filled, or any page that already holds a Vault-filled field. The field is set directly, in one step, and nothing of the value comes back to the agent. The pane’s Log records the kind of field (“password field, filled from the agent’s text”), never the value or its length. A click that submits a form which sends its fields to a different site than the page’s always asks you, even under Auto-approve. - From your Vault.
fillwith a Vault entry asks where the value may go (the site and the field). Once you approve, AgentMux sets the value on that field in one step, after checking it is still the approved field in a page of the approved site, so a page can’t send it to another field by moving the focus. It never fills a password or a one-time code this way. A card is filled whole into the card fields of a payment form after one question, including a field inside a payment provider’s frame (Stripe, Braintree, Adyen), which is asked about and granted as that frame on that page. When you have no saved card, the agent can ask you to type one (request_value, kindcard) in a card form in AgentMux’s own prompt, which fills the page’s card fields and keeps the card in the Vault only if you tick Save to the Vault. See How agents use entries. - A new account’s password.
generate_passwordon a sign-up form’s new-password field asks you (Allow once, Deny or Always for agent on site), then the pane shows a notice with Stop for 10 seconds before the Vault makes the password, keeps it as a Login and types it into the field and its confirmation. The agent never sees it. On a form that also asks for the current password it changes the account’s password, asks every time, and keeps the new password beside the saved one until the form is sent with it. - With a saved sign-in.
signintypes a Login you saved in the Vault for this site and this tab’s profile into the sign-in form the page shows now, and the agent never sees the user name or the password. You are asked the first time, with Deny, Allow once and Always for agent on site. Under an Always, the pane shows “agent is signing in to site as al*** with your saved sign-in” with a Stop button for 5 seconds before it types. The agent then submits the form itself, with the usual question for a click that submits. An Incognito tab uses Personal’s sign-in and asks each time.
An agent’s use of a Vault entry goes ahead once if nobody answers within 30 seconds, for an API key, a Login or a note; an ID or card entry waits for your yes. See How agents use entries.
Uploading files, forms and frames
Section titled “Uploading files, forms and frames”- Uploads.
set_filesputs files into a file input, and also works on the button or label that opens a page’s file chooser (a hidden input, or one the page makes on click). With the Uploads power on the site,set_fileswithchooser: truefills the chooser the page opened on its own. A snapshot lists hidden file inputs asfile input (hidden). It also works on an upload field inside an iframe, from this site or another; a frame outside a limited pane’s sites is refused, and the error names the site to add. Up to 10 files and 25 MB in all, from the agent’s own workspace, and every upload is logged. - Fill.
fillinserts the text into the field. If the field ignores inserted text, as a masked input does, the field is cleared and the text is typed into it key by key. If it still takes nothing, AgentMux sets the value directly and says so in its answer, because the page may reject that value. The answer says how the field was filled, and warns when the page changed the text, for instance cut it to a limit or reformatted it with a mask. Text longer than the field’smaxlengthis refused, and nothing is typed. - Select.
selectworks on a native list and on a custom dropdown (a control with thecomboboxrole, or one that opens a listbox), including one that draws its options in a layer elsewhere on the page. If no option matches, AgentMux types the text into the control and takes the first match. - Long dropdowns. A closed dropdown with more than 12 options shows as
[N options]in a snapshot instead of one line per option. A snapshot withscopeon the dropdown lists them. - Changed pages. A click on an element the page has removed since the snapshot fails with “the page changed since the snapshot (the element is gone); take a new snapshot”.
- Frames. A snapshot waits briefly for iframes that are still loading, so a step that loads inside a frame isn’t read as empty. References inside a frame look like
f1e3, andscopealso takes one, such asf1e12.e1. In a pane limited to some sites, frames from other sites show their contents with no references. - Waiting.
waitwaits for text in the page, for the address to contain some text, for an element to leave, or, withuntil_state, for the page to beloaded oridle(loaded and unchanged for about half a second). With nothing to wait for it waits foridle. The sameuntil_*options can follow a click, fill, select, check, key or navigation in the same call. - After an action. A click, fill, select or check answers with where the page is now (its address and title), and says when the address moved, so the agent doesn’t need a snapshot to learn that a click navigated; a click that starts a navigation answers with the page it landed on, not the page it left. With
snapshot: true, the page is read after it has settled (for up to 3 seconds), not while it is still loading.waittakessnapshot: truetoo: it waits, then reads the page in the same answer. - Clicks that don’t land. A click on a page that isn’t being shown (a minimized or covered window) is refused with a note to bring the pane into view, and a click the page never receives is reported as not delivered, so the agent doesn’t take it for done.
- Keys.
keyanswers with what the key did to a custom list that kept focus: that the list closed or opened, or took an option, instead of reporting that the focused field did not change. - Labels and unnamed controls. A snapshot shows the text of a label that no field is named by (a sentence beside a Yes, update button), and doesn’t repeat a label’s text when the label wraps a field that has a value. A control with no accessible name, such as an icon button, is listed as
(no name; …)with a hint taken from its tooltip or its icon. - Long text and hidden text. A snapshot shows at most 160 characters of one text, name or value and ends a longer one in an ellipsis;
max_textraises that up to 8,000 so the agent can read a whole email or policy, withscopeon the part it wants. The whole snapshot is capped at 40 KB.scopeandfindalso reach a paragraph by the text it holds. A snapshot andfindleave out text the page hides with CSS (fully transparent, zero size, or moved off the page), so a template the page shows later isn’t read as content;include_hiddenlists it, and a hidden control the agent can act on is always listed. - Closing. When its job is done, an agent closes a pane it opened with
Browserclose. It must name the pane, so it can never close its own, and it can’t close a pane it doesn’t drive. Only the tab it names closes: the other tabs of that pane stay, and the pane closes with it only when it was the last tab. You have 10 seconds to keep the tab open, and the agent is told whether you did.
Pause all agent browsing
Section titled “Pause all agent browsing”An emergency stop for every pane an agent drives. While it is on, each of those panes refuses every call the agent makes, and the clocks of Auto-approve grants stand still. Turn it on or off with:
- the Pause all agent browsing switch in Settings ▸ Browser;
- Pause all agent browsing and Resume agent browsing in the command palette;
- the status bar, which shows Agent browsing paused by you. Resume while it is on, and resumes with one click.
It stays on after a restart until you turn it off. A pane’s strip reads “Paused for every pane” while it is on, and Resume there turns it off for every pane.
It records who paused it. When you did, the status bar reads Agent browsing paused by you. Resume; an agent can turn it on too, and then the status bar, the strip’s Resume tooltip and each pane’s Log name that agent (“Agent browsing paused by agent”). An agent can’t turn it off. To lift a pause, it files the resume_agent_browsing operation with the Sensitive tool: the super agent reviews it, you see a banner naming the agent with a 30-second countdown and Keep paused and Resume now buttons, and browsing resumes when the countdown ends unless you keep it paused. A resume is recorded as that agent’s, never as yours, and one asked for before a newer pause doesn’t undo that pause.
Internals
Section titled “Internals”The renderer controls each browser pane through host IPC commands (crates/cef/src/ipc.rs). Examples: browser_pane_create, browser_pane_navigate, browser_pane_resize, browser_pane_go_back, browser_pane_go_forward, browser_pane_reload, browser_pane_focus and browser_pane_close. Other IPC commands handle printing, view-source, inspect, clipboard and the authentication prompt. Agents don’t use these commands.
Per-pane browser state (URL, title, favicon, loading and error state, back/forward availability) lives in a reducer (frontend/app/store/browser-pane-state/reducer.ts, wrapped per pane by frontend/app/store/browser-pane-state-store.ts); the view model reads it from there. On Windows and macOS, a click inside the page sends a browser-pane-clicked event. The reducer turns it into a focus change for that pane, and a separate listener closes any open menus. See Reducer stack.
On Windows and macOS, the address bar and the page compete for keyboard focus at the OS level. Pressing the mouse on the address bar moves OS focus back to the AgentMux window before the text field takes focus, so typed characters go to the address bar and not to the page.
See also
Section titled “See also”- Pane types — full pane catalog
- Reducer stack — the browser-pane reducer
- Architecture overview — host / sidecar / renderer split
docs/specs/SPEC_BROWSER_PANE_UNIFIED_CONTEXT_MENU_2026_08_15.mdin the main repo — the context-menu design