Settings

Theme

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

browser-brawl.com

30 points by HrubyOnRails · 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!

16 threads
mehulkalia

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

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

etash

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

Daksh_Sharma1

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

hgaddipa001

What results have you seen so far?

JGitterle

Wow. This is cool.

SobjectiveTruth

This is hilarious

Allstar128

This is so cool!

sghitbyabazooka

how much did u pay for comments?

dubious_dude

yoo this is sick, congrats guys!

balintpasztor

Awesome guys

sohilbhatia85

Super cool!!

maxpowerxd

Woooooow

hitarthkhurana

this is amazing!!!

JosephBath

this is sick

julian2k

love it

Keyboard Shortcuts

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