Many agents drive a browser through automation layers like Playwright MCP, open source libraries like browser-use, or browser tools built into coding agents and IDEs. These tools inherit the browser profile's cookies and network position, so decide which profile, which sites, and which credentials they can reach.
Read in this order
- OfficialUse Claude Code with Chrome (Claude Code Docs)Start here: how a coding agent attaches to a real browser, and the access that implies.
- Open sourcePlaywright MCP (Microsoft)The most common automation server, to review its options and defaults.
- Open sourcebrowser-useAn open source agent browser library, useful for seeing what credentials it can reach.