48 ms·
Show HN: BrowseBrawl – What if browser agents battled to generate training data?
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 http://browser-brawl.com
GitHub: https://github.com/RichardHruby/browser-brawl https://github.com/RichardHruby/browser-brawl
Demo Video: https://youtu.be/NIoFXv-JvBY https://youtu.be/NIoFXv-JvBY
(Skip to [0:55](https://www.youtube.com/watch?v=NIoFXv-JvBY&t=55s 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 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!
- maxpowerxd 7mo agoWoooooow
- hitarthkhurana 7mo agothis is amazing!!!
- SobjectiveTruth 7mo agoThis is hilarious
- julian2k 7mo agolove it
- mehulkalia 7mo agoThanks!
- mehulkalia 7mo agoMehul 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.
- JosephBath 7mo agofascinating stuff mehul
- etash 7mo agoThis is sick. Love the gamified creativity for the project + the actual real world usecase
- sohilbhatia85 7mo agoSuper cool!!
- rohoswagger1 7mo agoThis is so sick! Another crazy extension could be to give them certain handicaps / abilities to add more noise
- hgaddipa001 7mo agoWhat results have you seen so far?
- Allstar128 7mo agoThis is so cool!
- JosephBath 7mo agothis is sick
- Daksh_Sharma1 7mo agoReally cool. Can’t wait to see how this grows!
- balintpasztor 7mo agoAwesome guys
- JGitterle 7mo agoWow. This is cool.
- dubious_dude 7mo agoyoo this is sick, congrats guys!
- sghitbyabazooka 7mo agohow much did u pay for comments?