r/PiCodingAgent • • 5d ago

Resource Stealthy AI browser getting through content from reddit and YT easily (0$, completely free, token efficient, 5 sec install)

5-tool Rust browser driver for Pi (installs in 5s, pulls real Reddit & YouTube content without eating context)

Clip above is Bladebro installing into Pi in under 5 seconds, then browsing Reddit and YouTube for real content.

Install is one command:

pi install npm:bladebro

Open a new Pi session and 5 tools (act, see, state, run, vision) show up straight from the binary.

Single ~8 MB Rust binary talking directly to your installed Chrome/Chromium/Brave/Edge over CDP. No skill file eating your prompt.

Also the pi extension costs like 2k tokens total to exist, not huge like some other MCP servers, or you can just use the CLI + skill file setup if you like.

What it does

  • Keeps context small: actions return a verdict + page delta instead of full page dumps, and repeated site nav/footer links fold automatically.
  • Built-in extractors (see with extract=auto) for Reddit, YouTube, GitHub, HN, X, Stack Overflow, Wikipedia, Amazon, arXiv, npm, PyPI, and crates.io.
  • Gets past bot walls: stock Chromium, zero automation flags, native-proxy stealth (68/80 = 85% on browser-use's Stealth Bench V1, single residential IP, no proxies or CAPTCHA solvers).
  • Real-browser mode (bladebro rb on) clones or attaches to your logged-in profile with zero page injection. Isolated agent browser by default.
  • Open + read in one see call, or chain waits, loops, and branches in one run call. Refs survive React/Vue re-renders.
  • Live DOM readback on every write/upload. If it hits a real CAPTCHA wall, it returns blocked: instead of silently looping.

Feel free to doubt the benchmark numbers, i know its from my side, but you can run it yourself and tell me what went wrong.

Quick note on "why not Playwright?"

Playwright MCP adds 20+ tools, dumps giant accessibility trees every turn, and launches with automation flags that get blocked on Reddit/Cloudflare right away.

Bladebro stays at 5 tools, returns deltas, runs with zero automation flags, and extracts real sites cleanly out of the box.

Same binary also works as a standalone CLI (bladebro nav, bladebro see content) or standard MCP server on Linux, macOS, and Windows.

Apache 2.0: https://github.com/dondai44423/bladebro

Try pi install npm:bladebro and let me know if anything breaks on your machine or what site extractors you'd want next.

311 Upvotes

34 comments sorted by

12

u/aelma_z 5d ago

Whats that neat terminal that does such nice animation/transitions?

15

u/Opening_Library9560 5d ago

kitty, that's the terminal. The smooth animations are cursor_trail 3 (trailing cursor) plus niri's own window-motion animations; the rest is just kitty's theme.

1

u/aelma_z 5d ago

Thanks!

1

u/Lioba_Ciidgey 5d ago

wondering the same thing, those smooth cursor transitions look super clean

5

u/dylanberry 5d ago

How does this compare to Camoufox and the related tooling? https://github.com/daijro/camoufox

5

u/Opening_Library9560 5d ago

Not the same category, i had ran a pure stealth on camoufox in the past with an old version of bladebro, the result came out as equal stealth.

But bladebro is a full agent browser that gives you everything, camoufox is just a stealth runtime meant to be used on top of other browser automation tools from what i know.

Completely different category

3

u/bugtank 5d ago

Meaning you don’t need to use playwright to drive bladebro you just give it prompts ?

3

u/Opening_Library9560 5d ago

yea, basically that

4

u/skinnydill 5d ago

any plans to add instagram support?

1

u/Opening_Library9560 5d ago

dosent really need a support, it should work if you try out right now, if it gives you a login wall, you just gotta login manually so your agent can browse insta.

I can create a custom adapter to make insta work better if its not working better by defualt tho

3

u/Tuned3f 4d ago

how does this compare to stealth-browser-mcp?

2

u/Opening_Library9560 4d ago

Haven't compared the two directory, its one install away tho, you can test it yourself without any issues.

from what i see in their rep, stealth browser mcp seems like it has a lot of tools for automation, like playwright, i consider that a token waste really, because agent dosent need that much to browser the web.

so bladebro only has the needed tools and it can do everything in daily browsing

2

u/bambamlol 5d ago

I like it! Anything I need to keep in mind when using it inside WSL with disabled GUI? I just installed Chrome and xvfb and it seems to work. So far I only tested the standalone CLI. Any tips I need to keep in mind? Are there any limitations I need to be aware of? For example, if I wanted to use Bladebro as my "main browser" for testing websites, is there anything I'm missing out on by using Bladebro instead of Playwright, for example? Or would you recommend Bladebro mostly for using on sites that you already built extractors for?

Cheers :)

