All stories
November 2026
-
Accessibility tree or screenshots: how should a browser agent see the page?
Start a browser agent on the accessibility tree, a text outline of the page that is cheap and lets it act on exact elements. Add screenshots when the task depends on images, layout, charts or canvas. Use screenshots alone, with clicks by coordinates, only where no tree exists, such as desktop apps.
-
How computer use works, for developers: screenshots, coordinates and input
Computer use is a loop your code runs: take a screenshot, send it to a model with the task, get back an action such as a click at a pixel position, and send it to the screen as real mouse and keyboard input. Most bugs come from coordinates, so fix the resolution and scale every point back.
-
How to give a browser agent a persistent profile safely
Give a browser agent a persistent profile only when a saved login file is not enough. Use one profile per agent identity in its own directory, never a person's profile, one browser at a time, no saved passwords, the folder treated as a secret, and a known-good copy you restore when it drifts.
-
Playwright MCP vs Chrome DevTools MCP: which browser server should an agent use?
Use Playwright MCP when an agent automates tasks on websites, needs Firefox or WebKit, or should start each session from a saved login. Use Chrome DevTools MCP when the agent debugs or measures pages in Chrome, with traces, audits and memory snapshots. Both read the page as an accessibility tree.
-
What is an agentic browser, and how is it different from a browser agent?
An agentic browser is a web browser with an AI agent built in, which reads the pages you have open and acts on them for you. A browser agent is a separate program that drives its own browser. The difference matters because a built-in agent works inside your signed-in sessions.
-
Chrome DevTools MCP explained: what it does, its tools, and a safe setup for agents
Chrome DevTools MCP (chrome-devtools-mcp) is an open-source MCP server that lets an AI agent control and inspect a live Chrome browser, with DevTools features such as performance traces and network and console inspection. It sends usage statistics by default; turn that off for agents.
-
Playwright MCP explained: what it is, how an agent uses it, and how to set it up
Playwright MCP is an open-source Model Context Protocol server that lets an AI agent drive a real browser through Playwright. The agent reads an accessibility snapshot of the page and acts on elements by reference, so it needs no vision model. You add it to an MCP client with one npx command.
-
Headless vs headed browsers for AI agents
A headless browser runs without a visible window; a headed browser draws one. Most AI browser agents should use Chrome's new headless mode, which is the real browser without the screen. Use headed mode when the agent works from desktop screenshots or a site needs a window.
-
How to keep credentials out of a browser agent's context and logs
Keep credentials out of a browser agent by letting code, not the model, handle logins. Load a saved login state or fill password fields from a secret store in the harness, give the agent its own least-privilege account, and mask secrets in traces, videos and logs before they are stored.
-
How to record and replay a browser agent's session
Record a browser agent's session with a Playwright trace for debugging (actions, DOM snapshots, screenshots, network, console), add a video or an rrweb DOM replay for people who watch it, and save a HAR file to replay the network later. Tie each recording to the agent's step log.
-
How to reset browser state between AI agent sessions
Reset browser state between agent sessions by giving every session a new, non-persistent browser context, or a new browser in a new container, and load only the login state the task needs from a saved file. Do not reuse a persistent profile across tasks unless the task needs it.
-
How to restrict a browser agent's network access against prompt injection
Restrict a browser agent's network access with an allow-list enforced outside the browser, at a proxy or firewall the agent cannot change, plus request routing inside the browser. Block private and metadata addresses. This limits where an injected agent can send data; it does not stop the injection.
-
How to run Chromium in Docker for an AI agent, with the sandbox on
To run Chromium in Docker for an AI agent, give the container enough shared memory (--ipc=host or a larger --shm-size), use --init, run the browser as a non-root user, and allow user namespaces with a custom system-call profile so Chromium's sandbox can stay on instead of using --no-sandbox.
-
What is a browser agent, and how does it work?
A browser agent is an AI system that completes a task in a real web browser by itself. In a loop, it reads the page, asks a language model what to do next, and clicks, types or navigates until the task is done or it gives up.
-
What is a browser sandbox? The two meanings, explained
A browser sandbox is either the browser's own process sandbox, which walls each web page off from the computer, or an isolated container or virtual machine that holds a whole browser for an AI agent. The first protects the computer; the second protects your systems from the browser and the agent.
-
What is a cloud browser, and how is one priced?
A cloud browser is a web browser that runs on a remote server, controlled over the network by a person or a program. For AI agents it is usually headless Chromium in an isolated session, driven over the Chrome DevTools Protocol and billed by session time or by the compute it uses.
-
What is a computer-use agent, and why does it need its own desktop?
A computer-use agent is an AI model that operates a computer the way a person does, by looking at screenshots of the screen and sending mouse and keyboard actions. Because it can do anything a user can, it runs in an isolated virtual desktop that can be reset or deleted after each task.