Skip to content

Browser ​

The browser is a capability an agent can have: its own Chrome on its machine. With the browser on, the agent gets tools to open pages, read them, click, type, and run JavaScript. The operator watches the same Chrome live in the agent's Browser tab, and can take over the keyboard and mouse.

The browser keeps its profile in the agent's home. Sites the operator logs the agent in to stay logged in across runs.

When you use it ​

Turn the browser on when the agent works on websites that have no connector: reading a dashboard, filling a form, checking a web front end. A subscription agent that debugs a web page in its repositories can have the browser on too (Code work).

Use the Browser tab to log the agent in to a site once. The login stays in its profile, so later runs start logged in.

How it works ​

One Chrome per agent ​

Each agent with the browser on has its own Chrome. Two agents on one machine each have their own Chrome, profile, logins, and tab. So they can hold two accounts on one site.

The agent's slot on its machine sets the Chrome's display and ports (Machines). The display is a virtual screen of 1280×720.

The step-by-step tools drive Chrome with Playwright, inside the machine. browse runs fastbrowse in the orchestrator. It reaches the same Chrome through the slot's DevTools relay. The keys browse uses stay in the orchestrator: the machine sees only DevTools traffic.

When Chrome runs ​

Chrome starts on a browser call while it is down, or when the operator opens its Browser tab. Opening the tab wakes the machine first if it is down. Chrome stops 5 minutes after the agent's last browser call or the operator's last input in the tab. Each step of a running browse call counts as a browser call. Its profile and logins stay in the agent's home.

Turning the browser off, or changing its language, stops that agent's Chrome only. Other agents on the machine keep theirs. The next start uses the new settings.

Language and timezone ​

The browser language sets Chrome's interface language and the language sites see. It is en-US by default. The timezone comes from the machine's public IP address, not from a setting.

The browser tools ​

With the browser on, the agent's runs offer the browser tools of its mode (Native tools): the eight step-by-step tools, which drive the agent's Chrome through Playwright, or, with the agent-optimized browser on and the System One platform key on, browse and browser_eval. The agent's standing prompt describes the tools of that mode. The browser is not a binding: the switches alone decide which of these tools are offered, whatever the bindings say.

Machine size ​

An agent with the browser on needs at least 1 CPU and 2 GiB of memory on its machine (Machine sizing). The browser cannot be turned on while the agent's machine is smaller.

In the app ​

Browser tab, in the agent's inspector, only when the browser is on:

  • Opening it wakes the agent's machine and starts the agent's Chrome if needed. While it starts, the tab shows Starting the browser and says it can take up to a minute when the machine is asleep.
  • It embeds the live 1280×720 Chromium view, scaled to the pane. The remote desktop keeps its size. Keyboard and mouse go to the remote desktop.
  • A line says the signed-in profile stays in /home/<agent id>/.browser. A status badge reads Live, Starting, or Failed. Restart the browser view reconnects.
  • When the browser cannot start, the tab shows Browser unavailable with the error and Try again.
  • A clipboard strip moves text in and out. Paste into the browser pastes the host clipboard, or the field's text, into the page. Copy the browser's selection copies the remote selection back to the host.
  • This is where the operator logs the agent in to its sites.

On an agent with the browser off, the tab's address shows This agent has no browser with Open Settings.

Sidebar agents with the browser on show a marker.

Settings, Model section (Harness on a subscription agent): the Browser button under Agent capabilities turns it on and off. The create dialog offers the same button. Browser language shows while the browser is on; changing it restarts the browser. The button is greyed out while off on a machine below the browser minimum, with a line naming both sizes.

Under Browser language, Agent-optimized browser switches browsing to the browse tool. While the System One platform key is not on, the switch cannot be turned on and a Not set up line says what the key lacks; a platform admin gets Set up, which opens it under Admin, Platform keys. With the switch on, Browser model picks the model browse runs among the organisation's models, starting on the organisation's default when it is one of them, else on the first. Turning the switch or the browser off clears the model. While the switch and the System One key are on, the agent's Tools tab lists browse and browser_eval under Browser in place of the step-by-step tools, as new runs offer them.

Browser login needed strip: after a recipe apply that required a browser login, that agent's inspector shows a strip that says to take control of the agent's browser and log in to its site before it can use it (Applying recipes). It has Open Browser, hidden while the Browser tab is open, and Mark as done. Nothing detects the login, so the operator marks it done. The strip stays hidden while the guild's recipe checklist is open, or while an apply is in progress. Turning the browser on in Settings does not show it.

Rules and limits ​

