agentic-browser
Supports using Brave as the Chromium-based browser that the agent controls, enabling the same browser automation capabilities as with Google Chrome.
Provides browser automation tools that control the user's installed Google Chrome, allowing agents to navigate, read pages as compact text, click, type, and interact with web content using pixel coordinates.
Enables the optional chat watcher to monitor Messenger for new messages, read them, and propose or send replies according to a configurable policy.
Enables the optional chat watcher to monitor Telegram Web for new messages, read them, and propose or send replies according to a configurable policy.
Enables the optional chat watcher to monitor WhatsApp Web for new messages, read them, and propose or send replies according to a configurable policy.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentic-browserOpen Wikipedia, search for Chrome DevTools Protocol, and summarize the first paragraph"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentic-browser
Give any AI agent a real browser and watch everything it does.
Built and maintained by Davarion.
No API key. No extra bill. agentic-browser is a tool, not a model: it runs on your computer and uses whatever brain your agent already has. That can be your Claude Pro/Max plan in Claude Code, your ChatGPT plan in Codex, Cursor, or a local model. Nothing to sign up for and no per-token charges from us.
Humans browse the web with browsers. Agents usually need APIs. agentic-browser lets any agent use your installed Google Chrome the way a person does. It perceives pages as compact text with pixel coordinates instead of screenshots, and a visible cursor shows every move and click.
Español · Use cases · Chat watcher · Architecture · Security · Disclaimer
Why
Problem with today's browser agents | agentic-browser |
Screenshots cost ~1,000–1,500 tokens per look | Text snapshot: ~15 tokens per element. |
Agents guess coordinates from images | Every element comes with its exact center |
You can't see what the agent is doing | A red cursor travels to each target, ripples on click and labels the action |
Locked into one agent framework | MCP server and a plain HTTP/JSON API: Claude, GPT, Gemini, Hermes, OpenClaw, LangChain, n8n, curl… |
Stripped-down Chromium builds | Your real Chrome: extensions, codecs, PDF, WebGPU, auto-updates |
Yet another API key and bill | None. Works with the subscription your agent already uses; even the optional chat watcher can run on your Claude plan |
Related MCP server: agent-browser-mcp
Quick start
Requirements: Node ≥ 18 and Google Chrome.
git clone https://github.com/davarion-tech/agentic-browser.gitcd agentic-browser && npm installnpm run doctornpm testUse it from an MCP client
Claude Code:
claude mcp add agentic-browser -- node /absolute/path/to/agentic-browser/src/mcp.jsClaude Desktop, Cursor, Codex, Hermes, OpenClaw or any MCP client: see examples/mcp-config.json.
Claude Code slash command (optional): copy skills/agentic-browser into ~/.claude/skills/. Then /agentic-browser <task> always uses this browser instead of any other built-in browser tool.
Then ask your agent something like:
Use only the browser_* tools from agentic-browser. Open es.wikipedia.org, search for "Chrome DevTools Protocol", open the first result and summarize the first paragraph. Don't take screenshots.
Use it from anything else (HTTP)
npm run httpcurl -s -X POST http://127.0.0.1:8787/tools/browser_navigate -d "{\"url\":\"example.com\",\"snapshot\":true}"GET /tools returns the JSON Schema of every tool, ready to pass as function definitions to any LLM API. A dependency-free Python client is in examples/python_client.py.
Optional: chat watcher
Off by default. Installing agentic-browser only lets your agent use the browser when you ask it to. The watcher is a separate process that you turn on.
The watcher keeps the agent's own messaging tabs open (WhatsApp Web, Telegram, Messenger…). Waiting costs zero tokens; when a message arrives, it wakes Claude to read it and propose a reply. A code-enforced policy controls what happens next:
observe: only notifies you.
draft (default): writes the reply but never sends it.
auto: sends, but only to an allowlist. Sensitive keywords, an hourly limit and a domain lock apply in every mode.
npm run setupnpm run watcherIt runs on your Claude subscription (claude setup-token) or an API key. Read docs/WATCHER.md and the Disclaimer first: many platforms forbid unofficial bots.
What the agent sees
# Test bench
url: http://localhost:3000/
viewport 1280x800 scroll=0,0 docH=2090
[3] textbox "Search" ph="type something" @191,124
[4] button "Search" @339,124
[5] select "color" value="Red" opts=[*Red|Green|Blue] @429,124
[6] checkbox "I agree" {checked} @492,124
[10] button "Button in shadow DOM" @652,316
[f1:1] button "Button inside iframe" @214,217Tools
Tool | Purpose |
| Main perception. Visible elements with ref, role, name, state and center |
| Find elements by text anywhere on the page, including off-screen |
| Pixel → element (role, text, clickable, DOM path), with no image |
| Where the agent's cursor is and what is under it |
| Visible click or hover by |
| Real keyboard input: |
| Mouse wheel; drag and drop |
|
|
| Navigation and tabs |
| Readable text (wrapped as untrusted content); arbitrary JS |
| Wait for time, text or selector. |
| Hand control to the person watching (login, 2FA, CAPTCHA, a decision) through an on-page banner |
| JS console and errors; dialogs, downloads and new tabs; audit trail of every action |
| Show or hide the cursor or its trail |
| Record the active tab as a video, red cursor included, for demo clips without OBS. MP4 (H.264) when |
| Last resort: JPEG of the page or of a single |
Most actions accept snapshot: true and return the new page state in the same response, which saves one agent turn per step.
Reliability features: refs survive re-renders when the element can be uniquely re-identified. Clicks warn when a modal covers the target (occluded). Open shadow DOM and iframes are traversed. New tabs, dialogs and downloads are reported in the action result. Repeating the same call three times triggers a loop warning.
Configuration
Variable | Default | |
|
|
|
| — | Attach to a running Chrome started with |
|
| Persistent agent profile (cookies and logins survive restarts) |
|
| Download folder |
|
| ms per 100 px of cursor travel; |
|
|
|
|
|
|
| — | Domain allowlist, e.g. |
|
|
|
|
| Audit log of every tool call |
| auto-detected | Path to the browser. Any Chromium browser works: Chrome, Edge (falls back to it automatically), Brave, Chromium |
|
| HTTP port and optional Bearer token |
|
| Where |
|
| Path to ffmpeg for MP4 recordings; |
Limits
Canvas, WebGL and maps: the DOM doesn't describe what is drawn inside them. Use
browser_screenshotwith arefto pay only for that area.Closed shadow roots don't expose their children.
Chrome's own UI (address bar, menus, permission prompts) is not part of the DOM. Use
browser_navigate,browser_tabsand the environment variables instead.No CAPTCHA solving and no bot-detection evasion. The agent should call
browser_request_human.Recent Chrome versions block remote debugging on your default personal profile. The agent uses its own profile; log in there once.
Roadmap
Based on the most common complaints about browser agents (stale refs, token bloat, popups, multi-agent conflicts, prompt injection, observability):
Reference chat watcher for agent-owned accounts: wakes on new messages at zero tokens and replies under a code-enforced policy (draft by default, allowlist, sensitive keywords, rate limit, domain lock). See docs/WATCHER.md.
Multi-agent sessions on one profile, with tab ownership and leases.
browser_batch: several actions in one call.Hidden-text detection (instructions hidden with CSS) as a prompt-injection signal.
Session replay: trace plus a GIF/video of the cursor.
Legal
Released under the MIT License. Provided as is, without warranty. You are solely responsible for how you and your agents use this software. That includes compliance with the law and with the terms of service of the sites you automate. Read the full Disclaimer.
Made by Davarion. Not affiliated with Google. "Google Chrome" is a trademark of Google LLC.
This server cannot be deployed
Maintenance
Related MCP Connectors
Real Chrome for agents: start a browser, read pages as numbered markdown, click, type, hand off.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to control the Google Chrome browser through a Node.js WebSocket bridge and a dedicated browser extension. It provides tools for capturing screenshots, executing JavaScript, managing tabs, and extracting page content via the MCP protocol.2-
- AlicenseBqualityFmaintenanceEnables AI agents to directly control your real Chrome browser with full context including login sessions, cookies, and open tabs. It provides tools for page scanning, JavaScript execution, CDP control, screenshots, and physical mouse/keyboard input for authentic browser automation.20245MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control Chrome browser actions like navigation, clicking, form filling, screenshots, and console/network logging via an MCP server and Chrome extension.696 npmMIT
- FlicenseBqualityDmaintenanceEnables AI to control browsers via natural language for web automation, testing, and data scraping. Supports Chrome-based browsers and integrates with any MCP-compatible AI tool.172-