LabsLocal agent tool

    Browser Agent

    A Chrome extension and helper that let the AI agents you run on your own computer work in your real browser tabs, over a local connection only.

    License
    Apache-2.0
    Requirements
    Chrome 114 or newer and Node.js 18 or newer (Firefox 128 or newer for the experimental Firefox build, see below). The installer finds Claude Desktop and Cursor in their Windows locations.
    Works with
    Claude Desktop, Cursor, any MCP host, or the browser-agent command line with no AI app at all.
    Privacy
    No account, no analytics. The extension talks only to a helper on your own computer (127.0.0.1).

    Two parts: a helper on your computer and a Chrome extension.

    The Chrome extension does nothing on its own. It is the browser half of a helper that runs on your computer. Install the helper first, with Node.js 18 or newer:

    npx @agentruntime-labs/browser-agent install
    1. Restart Claude Desktop or Cursor, which the command wired up. For a plain command line with no AI app, run npm install -g @agentruntime-labs/browser-agent, then browser-agent status.
    2. Add the AgentRuntime Browser Agent extension to Chrome. A Chrome Web Store listing is not live yet. Until it is, run npx @agentruntime-labs/browser-agent paths to print the extension folder, open chrome://extensions, turn on Developer mode, choose Load unpacked, and select that folder.
    3. Click the extension icon. It connects by itself and shows Connected. Then ask your AI app to take a screenshot of your current tab. Prefer Firefox? There is an experimental build: see below.

    Use it in Firefox.

    Chrome is the main way to use Browser Agent and the one we support. A Firefox version exists, but it is experimental. It passes Mozilla’s add-on linter, and in a throwaway Firefox profile it connected to the helper, listed tabs, opened a page and read its text. It has not been used day to day in a normal profile yet. It needs Firefox 128 or newer.

    There is no Firefox store listing yet, and the npm package does not include the Firefox folder, so for now you build it from a clone of the source repository.

    1. Clone the source repository (agentruntime-io/browser-agent on GitHub), run npm install in its root folder, then npm run build:firefox. This writes a folder called extension-firefox.
    2. In Firefox open about:debugging#/runtime/this-firefox, choose Load Temporary Add-on, and pick extension-firefox/manifest.json. Do not pick extension/manifest.json: Firefox rejects it.
    3. Open about:addons, select the extension, open Permissions, and turn on “Access your data for all websites”. Firefox leaves site access off for this kind of extension, and without it nothing works.
    4. Click the extension icon, check the port, and press Connect. The helper is the same as for Chrome: run npx @agentruntime-labs/browser-agent install, then restart your AI app.

    A temporary add-on disappears when Firefox restarts, so load it again next time; a permanent install needs Mozilla’s signing. Dark-mode emulation, full-page and clipped screenshots, and anything else that needs the DevTools protocol do not work in Firefox. Screenshots, downloads and window tools have not been checked there yet.

    Let an agent work in the browser you already use.

    Works in your real browser

    Your agent uses the tabs you already have open, with the sites you are already signed in to, instead of a separate empty browser.

    Read, click, type, capture

    Read a page's text and structure, click, fill fields, press keys, scroll, choose options, open and switch tabs, and take screenshots of a tab or of one element.

    You choose which tabs

    Freeform lets agents use any tab, Follow only the tab you are on, and Pinned only tabs you pin. Several Chrome profiles can connect at once, each with its own name.

    A command line too

    The browser-agent command can drive the browser from a shell without an MCP host: list tabs, take a snapshot, click, take a screenshot, and more.

    Power features start switched off

    DevTools features (full-page screenshots, dark-mode emulation, trusted mouse input) and page script evaluation stay off until you allow them. Chrome shows its own debugging bar while DevTools features are in use.

    Local only

    The extension has no server of ours behind it. It connects only to 127.0.0.1 on your computer, and it loads no code from the internet.

    Know what it can reach, and what it does with it.

    It acts in your signed-in browser.

    An agent using Browser Agent can do anything you can do in a tab you let it use, including on sites where you are signed in. Use the Follow or Pinned tab modes, watch what it does, and keep sensitive pages, such as banking, email, and admin consoles, out of agent sessions. What an agent reads goes to your AI app, and from there possibly to its model provider.

    What it asks Chrome for, and why.

    Access to all websites, scripting, tabs, web requests (observed only, never changed), downloads, storage, and alarms, so an agent can work on any site you point it at. The debugger permission is used only for the optional DevTools features, and only after you allow them.

    The privacy policy lists each permission, what the extension reads, what the helper keeps on your computer, and how to remove it.

    Browser Agent is built by the AgentRuntime team and is not part of the AgentRuntime platform. It is licensed under Apache-2.0 and provided as is, without warranty. It pairs with Desktop Agent for apps outside the browser. More from Labs