{
  "schemaVersion": "1",
  "revision": "22ce5d34dbcb5a78",
  "id": "factory-tools-browser-automation",
  "slug": "tools-browser-automation",
  "title": "Browser automation for agents (Oracle, agent-browser)",
  "summary": "Tool roles, alternatives, selection tradeoffs, and compatibility caveats.",
  "category": "Tools",
  "tags": [
    "tools",
    "browser-automation"
  ],
  "sources": [
    {
      "label": "Tool comparison reference",
      "url": "https://dewy-sleet-n5zs.here.now/#browser-automation"
    }
  ],
  "sourceUnits": [
    "resources/index.html#browser-automation"
  ],
  "collection": "factory",
  "categoryId": "tools",
  "wordCount": 402,
  "url": "/topics/factory-tools-browser-automation/",
  "markdownUrl": "/markdown/factory-tools-browser-automation.md?raw=1&v=22ce5d34dbcb5a78",
  "jsonUrl": "/api/v1/documents/factory-tools-browser-automation.json",
  "headings": [
    {
      "id": "browser-automation-for-agents-oracle-agent-browser",
      "text": "Browser automation for agents (Oracle, agent-browser)",
      "level": 2
    },
    {
      "id": "pick-this-if",
      "text": "Pick this if…",
      "level": 3
    }
  ],
  "markdown": "# Browser automation for agents (Oracle, agent-browser)\n\nTool roles, alternatives, selection tradeoffs, and compatibility caveats.\n\n## Browser automation for agents (Oracle, agent-browser)\n\n**John uses:** two distinct things. **[agent-browser](https://github.com/vercel-labs/agent-browser)** (38.6k, Apache-2.0) for general \"agent drives a browser\" tasks. And **Oracle** ([johnlindquist/oracle](https://github.com/johnlindquist/oracle) fork of a private setup) for the section 08 move: copy cookies from your logged-in Chrome profile and drive chatgpt.com / gemini.google.com directly — subscription-priced frontier reasoning (no API keys) and Gemini's video understanding, at ~1,978 sessions of real use. John runs it as `oracle serve` on a Mac mini behind Tailscale with a dual-account round-robin pool; most people would run it locally.\n\n**Honest note:** Oracle's cookie-riding consult niche has no maintained public equivalent we could verify. Substitutes are (a) rebuild the pattern on the tools below, or (b) pay for the API: Gemini API / Gemini CLI for video, ChatGPT Pro-tier reasoning via Codex CLI.\n\n| Alternative | What it is | How it differs | License |\n|----|----|----|----|\n| [browser-use](https://github.com/browser-use/browser-use) | Python library making websites accessible to AI agents; can attach to your real Chrome profile | General web-task automation with an LLM driver; you could rebuild Oracle's 'drive ChatGPT with cookies' trick on it | MIT |\n| [Playwright MCP](https://github.com/microsoft/playwright-mcp) | Microsoft's MCP server exposing Playwright browser control to any MCP-capable agent | Accessibility-tree-driven, works out of the box with Claude Code/Codex; persistent profiles carry logins | Apache-2.0 |\n| [Stagehand](https://github.com/browserbase/stagehand) | SDK for browser agents (act/extract/observe primitives on Playwright, by Browserbase) | Code-first SDK with hosted-browser option rather than a CLI; good for building your own Oracle-like service | MIT |\n| [Skyvern](https://github.com/Skyvern-AI/skyvern) | Automate browser workflows with LLMs + computer vision | Workflow-oriented (forms, portals) with a self-hostable server; AGPL | AGPL-3.0 |\n| [nanobrowser](https://github.com/nanobrowser/nanobrowser) | Chrome extension for multi-agent web automation with your own API keys | Runs INSIDE your logged-in browser, so it gets cookies for free like Oracle; check current repository activity (aging) | Apache-2.0 |\n\n### Pick this if…\n\n- **Playwright MCP** — you use Claude Code/Codex and want browser control today with zero code; persistent profiles carry logins.\n- **browser-use** — you're in Python and want to script Oracle-style \"drive a logged-in site\" flows.\n- **Stagehand** — you're building a browser-agent *service* (hosted browsers, SDK ergonomics).\n- **Skyvern** — you automate form-heavy portals and can self-host (AGPL).\n- **nanobrowser** — you want automation living inside your already-logged-in browser (aging repo — verify)."
}
