Browser control for AI agents

Your agent. Your browser. Minimal tokens.

Raw CDP over WebSocket. Zero dependencies. Uses your actual Chrome with your cookies and logins. Works with Claude Code, Codex, and any agent.

curl -fsSL https://raw.githubusercontent.com/kilospark/webact/main/install.sh | sh
View on GitHub
5.4MB Single binary. Zero dependencies.
Rust binary — MCP server + CLI in one.
0
Dependencies
5,200
Lines of source
60+
Commands

Less output. Same context.

Measured against Playwright-based tools - agent-browser, Playwright MCP, Stagehand, and Browser Use all share the same Playwright foundation and accessibility tree output. Tested on the same pages, same time.

Navigate + see page Hacker News
webact
186 chars
98%
Playwright*
7,974 chars
Navigate + see page GitHub repo
webact
756 chars
91%
Playwright*
8,486 chars
Full page read GitHub repo
webact
4,049 chars
96%
Playwright*
104,890 chars

* Measured using agent-browser (Vercel). Tools built on Playwright - including Playwright MCP, Stagehand (Browserbase), and Browser Use - share the same accessibility tree snapshot, so output sizes are comparable.

Perceive-act loop

Tell your agent what you want. It drives the browser.

01
Act
Navigate, click, type, scroll, search, read URLs in parallel - 60+ CDP commands. Auto-dismisses cookie banners. Each action auto-prints a compact page brief.
02
Perceive
Read the brief (~200 chars). Need content? Use read. Need full page + refs? Use text. Screenshot as fallback.
03
Decide
The agent adapts. Continue, try another approach, or report results. Repeat until the goal is done.

Direct line to the browser

No daemon, no framework, no abstraction layers. Every Playwright-based tool adds hops between the agent and the browser.

webact

5.4 MB single binary
Rust binary (webact-mcp / webact)
↓ CDP WebSocket
Your Chrome
5.4 MB single binary. Zero dependencies. Uses your browser — your real Chrome user agent, no bot fingerprint.

Playwright-based tools

agent-browser / Playwright MCP
Stagehand / Browser Use
CLI / MCP server / SDK
↓ IPC / socket
Playwright
↓ CDP
Bundled Chromium
~200 MB+ install. Downloads its own Chromium. Headless by default. Separate browser session. Modified user agent detectable by sites.

One command. No browser download.

Works with Claude Code, Cursor, Codex, Windsurf, Cline, Copilot, OpenCode, Goose, and more. Uses your existing Chrome.

MCP Server (recommended)

curl -fsSL https://raw.githubusercontent.com/kilospark/webact/main/install.sh | sh

# Auto-configures Claude Desktop, Claude Code,
# ChatGPT Desktop, Cursor, Windsurf, Cline, Codex

Agent Skill

npx skills add kilospark/webact

# Works with Claude Code, Cursor, Codex,
# Windsurf, Cline, Copilot, OpenCode, Goose