Skip to content

Browser and computer use

Browser permissions and safety

Give a managed child, a named routine or one Code terminal time-limited access to a signed-in profile, keep reviewed runs going without windows, review page scripts, and control a page from an owner browser.

  • 9 min read
  • 7 sections

Browser permissions and safety ​

Signed-in Browser access for anything other than the task's own agent is a separate, time-limited permission that you review at a window on the host.

These permissions grant no uploads, download saves, sign-in handoff, credential use or page scripts unless a section below says so. Choosing a profile, approving a site for the parent or unlocking a vault grants nothing to a child, a routine or a terminal. Plan still refuses Browser effects.

Grant a managed child access to a signed-in profile ​

In a local Octant window, open Settings → Data & storage → Browser session permissions:

  1. Choose an eligible managed child in the same Work or Code Project.
  2. Choose its Project, Personal or named account profile and enter the exact HTTPS sites it may use, including any non-default port. Enter origins such as https://example.com, without paths or query values.
  3. Choose 15 minutes, 1 hour or 8 hours, then Review. Check the caller, profile, model, execution host, sites and expiry before Grant.
  4. Have the child retry with that exact profile. Granting does not start or resume a queued or waiting child, choose its profile, or open a page.

The child opens its own page on the execution host; it does not borrow its parent's page or authority. It needs an available local native Browser owner. If that owner or profile is unavailable, Octant refuses without opening a headless page or choosing another account. Work's ordinary network access stays off: the permission covers only the named Browser sites, not the child's process or its other tools.

The list shows the expiry and Revoke. Expiry, revocation, a changed child run, model or workspace authority, or the child's end stops access and closes its page. Restarting the host restores no child permission. If access ends during an operation, no page observation is returned; check the site before retrying an action whose effect is uncertain.

Grant a named routine access to a signed-in profile ​

In a local Octant window, open Settings → Data & storage → Browser session permissions → New session permission…:

  1. Choose the named, enabled local Work or Code routine in this Project.
  2. Choose its existing Project, Personal or named account profile. Enter only the exact HTTPS sites it may use, including any non-default port, such as https://example.com. Paths, query values and HTTP sites are not accepted.
  3. Keep the default 7 days or choose 30 days, the maximum.
  4. Choose Review permission, then check the routine, account, model, execution host, sites and absolute expiry before Grant session permission. The review expires after two minutes. Granting starts no routine or page.

Only a run that Octant's routine dispatcher actually started can use the permission; a tool request cannot claim to be that run. Each run opens its own native Browser page, separate from earlier runs and ordinary turns in the same thread, and borrows no parent page. The execution host needs an eligible native Browser owner and the selected profile; otherwise it reports unavailable with no headless fallback or copied account store. Work's ordinary network restriction is unchanged.

The list shows the expiry and Revoke. Expiry or revocation closes the permission's pages. A changed routine definition, model, Project binding, authority, task posture, profile or provider stops it from being used; review again first. Cancellation or the run's end closes that run's page, while an unchanged permission can cover later runs until expiry.

A host restart ends every routine session permission: review and grant again. The displayed duration is an upper bound within the current host lifetime. If access ends during an action, Octant withholds observations and reports an uncertain effect rather than retrying.

For files, a routine also needs a recurring upload or download manifest.

Keep reviewed runs available without windows ​

On the host, open Settings → Data & storage → Background Browser ownership and turn on Keep Browser available without windows. It is off by default. Turning it on starts no task and upgrades no existing permission.

Review a new managed-child or routine session permission while the native owner is available. Its confirmation says when that run may keep using the Browser after every window closes. The permission binds the current owner as well as its exact workload, account or profile, sites and expiry. It uses the same native profile store and opens no parent page, copied account store or headless replacement.

  • A permission reviewed without background ownership stays tied to a window.
  • One bound to a background owner refuses if that owner becomes unavailable. Reopening a window does not replace its owner. A replacement owner or a host restart needs a fresh review, and reconnecting never adopts or replays a run.
  • Run end, cancellation, Revoke, expiry, a cleared profile, turning background ownership off, owner replacement and an accepted Quit end the affected access.
  • Terminal permissions stay tied to a window.

Background access adds no human handoff, window attachment, upload or download permission, page script, or credential fill or submit. A sign-in request still needs a person at the host; stored cookies alone do not prove an account is signed in.

