⌘K
Change language Switch ThemeSign In
Narrow Mode
bb-browser: An Agent-Native Browser Automation Tool ===================================================
bb-browser: An Agent-Native Browser Automation Tool ===================================================  ### yan5xu
@yan5xu
Hey! I built bb-browser and thought it'd be a great fit with openclaw's new browser.
The core idea: a Chrome extension connects to your real browser via CDP, evals JS in the tab, and calls fetch() with your cookies. Sites think it's you because it is you. No headless, no auth headaches.
On top of that, each website gets a small JS adapter that wraps it into a CLI command. Twitter, Reddit, GitHub, HackerNews, arXiv, YouTube transcripts, Stack Overflow... all return structured JSON.
With openclaw it's even simpler. bb-browser reuses openclaw's existing CDP channel directly, no extra extension needed. Just bb-browser site twitter/search "AI" --openclaw.
An agent can add a new site in about 10 minutes by reading bb-browser guide and reverse-engineering the API on its own.
Something I'm really proud of: the entire CLI is designed to be agent-native. Hints everywhere. When an agent opens a URL, it gets nudged to use site adapters instead. When it runs site recommend, it discovers which sites match the user's browsing habits. Error messages include recovery actions. The CLI basically teaches the agent how to use it. It's been really fun to design for two audiences at once.
Already on ClawHub: yan5xu/bb-browser github.com/epiral/bb-brow…Show More 
Mar 15, 2026, 5:15 PM View on X
1 Replies
4 Retweets
9 Likes
1,399 Views  yan5xu @yan5xu
One Sentence Summary
Introduction to bb-browser, a tool that connects AI agents to real browsers via CDP for seamless data extraction and interaction.
Summary
The author introduces bb-browser, a tool designed to integrate with browsers like openclaw via CDP. It allows agents to execute JS and fetch data using the user's existing cookies, avoiding headless detection and auth issues. It features JS adapters for major sites (Twitter, Reddit, etc.) to return structured JSON. Notably, the CLI is 'agent-native,' providing hints and recovery actions to help AI agents learn how to use it effectively.
AI Score
88
Influence Score 5
Published At Yesterday
Language
English
Tags
bb-browser
AI Agent
Browser Automation
CDP
Agent-Native Design HomeArticlesPodcastsVideosTweets
bb-browser: An Agent-Native Browser Automation Tool | Bes... ===============