Guides on browser agents.
Practical notes on giving an AI agent a browser: what it should read, how to keep the tokens down, and how to run it safely.
- Screenshots or text maps: what should an AI agent read from a web page?
A screenshot is pixels the agent must interpret. A text map lists what is on the page and what it can act on. Why we chose text, and when a picture helps.
- How to stop a browser agent reading the same page twice
Most of a browser agent’s tokens go on content it already saw. How Browser Layer answers with only what changed and keeps long results out of context.
- How to run many browser agents side by side without them waiting on each other
Named sessions give each agent its own tabs and its own command queue in one shared browser. How `--session` works, and how to clean up.
- How to let an AI agent use a signed-in browser without handing over your passwords
Two safe patterns: sign in yourself in the agent’s own profile with `login`, or attach to your own Chrome with `attach`. What each does and what it risks.
- How to read many pages at once with an AI agent
Fetch dozens of pages in parallel into one file the agent can search. `open`, `tab` and `each` with `--out`, and sitemaps and feeds as records.
- What’s new in Browser Layer 0.1.4
Bulk pages, sitemaps and feeds as data, one ceiling for every answer, shorter answers, agents side by side, more controls found and a steadier daemon.
- What to block when an AI agent loads a web page: images, fonts or all CSS?
We tested three blocking modes on five live sites. Dropping images, fonts and media saved 13 to 36% of bytes. Dropping all CSS broke real pages.
- Where browser agents waste steps: the pagination problem we found in our own tool
Our first version cost 388k tokens and 17 steps on a paginated task, against 286k and 10. The transcripts showed why, and what fixed it.
- How we test a browser tool for AI agents, and how to rerun it
Fixed tasks, a measured noise floor, and about $0.27 for 70 runs. How we compare browser tools for agents and which numbers we trust.