3

u/Opening_Library9560 5d ago • Bravo

Glad it's working cleanly for you, anyways, here are the technical stuff:

WSL without GUI

  • Install xfwm4 and fonts-noto-color-emoji alongside xvfb, then run bladebro doctor to verify everything looks good.
  • Stick to the default agent browser in WSL. Real-browser mode (rb on) expects a desktop display, and Linux Chrome inside WSL can't reuse your Windows Chrome cookies anyway.
  • Run bladebro stop when you want to shut down the background daemon (otherwise it auto-exits after 10 minutes idle).

Only for sites with built-in extractors? No, it works on any site. The built-in extractors are just shortcuts for popular sites so agents burn fewer tokens. For your own sites or anything else, see, act, run, vision, and custom JSON extraction templates work out of the box.

Bladebro vs. Playwright for testing Depends on the kind of testing:

  • If an AI agent is interactively testing your site, clicking through flows, or checking live/protected pages, Bladebro is a lot lighter on tokens and simpler to run.
  • If you're writing a formal CI test suite, keep Playwright. Bladebro is Chromium-only and doesn't cover Firefox/WebKit, cross-origin iframes, network request mocking, or video/trace recording.

4

u/bambamlol 5d ago

Thank you for taking the time to respond! I guess then I can stick to Bladebro mostly. Awesome! Thank you for sharing, hope this project will be around for some time! Cheers :)

1

u/Oshden 5d ago

Saving this comment for WSL installation. Recommend adding the info to the readme

Edit: btw, this looks dope as fuck. I look forward to figuring out how to link this in to my pi coding agent setup. Keep up the awesome work beo

2

u/rm-rf-rm 4d ago

any plans to add the option of a modern lightweight/minimal browser instead of chrome?

6

u/Opening_Library9560 4d ago

That would be a bad idea for bladebro since using stiff like obscure or lightpands sounds goods on paper, But it will absolutely butcher every part of stealth and reliability just for some faster speeds and lightweight.

Bladebro is decently fast as of now, and the reason i dont go with modern minimal browsers is because they dont have chromium, which is a massive tell in stealth if a browser has some weird shit.

some websites wont load, some will break and all that

2

u/Glaaki 4d ago

If you need that, you might as well go with lightpanda.

2

u/xtekno-id 3d ago

Can we use outside Pi?

3

u/Opening_Library9560 3d ago

yea, it has an mcp and cli option, you can use it anywhere

1

u/xtekno-id 3d ago

cool. Thanks

1

u/Relevant-Movie4645 2d ago

I got Error: 400 ... Reasoning is mandatory for this endpoint...

2

u/Opening_Library9560 2d ago

Thats weird, might not be a tool bug tho, i dont have much context so i cant really pinpoint why that would happen

1

u/Relevant-Movie4645 2d ago

If it persists I'll document it.

2

u/fusien_ 5d ago

Will try this, looks great!

2

u/Glaaki 4d ago

Will bladebro work inside a Docker container, for instance Debian slim? My use case is running an agent like zeroclaw containerized on a server.

2

u/Marbles023605 4d ago

I just use browser-harness, it uses my own open chrome tabs cookies etc and I haven’t had any issues with Reddit or YouTube

2

u/russlixx 4d ago

been using bladebro for a while now, didn't even realize it can do youtube too!

2

u/CapMonster1 3d ago

The lightweight architecture sounds interesting, especially the decision to return page deltas instead of dumping the entire DOM or accessibility tree on every interaction. That can make a noticeable difference when working with agents that have limited context windows.

I'm also curious about the captcha handling strategy. Returning an explicit blocked state instead of endlessly retrying is a good design choice. How does the browser behave when a site switches from ordinary bot detection to an actual interactive challenge?

3

u/SedanOutruner 5d ago

returning blocked instead of silently looping is the behavior that actually saves tokens. most drivers just keep retrying the same wall.

1

u/Funken 1d ago

Like the launch and dig the simplicity. Nicely done!

2 things: Playwright also has CLI though. Have you compared to that?

And what does this add that BrowserDevTools doesn't have?

0

u/Relevant-Movie4645 2d ago

KGB, dropping other web extensions.