
vibesurfer
io.github.frane/vibesurfer
A browser for LLMs: the OS's real web engine, compact page trees, trusted input.
Documentation
vibesurfer (vs)
A browser for LLMs, not humans.
Browsers and their automation protocols were built for people looking at DevTools. An agent pays per token and waits on every response. The Hacker News front page through Playwright is about 2000 tokens before the agent has done anything; through vibesurfer it is about 50.
vibesurfer is a native browser daemon in Rust on the real system engine: WKWebView on macOS, WebKitGTK on Linux, WebView2 on Windows. No Chromium download.
- Small reads. A page is a compact accessibility tree with stable refs. Later reads send only what changed.
- No stale clicks. Every read returns a state token, and every write checks it. If the page moved in between, the agent reads again instead of clicking the wrong thing.
- Real input. Clicks, drags and typing are native OS events (
isTrusted = true) on every engine. See stealth. - Secrets stay with the human.
vs prompt-formcollects a login through a local form your password manager fills; the agent never sees the values. - Everything else a browser test needs: request interception, dialogs and popups, cookies and saved logins, downloads, screenshots, MP4 and WebM recording, a live view to watch the agent, WebAuthn passkeys.
- Audited. Every call is a row in a local SQLite log.
Install
npx vibesurfer session-open # no install
brew tap frane/tap && brew install vibesurfer
cargo install vibesurfer
More ways, and what each platform needs: docs/install.md.
Use it from your agent
vs skill install
This finds Claude Code, Claude Desktop, Cursor, Codex, Antigravity and OpenClaw and gives each the skill file, the MCP server, or both. In Claude Code, /plugin install frane/vibesurfer does the same.
Thirty seconds
$ vs so # session-open
$ vs o https://example.com # open -> page id
p_019e…
$ vs v p_019e… # view
@44d01704049d6d31
1 doc "Example Domain"
2 hd "Example Domain"
4 lnk "Learn more" click,focus
$ vs a p_019e… 4 click --token=44d01704049d6d31
More in docs/usage.md. The full command reference agents read is SKILL.md.
testsurfer
testsurfer runs your existing @playwright/test suites on vibesurfer: about 10 MB to install instead of about 300 MB.
Docs
Install · Usage · Stealth · Protocol · Architecture · Known issues · Development · Changelog
License
Apache-2.0. Built on objc2, webkit6, webview2-com and interprocess. Contributions welcome; open an issue first for anything beyond a small fix.
vibesurfernpm install vibesurfer