Settings

Theme

Show HN: BrowseBrawl – What if browser agents battled to generate training data?

browser-brawl.com

30 points by HrubyOnRails 2 months ago · 18 comments · 1 min read

Reader

I remember watching the AlphaGo documentary in 2017. What stood out to me was that the model got drastically better when it started competing against itself. GANs clicked for me similarly: a generator and discriminator competing, and somehow the competition is what produces something remarkable.

I've been curious whether this principle generalizes to today's agents.

So mehulkalia and I built Browser Brawl at the YC / BrowserUse hackathon last weekend and won first place. It is a fun experiment in which an attacker agent tries to complete tasks on live websites while a defender agent injects JavaScript to sabotage it.

The analogy isn't perfect, because browser tasks aren't zero-sum. But our hypothesis is that an agent faced with an adversary should produce more interesting training data than one navigating clean, static environments.

Try it on: http://browser-brawl.com

GitHub: https://github.com/RichardHruby/browser-brawl

Demo Video: https://youtu.be/NIoFXv-JvBY

(Skip to [0:55](https://www.youtube.com/watch?v=NIoFXv-JvBY&t=55s) to see the agents “brawling” in the arena :), [1:52](https://www.youtube.com/watch?v=NIoFXv-JvBY&t=1m52s) to see the browser traces generated)

Would love to chat with anyone building or training browser agents. Happy to dive in below!

mehulkalia 2 months ago

Mehul here. One thing that surprised me while building this was how creative the defender agent became. It runs Claude Haiku on a timer and can choose from prebuilt disruptions like fake “Session Expired” popups, or generate custom JavaScript injections based on what the attacker is doing, like inserting fake “Search disabled” buttons. Digging through the traces and seeing the before/after screenshots of what the defender agent came up with was pretty funny, and kind of mind-blowing.

rohoswagger1 2 months ago

This is so sick! Another crazy extension could be to give them certain handicaps / abilities to add more noise

etash 2 months ago

This is sick. Love the gamified creativity for the project + the actual real world usecase

Daksh_Sharma1 2 months ago

Really cool. Can’t wait to see how this grows!

hgaddipa001 2 months ago

What results have you seen so far?

JGitterle 2 months ago

Wow. This is cool.

SobjectiveTruth 2 months ago

This is hilarious

Allstar128 2 months ago

This is so cool!

sghitbyabazooka 2 months ago

how much did u pay for comments?

dubious_dude 2 months ago

yoo this is sick, congrats guys!

balintpasztor 2 months ago

Awesome guys

sohilbhatia85 2 months ago

Super cool!!

maxpowerxd 2 months ago

Woooooow

hitarthkhurana 2 months ago

this is amazing!!!

JosephBath 2 months ago

this is sick

julian2k 2 months ago

love it

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection