bb-browser ai
Turn your authenticated browser into an API for AI agents — 103 commands across 36 platforms
bb-browser transforms your logged-in Chrome into an API for AI agents. 103 commands across 36 platforms — no API keys needed, just your existing browser sessions.
Features
- 103 curated commands spanning 36 platforms (Twitter, Reddit, GitHub, YouTube, Zhihu, Bilibili, arXiv, and more)
- Anti-bot invisible — requests originate from your real browser with your cookies
- Raw browser automation: click, fill, eval, screenshot, snapshot (accessibility tree), network capture
- Three authentication tiers from simple cookie extraction to webpack injection
- MCP server mode for Claude Code and Cursor integration
- JSON output with inline
--jqfiltering for structured data - Multi-tab concurrent operations via
--tabflag - OpenClaw integration and community adapter ecosystem
Install
npm: npm install -g bb-browser Commands
| Command | Syntax | Description |
|---|---|---|
site | bb-browser site <platform/command> [args] | Run a curated platform command (e.g. twitter/search, arxiv/search) |
snapshot | bb-browser snapshot -i | Get the accessibility tree of the current page |
click | bb-browser click @<index> | Click an element by accessibility index |
eval | bb-browser eval <js> | Execute JavaScript in the current page |
screenshot | bb-browser screenshot | Capture a screenshot of the current page |
network | bb-browser network requests --with-body --json | Capture and inspect network traffic |
site update | bb-browser site update | Pull latest community adapters |
Links
Agent Usage Example
Use cases:
- Multi-platform research using authenticated browser sessions
- Access real-time data from sites without official APIs
- Browser automation with accessibility tree navigation
Example workflow:
bb-browser site twitter/search 'AI agent' --json --jq '.items[] | {text, likes}'