Skip to content

Browser and computer use

Let the agent browse

What the agent can do with its Browser page, how it hands a page to you, which runtimes carry the tool, and how saved flows repeat a check.

  • 13 min read
  • 6 sections

Let the agent browse ​

In Work and Code the agent can read and act on its own Browser page, hand it to you when it needs a person, and repeat a check as a saved flow.

Ask the agent to browse ​

You do not pick the Browser in the composer. In Work and Code, every turn whose provider can carry Octant's tools is offered the Browser, and the agent uses it when your request needs a web page: ask "check the pricing page on example.com" and it browses. Chat does not offer the Browser.

Being offered the tool opens nothing. On a Private page the agent needs no site approval, at any mode, and may move from one site to another, this computer and your local network included; a page in a signed-in profile still asks per site. Agent control is separate from manual Browser use: a provider needs a verified app-managed tool transport, and an authenticated provider or a visible Browser tab does not prove that it works.

Where supported, Octant registers octant_browser when the provider session starts. The agent needs no separate browser skill, debugging URL, shell-launched browser, or global MCP server.

On a signed-in page, Work and approval-gated Code tasks ask for a site through an inline approval. This does not change the task to Full access. Unsupported runtimes, expired grants, changed owners, and cancelled requests are refused with a reason. Background tasks keep their own page when the visible pane changes within the same Project. Switching the selected model needs a fresh site approval before that model can use an existing signed-in page.

What the agent can do on a page ​

The tool can navigate, take a snapshot, read page text, click and fill elements, hover over a menu, choose an option in a list, drag one element onto another, press a key or a shortcut such as Control+A, scroll in either direction, wait for an element, open and switch tabs, take a screenshot, audit accessibility or performance, and stop its session. It can also put files into a file field and hold a download; see Downloads and uploads.

Use the tools a page declares ​

Some pages declare tools for agents: a form marked with a tool name and a description (the declarative form of the WebMCP proposal). The agent can list the open page's declared tools and call one. Listing only reads the page, so it works in Plan too.

  • Calling fills that page's form. Each named field is a parameter. The form is submitted only when the page says an agent may submit it; otherwise the agent fills it and leaves the submit button focused for you.
  • Below Full access every call asks you. The card names the site, the tool as the page named it, and the arguments. Your answer covers that one call and is never remembered.
  • At Full access a call runs without asking, unless the page's own words for the tool say it pays, buys or orders, or sends a message, email, post, reply or comment as you. Those still ask. A page that hides a payment behind a bland name is not caught, just as a misleadingly labelled button is not.
  • Sign-in forms are never used. A declared form with a password or other credential field is never listed or called.
  • Your typing is safe. If you used the page, the agent must look at it afresh before a call fills anything, as for typing (Use the page together).

What a page declares is outside content: listing it marks the thread, and the agent treats the list as facts about the page, never as instructions. The tools are not added to the agent's own tool list, a call cannot run inside a batch of steps or a saved flow, and what the page does with a submission is up to the page. This works on the headless Browser; see What's on main for the desktop app's Browser.

Read the page as an outline ​

A snapshot is a short outline of the page: its headings, text, and controls. Each control has a reference such as e4 that the agent passes back to click or type there.

  • A password or one-time-code field appears as protected, and the outline never shows what is typed in it. On a sign-in page no field's value is shown.
  • Octant keeps the references itself and refuses one that no longer matches the page, so the agent snapshots again instead of acting on the wrong element.
  • The outline includes frames and open shadow roots, and the agent can act there by reference too. Password fields stay protected in every frame.
  • On a page in a Project or Personal profile, a frame from another site is left out unless you approved that site for the profile, because it may be signed in to your account there.

Get short results ​

After an action, the agent hears back the page's address and title and one line on what changed, such as a new title or changed text. It gets page text, a picture, or a fresh outline only when it asks. Octant takes no picture the agent did not ask for; the activity preview still shows the page, because it takes its own.

