SuperAPIAI Directory

agentic-browser

github.com · AI agents

agentic-browser is an open-source tool developed by Davarion that lets any AI agent directly control the Google Chrome (or Edge) browser already installed on your machine. It does not depend on a model or API key; instead, it exposes a set of browser_* tools to agents via MCP or an HTTP API: pages are presented as compact text with pixel coordinates rather than screenshots, saving tokens; a visible cursor is shown on screen, displaying every move and click. The tools support page navigation, tab management, structured data extraction, article-to-Markdown conversion, PDF/MHTML saving, media downloads, form filling, automatic popup dismissal, teaching recording and replay, and more, and provide an optional chat monitor (off by default, and by default it only drafts replies without sending). It requires Node ≥ 18 and Chrome, is MIT-licensed, and does not provide CAPTCHA solving or anti-bot detection evasion.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose

agentic-browser lets AI agents use the Google Chrome (or Edge) browser already installed on your computer the way a person would, instead of relying on website APIs. It is itself a tool rather than a model; it does not charge per-token fees and does not require sign-up; agents use the model capabilities they already have (such as a Claude subscription in Claude Code, a ChatGPT plan in Codex, Cursor, or local models).

Key capabilities

  • Text perception: pages are presented as compact text with pixel coordinates rather than screenshots, significantly reducing token consumption; browser_screenshot can be used with a ref to capture only a specific region (useful for Canvas, WebGL, maps, and other content that the DOM cannot describe).
  • Visible cursor: a cursor is shown on screen, displaying every move and click of the agent.
  • Content extraction and saving: browser_article converts page body text into clean Markdown; browser_pdf saves as PDF or MHTML; browser_media downloads images, videos, audio, and documents on the page and generates manifest.json; browser_video downloads videos (including HLS/DASH, rejecting DRM content).
  • Structured data: browser_extract converts tables or repeating lists into JSON or CSV.
  • Teaching and replay: browser_teach_start records actions and saves them as a recipe based on roles and names, and browser_replay replays it with new values; passwords are not recorded. There is also an "Enseñar" button on the left side of the browser that starts recording directly.
  • Automatic cleanup: closes the Chrome translation bar, search engine selection, restore pages bubble, and permission prompts; after navigation, automatically closes website popups (only clicking close or decline, never accept, subscribe, or log in).
  • Reliability: refs persist across re-renders when an element can be uniquely re-identified; a warning is given when a click is obstructed; open Shadow DOM and iframes are traversed; new tabs, dialogs, and downloads are reported; three repeated calls trigger a loop warning.
  • Token counting: browser_cursor_style({ hud: true }) or AGENT_HUD=1 shows a comparison of tokens used and screenshot costs in the corner of the page; browser_stats returns the same data.
  • Privacy masking: browser_cursor_style({ privacy: "whatsapp" }) or AGENT_PRIVACY=whatsapp blurs contacts, chat titles, and avatars; presets include whatsapp, telegram, gmail, and custom CSS selectors are also supported.

Usage

  • Claude Code: install with a one-line command.
  • Other MCP clients (Claude Desktop, Cursor, Codex, etc.): configure "command": "npx", "args": ["-y", "agentic-browser-mcp"]; see examples/mcp-config.json for an example.
  • HTTP: GET /tools returns the JSON Schema of all tools, which can be passed directly as function definitions to any LLM API; examples/python_client.py provides a dependency-free Python client.
  • Optional chat monitor: disabled by default and must be enabled separately. It keeps tabs such as WhatsApp Web, Telegram, and Messenger open, waiting for messages without consuming tokens; when a message arrives, it wakes Claude to read it and draft a reply. Policy is enforced by code: observe only notifies; draft (default) only drafts and does not send; auto only sends to the allowlist, and all modes are constrained by sensitive keywords, hourly limits, and domain locking. You can use contacts to monitor only specified chats.

Use cases

Price comparison, web research, form filling (can stop before submission), article reading and summarization, page content archiving, media collection, teaching playback of repetitive web tasks, and demos and recordings that need to observe the agent's operation process.

Limitations

  • Requires Node ≥ 18 and Google Chrome (or Edge).
  • Does not provide CAPTCHA solving or bot detection evasion; when encountered, browser_request_human should be called.
  • Closed Shadow Roots do not expose child nodes; Chrome's own interface (address bar, menus, permission prompts) is not part of the DOM.
  • Newer versions of Chrome prohibit remote debugging on the default personal profile; the agent uses a separate profile and you need to log in once in it.
  • Video downloading is limited to content you own or have the right to save; the terms of platforms such as YouTube, TikTok, and Instagram prohibit downloading.
  • Chat monitor: many platforms prohibit unofficial bots; read the documentation and disclaimer before use.
  • Licensed under MIT, provided "as is" without warranty; users are responsible for compliance and for complying with the terms of service of the websites they automate.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools