A browser built for AI agents, not for people.
A browser for AI agents is one the agent drives from a terminal and reads as text. Browser Layer turns every page into a short numbered map of its regions and controls, answers every action with what changed, and returns lists and tables as records, so the agent never reads a screenshot or a raw DOM dump.
What makes a browser agent-friendly
A person needs pixels. An agent needs to know what is on the page, what it can act on, and what its last action did. Browser Layer is built around those three things.
- A numbered text map of the page: its regions and controls, each with a number the agent can act on.
- Every action answers with what changed, so the agent does not read the whole page again.
- Lists and tables come back as records you can sort and limit, and sitemaps and feeds come back one record per line.
- Answers over 20,000 characters are saved whole to a file, and the reply gives the first 4,000 and how to read the rest.
It drives a real browser
Browser Layer does not ship its own engine. It drives Google Chrome, then Microsoft Edge, then Chromium, whichever it finds first, headless by default. browser-layer show makes the window visible and hide makes it headless again.
On a machine with no browser, such as a server or a container, browser-layer install downloads Chromium once.
Sign in without handing over secrets
browser-layer login <url> opens a normal browser window on the agent’s profile. You sign in yourself, close it, and the agent stays signed in. Passwords, 2FA and passkeys stay with you.
Open source, one install
Browser Layer is Apache-2.0 and installs with npm install -g browser-layer. It needs Node.js 22 or newer, on macOS, Linux or Windows.
Questions
What is a browser for AI agents?
A browser an AI agent can drive and read without a person in the loop. Browser Layer gives the agent a short numbered text map of each page and answers each action with what changed, instead of screenshots or raw HTML.
Does the agent need a vision model?
No. The agent reads text. browser-layer screenshot exists for the times a person wants a picture of a tab or one region, but the agent does not depend on it.
Which browsers does it use?
Google Chrome, then Microsoft Edge, then Chromium, whichever it finds first. Set BROWSER_LAYER_BROWSER to pick one.
Is it free?
Yes. Browser Layer is open source under Apache-2.0. Hosted browsers are in early access.