The agent can send up to 10 steps in one call, such as filling three fields and pressing Save. Octant checks each step on its own, exactly as if it came alone, and stops at the first one that fails.

Wait and handle dialogs ​

The agent can wait for text to appear, an address to change, or a button to become enabled, and the page stays open for as long as the wait lasts. Under Strict, waits in one call share a cap (10 minutes by default, configurable in Settings → Limits); outside Strict there is no wait duration cap. Every action waits a moment for the page to settle. A page's own dialog blocks the page, so it is always answered the moment it opens. Unless the agent said otherwise, Octant accepts an alert and declines a dialog that asks to confirm or to type an answer, and the agent is told about each one and who answered it.

The agent can choose the answer instead. When it knows an action will raise a dialog, usually because the first try was declined, it repeats the action with its answer: accept, dismiss, or the text to type into a prompt. The answer goes to the first dialog that one action raises; any later dialog gets the usual answer. If a prompt asks for a password, a one-time code, a card number, or another secret, Octant does not type the agent's text and dismisses the prompt. A dialog that opens while you are driving the page yourself stays yours. A saved flow keeps no dialog answer.

Test other screen sizes ​

The agent can resize its page to a phone, a phone held sideways, a tablet, a desktop, or a size it picks. On a phone or tablet the page also sees a touch screen, and clicks arrive as taps. It can turn touch on or off, and switch the page between light and dark mode. One resize with nothing else puts size, touch and color scheme back.

This changes only the agent's own page. Your Browser window and your other pages keep their size and look, and a page you opened developer tools on keeps its touch and color scheme. The agent is told what the page now reports.

Audit a page ​

An accessibility audit finds images without a text alternative, buttons, links and form fields without a name, a missing page title or language, skipped heading levels, repeated ids that labels point at, text with too little contrast, and focusable elements hidden from screen readers. After the agent switches the page to a phone, it also finds touch targets that are too small and too close together. Each problem names the element.

A performance audit reports how the page loaded: time to first byte, first and largest paint, layout shift, and blocking time, each rated good, needs improvement, or poor, with the requests by type and the largest files (their addresses with secrets removed).

An audit only reads the page. It never reloads it, so to measure a fresh load the agent opens the page again first. Audits run on this computer, send nothing anywhere, and work in Plan mode.

Read console errors and failed requests ​

To find out why a page misbehaves, the agent can read console errors (and warnings if it asks), requests that failed, and requests that came back with an error status such as 404 or 500. It sees only the address and status, never the content or headers. Reading leaves the list in place for the next look.

Get full usage on demand ​

The tool's guidance tells the agent to navigate, take a snapshot, act by reference, and check the result. The always-visible description stays short; the agent asks the tool's help operation for full usage when it needs it, as it can for Computer use and Code's terminal, Apple, and Android tools.

Hand the page to you ​

Sign in yourself ​

When a page needs you to sign in, the agent can hand it to you. A card in the thread names the site and why, with Continue and Cancel, and the Browser comes forward. Sign in on the page yourself; the agent waits and never sees what you type. Press Continue and the agent picks up from the page you left.

On a phone or browser you paired yourself, the card offers Sign in here so you can hold and sign in on the desktop Browser page remotely (see Hold a page from a paired device). A routine, a subagent, a program in a terminal, or a hub-introduced or restricted device cannot ask this. For an SSO redirect, the agent can use sign-in so you finish signing in. If you press Continue while still on an unapproved site, the answer says so and the agent cannot read that page.

Use the page together ​

If you type or click while the agent is working, your input goes through and nothing is dropped. The agent is told you used the page, and it will not click or type again until it has looked afresh, so it never writes over what you were typing.

Take over the page ​

To use the page yourself, press Take over, an icon after the Browser's address field. The toolbar says "You have the page". Press Hand back when you are done. The agent can also take the page back: its next Browser call ends your hold, as Hand back would, and is answered with a fresh look at the page you left. Press Take over again whenever you need the page. While the agent waits for you to sign in, it does not take the page back.

