AgentLane
Why should delegating work to an AI agent mean surrendering my own browser?
Can a person and an agent share one Chrome profile without taking turns?
What I noticed
A laptop has one pointer and one keyboard focus. An agent that drives a browser the way I do needs both, so when it clicks, I cannot type. The usual ways out each give something up: run the agent in a clean browser profile where it is signed in to nothing I care about; copy my sessions into it, which is a security problem; or sit still and watch.
The cost of delegating, in other words, is not only the agent’s compute. It is my own afternoon, handed over to the thing I delegated to.
The separation
What the agent needs from my browser is my logged-in state. What it collides with is my input channel. Those two things are separable.
AgentLane is a Chrome extension and a local MCP server built on that separation. The agent works in its own window inside my existing profile, so it is already signed in, with real screenshots, clicks, scrolling and typing delivered to its own tabs rather than through the operating system’s shared input. No profile is copied and no cookies are exported.
Evidence
The repository keeps a dated evidence log, including the runs that failed. Three entries carry most of the weight:
| Test | What happened |
|---|---|
| Real extension API, disposable Chrome | A synthetic HttpOnly session set in a “human” tab was recognised by the server from the agent’s tab, with no cookie value read or exported. Thirty interleaved rounds left the human tab’s typed text intact. |
| Headed macOS, key events | Failure. A single Tab key event moved window focus from the human window to the agent’s. Monitoring only the frontmost process would have missed it. Tab was removed from the production toolset. |
| Normal Chrome 157, signed in | 138 workflow rounds and 2,208 tool calls in 120.7 seconds, including an existing Google sign-in check. The person using the browser reported no interference. |
The second row is the one I would point to. The assumption that keyboard events aimed at one tab leave window focus alone was reasonable, and it was wrong.
What this does not show
- It is experimental. The tested path is macOS with Chrome 134 or newer; Windows is unsupported and Linux is unverified.
- Native dialogs, popups, individual Space transitions and arbitrary websites are not universally isolated.
- The long run involved one person and one machine.
- It is not the first attempt. An Apache-2.0 project with a similar aim and an open Playwright issue predate it, and the evidence log records “no novelty claim”.
- Chrome’s debugger permission is broad even though the tools AgentLane exposes are narrow. Screenshots can contain private information and reach whichever AI provider you use.
Why it might matter
Editorial reading. Nothing here measures productivity.
An economic reading. A pointer and a keyboard focus are rival goods: one use excludes another. While they are shared, delegation has an opportunity cost that grows with how much I delegate. Giving the agent a separate channel turns part of that contested resource into two uncontested ones, so the cost of the separable part falls towards zero. The part that cannot be separated, such as native dialogs, keeps its cost.
A question about authority. The agent acts as me, with my logins. So the interesting design question is less how capable it can be than how narrow, visible and revocable its authority is. In the 0.2.0 source the agent can only touch tabs it owns, human tab IDs are rejected, and after a worker crash the lane starts under human control and needs an explicit hand-back. When state is uncertain, it fails closed rather than guessing.
Still open
- Can the boundary be made complete, or only made honest about where it ends?
- When an agent’s worker dies mid-task, who should own the tab? 0.2.0 answers “the human”, which is safe but not always convenient.
- How much authority should a person hand to an agent that uses their real accounts, and how would they know it stayed within bounds?
The store listing is at 0.1.1. The 0.2.0 work (multi-client scheduling, recovery, human takeover) is unreleased source.
Technical detail
How it is built
A Chrome extension drives tabs through chrome.debugger. A Chrome-launched native messaging host talks to the MCP server over an owner-only local Unix socket; no debugging TCP port is opened. Each MCP client gets host-assigned routing identities, never tab IDs. Per-owner queues let input on independent tabs overlap, while screenshots share one FIFO mutex because the lane window shows one tab at a time. A kernel-held SQLite transaction elects a single broker. The evidence log, coordination notes and failure analysis live in the repository’s docs/ folder.