agent-browser and the CLI + Skill Route: Why Coding Agents Drive Browsers from the Command Line
agent-browser, Playwright CLI, and Browserbase's browse all let a coding agent drive a long-lived browser through shell commands, with a skill teaching the agent how. "CLI uses fewer tokens than MCP" is only half true: tool definitions no longer have to load up front, but independent measurements find most of the gap comes from whether page state is pushed back into context automatically, and in one measurement the CLI needed 2–3x more tool calls. The more practical difference is permissions: a CLI needs a shell, and agent-browser turns a domain allowlist, an action policy, and a credential vault into flags, at the cost that the allowlist can't be used with your own logged-in Chrome.