A phone or browser you paired yourself can also Take over, Sign in here, and Hand back a desktop Browser page, including pages in signed-in profiles, while the desktop toolbar shows Held from <device> and Reclaim locally (any local mouse or keyboard input on the computer reclaims immediately without resuming the agent). See Hold a page from a paired device. A routine, a subagent, a program in a terminal, or a hub-introduced or restricted device cannot hold a page. A page you took over closes after 11 minutes without use, like any other page.

Which runtimes carry the Browser ​

The host supplies the tool transport for supported runtimes:

RuntimeTransport and current boundary
CodexApp-server dynamic tools
Claude CodeAgent SDK in-process MCP server
OpenCodePrivate MCP profile on macOS, only on the releases whose isolation Octant verified: 2.0.22 and 2.0.27, exactly
ACP runtimesHTTP MCP on macOS, when the runtime advertises and accepts it, or Octant verified that release or an earlier one accepts it
PiOwned extension and CLI catalogue, from 0.85.1 when the probe attests it; unverified between 0.85.1 and 1.1.0
Direct endpointsOnly models whose tool use you verified
A CLI in a thread terminaloctant mcp, Browser only; see Browser for a CLI in a terminal

A transport is checked before it is advertised. It does not need you to edit a global MCP configuration or grant Full access. A runtime or platform that cannot carry the tool within its confinement stays unavailable; Linux OpenCode, ACP and Pi support is not inferred from a macOS check. Oh My Pi stays unavailable where its driver is probe-only.

Support follows the release, not the runtime's name. An OpenCode release Octant has not verified, or a Pi older than 0.85.1, still lists its models, but reports Octant tools as unavailable, and its turns are not offered the Browser: an OpenCode 2.0.28 on your PATH is one such release. The same applies to a runtime whose connection check cannot confirm its transport, and to an ACP agent that does not advertise HTTP MCP unless Octant verified that release, or an earlier one, accepts it. A newer Pi or ACP release keeps the tools, marked unverified on its runtime card. Nothing is routed to another model or provider instead.

Repeat a check with a saved flow ​

When the agent has done a check once, it can save it as a flow in the Project and repeat it later. Ask, for example, "save that as a flow called Order check", and later "run the Order check flow".

A flow is a fixed list of the steps the agent took. Each step names the element it used by role and name, and the address path and title expected afterwards. It holds no page text and no script.

Each replayed step is checked as if the agent made it by hand: you are asked about a site you have not allowed, Plan mode refuses it, and a page that needs your sign-in is never part of a flow. The replay stops at the first step that fails, finds no single matching element, or leaves the page at a different address or title, and the agent tells you which step and what it found.

A routine can run a flow on a Private page but cannot save one. A device you paired yourself can list, review, run, and delete saved flows as a local window does (never while a paired-device hold lease is active on the page); a hub-introduced or restricted device cannot.

Run a flow from Settings ​

Settings → Data & storage → Browser flows lists every Project's flows with their step count and starting address.

  1. Choose Run, then pick an existing idle Work or Code task in that Project.
  2. Review its model, access, profile and fixed steps. You can edit the text of a type step and a recorded expected title for this run without changing the saved flow. If your text changes the expected title, review that title too; Octant does not guess substitutions or skip the check.
  3. Choose Run fixed steps. The ordinary site and profile approvals still apply.

Plan and server Projects cannot use this runner. The dialog shows progress. If you hold the page before a step runs, hand it back and choose Resume. Changes to the flow, task authority, profile or site approval need a new review. Other failures stop without retrying an uncertain action. Closing the dialog stops an active run, but an operation already sent may have acted. Runs expire after 15 minutes.

Delete asks for confirmation. A saved flow stays on this Mac with its Project, goes when the Project is erased, and is not part of a thread export.

Next steps ​

Octant documentation · local-first by design