Live data from Hacker News

Kitesurf: Agent-first browser that runs in V8 isolates

blog.cloudflare.com

31–40 of 68 posts

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#31

Earlier quoted context omitted.

> I’ve heard executive leaders tout that “people use agents to buy things for them” but I haven’t actually seen that. My wife really dislikes building up the shopping cart for our weekly grocery delivery, so I built an agent... thing with earendil's npm libs. It takes the menu my wife has decided on, confers with her about the ingredients (if it hasn't seen a recipe before), and then uses Chrome's devtools protocol t…

Does walmart keep prompting you with "Press and hold" anti bot requests? I have a similar project and keep getting these on walmart.

Nope! Not even once, which surprised me. We've done about 6 grocery runs with it now, and it's never been blocked by any anti-bot detection. Maybe it's because I'm signed into my Walmart account already, or because it's using Chrome's devtools protocol to control the browser instead of something like Puppeteer?

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#32

This is built on top of Blitz ( https://github.com/dioxuslabs/blitz ): a new modular (open source) browser engine that I've been building for the last 2.5 years. (I wasn't involved in building kitesurf, but I am informed that they intend to open source and upstream their patches)

Are you effectively building a separate renderer outside of Webkit?

Just curious on your thoughts about how Webkit was architected then, I guess it's not a modular system where you can separate out things like "Localstorage" support?

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#33

Earlier quoted context omitted.

> I’ve heard executive leaders tout that “people use agents to buy things for them” but I haven’t actually seen that. My wife really dislikes building up the shopping cart for our weekly grocery delivery, so I built an agent... thing with earendil's npm libs. It takes the menu my wife has decided on, confers with her about the ingredients (if it hasn't seen a recipe before), and then uses Chrome's devtools protocol t…

> uses the local models That is fantastic. Last I checked models capable of running on commodity (anything below a dedicated GPU rack) hardware were very lackluster.

Yeah, they're excellent. I use a small Qwen3-4B-Instruct as the "actor" agent which goes out to the website, searches for a batch of items, decides which best matches the criteria, and puts them in the cart. Then I have Qwen3.6-35B-A3B as the "orchestrator" agent (it's just what I use for my daily driver), it's responsible for chatting with my wife about the menu, recipes and ingredients, and tells the smaller agent what to put in the cart with our brand preferences, dietary restrictions, etc. in mind.

I could probably drop the smaller Qwen at this point, but when I was first building this I was having an issue with search results and cart data filling up the main agent's context.

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#34

This is built on top of Blitz ( https://github.com/dioxuslabs/blitz ): a new modular (open source) browser engine that I've been building for the last 2.5 years. (I wasn't involved in building kitesurf, but I am informed that they intend to open source and upstream their patches)

Are you effectively building a separate renderer outside of Webkit? Just curious on your thoughts about how Webkit was architected then, I guess it's not a modular system where you can separate out things like "Localstorage" support?

> Are you effectively building a separate renderer outside of Webkit?

Yes, it's new engine separate to Webkit/Blink/Gecko/Servo/Ladybird/etc

> Just curious on your thoughts about how Webkit was architected then, I guess it's not a modular system where you can separate out things like "Localstorage" support?

Honestly, I'm not super-familiar with Webkit's architecture. It's a huge codebase, and it's also C++ which is always pretty intimidating. I believe Webkit is more modular than most of the others, but Blitz goes quite extreme into modularity:

- The core is not coupled to the HTML parser

- The core is not coupled to the networking

- The core is not coupled to the rendering backend

- The core is not coupled to the windowing/input layer

- The core is not coupled to the JS/scripting engine

- The style engine (Stylo - shared with Servo and Firefox) is mostly implemented as a library which can be used independently

- The layout engine is mostly implemented in two libraries which can be used independently of the rest of the engine (Taffy for Flexbox/Grid/Block layout and Parley for Text/Inline layout)

So, yes I'd hope that it will be possible to individually opt-in to features like localstorage (once we implement them), but it goes a bit further than that.

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#35

Can someone give me examples of where you use agents in your browser? I’ve heard executive leaders tout that “people use agents to buy things for them” but I haven’t actually seen that.

Web scraping is the age old pre-LLM way to implement scratch-your-own-itch automations on the web. Anything you do manually with a web browser. Also used in corporate settings to interface with bad "enterprise" software, it's called RPA there. This kind of thing is the logical AI progression of those.

tldr; to workaround the lack (or shortcomings) of public m2m APIs in web apps

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#36

Can someone give me examples of where you use agents in your browser? I’ve heard executive leaders tout that “people use agents to buy things for them” but I haven’t actually seen that.

For any horrible web administration UI:

- Apple Appstore Connect (gazillions of forms of metadata to release an app) - AWS - DigitalOcean - Google Play Store

Whenever I dread logging in because I know the simple sounding task requires me to click through countless menus I use an agent browser. With confirmations of course. However, while the agent clicks through these (oftentimes dog slow) UIs I can do other things. Once it requires permission, I read, decide and act.

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#37

This is built on top of Blitz ( https://github.com/dioxuslabs/blitz ): a new modular (open source) browser engine that I've been building for the last 2.5 years. (I wasn't involved in building kitesurf, but I am informed that they intend to open source and upstream their patches)

I hope Cloudflare Hires, Sponsors, or at least donates a good chunk of change you way.

Re: Kitesurf: Agent-first browser that runs in V8 isolates

#40

This is built on top of Blitz ( https://github.com/dioxuslabs/blitz ): a new modular (open source) browser engine that I've been building for the last 2.5 years. (I wasn't involved in building kitesurf, but I am informed that they intend to open source and upstream their patches)

100%!
Post reply on HN