Browser use
Atomic Agent can use a web browser the way you do: open a page, read it, click, type and take a screenshot. Use it for sites that need clicks or a login, where a plain web search or page download is not enough.
The browser is on by default. The desktop app and the terminal use the same browser settings, because both read the same data folder.
What you need
A Chromium-family browser installed on your computer: Chrome, Edge, Brave or Chromium. The agent does not ship its own browser. If none is found, the agent says so and asks you to install one or set ATOMIC_AGENT_BROWSER_EXECUTABLE_PATH (see Environment variables).
Two ways to browse
| Mode | browser.connect | What it uses |
|---|---|---|
| Agent’s own browser (default) | agent | A separate Chrome window with its own profile in ~/.atomic-agent/browser-profile. It starts signed out of everything. |
| Your own Chrome | user-chrome | The Chrome you already have open, with your signed-in accounts. |
Use the default for general browsing. Use your own Chrome when the task needs an account you are already signed in to and you do not want to sign in again in a second profile.
What the agent can do in the browser
The core tools (open a page, click, type, read the page, search, scroll, tabs) are listed on Tools. The agent reads the page as text (buttons, links, fields and content), not as pixels. It also has:
| Tool | What it does |
|---|---|
browser.screenshot | A picture of the visible page, the whole page or one element. In the desktop app it shows up in the chat. |
browser.act | Pick from a list, upload a file, go back or forward, press a key, hover, answer a page dialog, wait for text. |
browser.extract | Pull structured data out of the page in one step (for example every plan’s name and price). |
browser.site_tools | List and call tools a site offers to agents (WebMCP). Every call asks first. |
browser.debug | Read the page’s console messages and network requests, for “why does my site not load”. |
browser.annotate | You click elements in the agent’s browser window and type what should change; the agent reads your pins. |
What asks first
Reading and moving around do not ask: opening normal web pages, reading, scrolling, following links, ticking checkboxes, typing without pressing Enter, typing in a search box.
These do ask:
- Actions that commit something. A submit button, or a click on send, post, publish, delete, save, confirm, allow, accept, sign up and similar. Pressing Enter in a form also counts.
- Secrets and payments. Typing into a password, one-time code or card field, uploading a file, and clicks such as pay, buy now, checkout or place order. These ask every time below level 5 and are never covered by an “allow for this session” answer. The prompt shows only the length of what will be typed, never the text.
- Leaving your allowed list. Opening a site outside
browser.allowedDomains, when that list is set. - Non-web addresses such as
file://orchrome://. In your own Chrome they are refused instead. Ajavascript:address is always refused.
An “allow for this session” answer to a commit or an off-list site covers only that one site. Which categories go quiet at which approval level is on Approvals. The check relies on labels the page provides, and a page can mislabel its buttons. Treat it as a safety net, not a guarantee.
Use your own signed-in Chrome
In this mode the agent works inside your normal Chrome, so it can use sites where you are already signed in.
-
Use Chrome 144 or newer. Chrome Beta, Canary, Chromium, Brave and Edge also work.
-
Turn the mode on. The desktop app has no switch for it in Settings, so set it once from a terminal. The setting is shared by the desktop app and the terminal.
Terminal window atomic-agent config set browser.connect user-chrome -
Restart the agent (or quit and reopen the desktop app).
-
Ask the agent to open a page. The first time, it opens Chrome on
chrome://inspect/#remote-debuggingand waits up to 60 seconds. Turn on remote debugging on that page and allow the dialog Chrome shows. -
The agent opens its own tab in your Chrome and works there.
To go back to the agent’s own browser:
atomic-agent config set browser.connect agentWhat the agent can and cannot touch in your Chrome
- It only sees, switches to and closes the tabs it opened (and pop-ups from them). Your other tabs stay out of reach.
- It never reads your cookies, saved passwords or site storage.
- Password, one-time code and card field values are hidden in everything it reads.
- The first time in a session it opens or reads a site it has not opened before, it asks. You answer once per site per session. Sites in
browser.allowedDomainsdo not ask. - Every commit action (submit, send, post, delete, Enter in a form) asks every time in this mode.
- When the agent stops, it disconnects. Your Chrome windows stay open.
If Chrome is closed, restarted or has remote debugging off, the next browser step fails with the steps to turn it back on. The agent attaches again on the next try.
Attach to a Chrome you started yourself
If you start Chrome with --remote-debugging-port, point the agent at it with browser.cdpUrl. The address must be on this computer (127.0.0.1, localhost or [::1]). Any other host is rejected, because this address gives full control of the browser.
{ "browser": { "connect": "user-chrome", "cdpUrl": "http://127.0.0.1:9222" }}Chrome ignores a debugging port on your default profile, so this works with a separate Chrome profile. For your everyday profile, use the remote debugging page in the steps above.
Chrome data folder in an unusual place
The agent finds Chrome’s data folder in its standard location on macOS, Windows and Linux. If yours is elsewhere, set browser.userDataDir to that folder.
Allowed and blocked sites
Two lists in config.json limit where the browser can go. Each entry is a host name and also matches every subdomain (example.com covers app.example.com). Schemes, paths, ports and a leading *. are ignored.
| Key | Default | Effect |
|---|---|---|
browser.blockedDomains | [] | Never opened or used, at any approval level. Pages, frames, links and screenshots on these hosts are refused, and nothing from them reaches the model. |
browser.allowedDomains | [] | When not empty, opening any other host asks first. |
These are lists, so config set cannot change them one key at a time. Edit config.json by hand (atomic-agent config path prints where it is) and restart the agent:
{ "browser": { "blockedDomains": ["bank.example.com"], "allowedDomains": ["github.com", "docs.google.com"] }}The other browser.* keys (headless, profile, maxTabs, workerIsolation) are on Configuration. For example, browser.profile: "temp" gives each chat its own throwaway, signed-out profile, and with browser.headless left on auto the browser runs without a window for scheduled tasks, Telegram, Discord and webhooks.
Environment variables
Launch settings that are not in config.json are environment variables. Set them in your shell, or in ~/.atomic-agent/.env. Restart the agent after a change. The full table is on Configuration.
| Variable | Default | Effect |
|---|---|---|
ATOMIC_AGENT_BROWSER_ENABLED | true | Set to false to remove the browser tools completely. |
ATOMIC_AGENT_BROWSER_CHANNEL | chrome | Which browser to launch: chrome, msedge or chromium. |
ATOMIC_AGENT_BROWSER_EXECUTABLE_PATH | auto-detect | Full path to the browser binary. |
ATOMIC_AGENT_BROWSER_HEADLESS | unset | 1 for no window, 0 for a window. When set, it wins over browser.headless. |
ATOMIC_AGENT_BROWSER_CDP_URL | unset | Attach to a running browser at this DevTools address. Wins over browser.cdpUrl. |
In the desktop app
The desktop app uses the same browser tools and the same settings. There is no browser section in Settings. Each step appears in the chat as a short line such as “Opened web pages” or “Clicked on the page”, and screenshots appear as pictures.
Troubleshooting
- “Could not find a Chromium-family browser”: install Chrome, Edge, Brave or Chromium, or set
ATOMIC_AGENT_BROWSER_EXECUTABLE_PATH. - Your own Chrome is not found: open
chrome://inspect/#remote-debuggingin Chrome, turn remote debugging on, then ask again. Check that you are on Chrome 144 or newer. browser.cdpUrlis rejected: it must point to127.0.0.1,localhostor[::1].- The agent will not drive the browser from the shell: this is on purpose. The shell refuses commands that would script a browser around these checks. The browser tools do that job.
More fixes are on Troubleshooting.
Get updates by email
One email when a new version comes out.