RuleValue or behaviour
Defaultoff
Machine minimum1 CPU and 2 GiB
Display1280×720, fixed
Languageen-US by default; one of a fixed list of tags
Timezonefrom the machine's public IP
Chrome starta browser call while Chrome is down, or opening the Browser tab
Chrome stop5 minutes after the last browser call or tab input; on browser off or a language change
Profile and loginskept in the agent's home across runs and containers
Browser agents per organisationthe plan may cap them; no cap in core

Reference ​

Config keys ​

  • browser is whether this agent has its own Chrome on its machine. Default false. It selects the Browser tab and the browser tools: browser_navigate, browser_snapshot, browser_click, browser_type, browser_fill, browser_scroll, browser_screenshot, and browser_eval, or browse and browser_eval while the agent-optimized browser is on.
  • browser_language is Chrome's UI and Accept-Language when browser is on. Stored default en-US. It is one of these tags, else 422 (browser_language must be a supported Chrome language): ar, bg, cs, da, de-DE, el, en-GB, en-US, es-419, es-ES, et, fi, fr-FR, he, hi, hr, hu, id, it-IT, ja, ko, lt, lv, ms, nb, nl, pl, pt-BR, pt-PT, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-CN, zh-TW. A stored config with a missing or unknown tag runs Chrome in en-US.
  • browser_optimized is whether browsing runs through the agent-optimized browse tool instead of the step-by-step browser tools. Default false; on without browser it is 422 (browser_optimized requires browser). A create with it on, or an update that turns it on or changes browser_model, is 422 while the System One platform key is not on. An update that leaves both as they were saves whatever the key has become.
  • browser_model is the provider/model the agent-optimized browser plans and reads with while browser_optimized is on, else null, a 422 otherwise. On the same create or update that checks the key, its provider must be connected under Model keys, else 422.

Turning browser on, on create or on update, is 422 when the agent's machine is below the browser minimum (Machines). The organisation policy's maxBrowserAgents caps the browser-enabled agents of an organisation. Above it, creating a browser agent or turning browser on is refused with a limit error (409, … limit reached: browser-enabled agents). Core sets no cap.

Starting Chrome ​

The orchestrator computes the slot's display and ports and runs agent-browser-start <agent id> <display> <vnc port> <devtools port> <cdp relay port> <novnc port> <language> on the machine. The helper starts, when they are not already answering:

  • an Xtigervnc display :10+slot at a locked 1280×720, its VNC server on loopback port 5910+slot
  • Google Chrome, or Chromium in an image built with BROWSER=chromium, with --no-sandbox, --user-data-dir=/home/<agent id>/.browser, and CDP on 127.0.0.1:<9300+slot>
  • websockify serving noVNC on port 6100+slot
  • gost relaying port 9400+slot on every interface to Chrome's loopback DevTools port, so the orchestrator reaches the agent's Chrome over CDP through the sandbox host's endpoint; it sets the Host of every request, the WebSocket upgrade included, to Chrome's loopback address, because the sandbox host's proxy rebuilds the Host from its own upstream address and Chrome serves only an IP address or localhost

It prints the noVNC and DevTools ports once noVNC, DevTools, and the relay answer. Playwright in the image attaches to the agent's Chrome over its loopback CDP port.

browser_screenshot writes screenshots/latest.jpg in the agent's home.

The browse path ​

A browse call runs fastbrowse in the orchestrator's own process (apps/orchestrator/src/browse/):

  1. It starts the agent's Chrome when it is down, as every browser tool does.
  2. It asks the sandbox host for the endpoint of the slot's relay port, 9400+slot, and the headers that endpoint takes.
  3. It opens a loopback CDP bridge in front of that endpoint, and gives fastbrowse the bridge's port.
  4. fastbrowse runs the task with two keys: the System One key for its own service, Jev, and the organisation's model key for the agent's browser_model. Neither key enters the machine.
  5. Each step is published as the call's tool.progress, redacted with the run's secrets. It restarts the Chrome's idle timer.
  6. The call stops when the run is cancelled, or 30 seconds past its own max_seconds.

Its cost counts as browser usage (Usage).

HTTP ​

RouteWhat it does
GET /api/agents/:id/browserwakes the machine and starts the agent's Chrome; { "status": "ready" }; 409 browser is not enabled with browser off; 503 when Chrome fails to start
/api/agents/:id/browser/vnc and /api/agents/:id/browser/vnc/*proxies the agent's noVNC view, HTTP and WebSocket

The orchestrator proxies the agent's noVNC view into its Browser tab. The tab embeds noVNC, scales the framebuffer to the pane, and keeps the remote desktop size. Operator input on the proxied view restarts the machine's idle timer and the Chrome's 5-minute timer, at most once every 30 seconds (Machines).

Browser login strip ​

The strip's Mark as done is remembered per agent in localStorage as guilds-setup-dismissed:<agent>:browser-login.

Free software under the GNU Affero General Public License, version 3 only.