Grant one Code terminal access to a signed-in profile ​

  1. Start a Code terminal with its Browser transport switched on. The switch alone allows only Private pages.
  2. In a local Octant window, open Settings → Data & storage → Browser session permissions → New session permission…. Choose the Terminal caller and check both the task and the terminal session, not just the task title.
  3. Choose its existing Project, Personal or named account profile and the exact HTTPS sites, including any non-default port, such as https://example.com.
  4. Choose 15 minutes, 1 hour or 8 hours, then Review permission. Check the terminal, account, model, execution host, sites and absolute expiry before Grant session permission. Granting starts no CLI or page.

Have the CLI navigate with the granted profile. Its signed-in page is a separate native page bound to that live terminal grant and the current Code task, model and authority. It does not borrow the agent's profile page. An eligible native Browser owner must be available on this host; Octant never opens a headless account copy.

Expiry or Revoke closes the page. It also ends when the terminal closes, stops or is replaced, its Browser transport is switched off, the task ends or its window loses authority, or the host stops. A replacement terminal inherits nothing. A changed task model, posture, binding or tool constraint stops the old permission. A host restart restores none. The CLI's ordinary filesystem and network authority do not change.

A stale profile read is refused rather than answered from the task's Private page. To return to Private, navigate with the Private profile; that closes the terminal's signed-in page. Calls during cleanup report busy until it closes. If access ends during an action, its effect may be uncertain; no observation is returned and the action is not replayed.

Review a page script ​

For a local native Code or Work page, the agent can use run-script when fixed actions cannot do the task. It sends the source and the revision from a fresh page read. Site and profile approvals still apply.

  • At Full access, there is no extra script prompt.
  • Below Full access, Octant asks you to review the exact source and HTTPS origin for one run in the task's selected profile. The answer never becomes an "always allow" site grant or changes shell or file access. Changing the task, profile or page cancels a pending answer.
  • Below Full access, a credential field or incomplete inspection of frames or shadow roots refuses the script.
  • A Work thread gets the same one-use review below Full access, through the same rules, and no extra prompt at Full access. Under Strict, Work below Full access can't run page scripts.
  • Headless, paired, routine, subagent, terminal and Plan callers are refused.

A script has the page's normal DOM and account access, even in Private (which means temporary storage, not signed out). It can read values a form filled in or reflected, and install callbacks that outlive the call. Those values can reach the requesting provider. The fixed-reader and credential protections do not stop a script from seeing passwords, and the page's CSP does not limit it.

Source is limited to 8 KiB of UTF-8 and running plus serializing to 150 ms. Results are synchronous, bounded, and may be truncated. Promises, functions and DOM handles are not returned. There is no Node, Electron IPC, host filesystem or raw debugging access, and scripts cannot run in batches or flows. Read the page again after a possible effect before reusing refs or revisions.

Credential fill and scripts cannot run at the same time. An uncertain result means the script could have changed the page; cancelling cannot undo it or remove callbacks. If a native connection failed, agent reads may stay held until the page ends. Stop that Browser page before opening another; this does not clear profile cookies or data.

Hold a page from a paired device ​

A phone or browser you paired with this computer yourself can take over and drive an open desktop Browser page — Work or Code, Private or signed-in profile — without sitting at the host computer. Hub-introduced devices, restricted devices, and agent grants are refused.

  • Take over and Sign in here: open the thread's Browser pane on the paired browser or phone and choose Take over (or Sign in here when the agent asks you to sign in). The host streams live frames over the authenticated remote channel, pauses the agent for the hold, and shows Held from <device> on the desktop Browser toolbar.
  • Remote input: tap, scroll, type text (including IME composition), press keys, upload a file to a page file picker (up to 10 MB), or sign in with a saved 1Password login: Login permission in More Browser actions on the paired browser, Sign in with a saved login on the phone. Pick one of the saved logins listed for the page's exact site, check the review, allow it for the task or the Project, then review the form, fill and submit, each as its own step. The computer fills the page, so the login never reaches the device, and frames stay withheld while it fills (details). Remote input dispatches touch, scroll, key, text, and IME events only — never mouse events. Right-click menus and OS-native dialogs stay on the computer ("Finish this on the computer"), and frames are withheld during private custody or native prompts and blanked automatically when the remote tab or phone app goes to the background.
  • Hand back: press Hand back on the paired device when you are done so the agent can read the page afresh and continue.
  • Reclaim locally: pressing Reclaim locally on the desktop toolbar — or any local mouse movement, click, or key press on the host computer — reclaims the page immediately and ends the remote hold without resuming the agent.

The host records only hold start and end metadata in the journal (never frames or typed text), and erases those records if you purge the thread. If the remote lease ends without Hand back, the page falls back to an ordinary local take-over so the agent stays paused until you hand it back. Signed-in profile pages and saved flows work from a person-paired device too; importing cookies from another browser stays on this computer.

Next steps ​

Octant documentation · local-first by design