frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is a JVM/CDP based browser agent stack fundamentally a bad idea?

1•galaxyeye•1h ago
Hi HN, We built a very early prototype: a Browser-Agent/browser-automation runtime using Kotlin/JVM and raw CDP. Before investing further, we’d like advice from anyone who has worked on browser agents, AI browsers, large-scale automation, crawling, browser farms, or who has deep knowledge of Chromium/CDP. We ourselves suspect many of our design assumptions may be flawed, so sharp criticism is very welcome. --- TL;DR We’re building an open-source runtime: • AI planning/reasoning/logic lives on the JVM • Browser actions are driven via raw CDP • High concurrency via Kotlin coroutines • A small ML agent learns page structure But we’re not sure any of this is actually meaningful. Feedback—especially negative feedback—is appreciated. --- 1. JVM + CDP: possibly the wrong abstraction layer AI planning/reasoning/logic is on the JVM; browser actions are sent through CDP. Some doubts we cannot resolve internally: • Is the JVM too heavy for this domain? Will GC and scheduling cause tail latency? • Is CDP inherently unsuitable for high-throughput automation? • Does nobody actually need a JVM-native browser agent? • Would Go/Node/Python be more sensible choices? If the answer is “no, this is the wrong direction,” we’d really like to hear it. --- 2. High-concurrency runtime: likely to fall apart in real workloads We’re trying to push single-machine throughput on real, complex pages by relying on: • Kotlin coroutines • Minimizing DevTools round-trips • Raw CDP with multi-tab concurrency But our doubts are even larger: • Can Chromium realistically survive this scale? (render-process contention, GPU-thread limits, compositor stalls, etc.) • Are multi-tab workloads doomed to event interference, reordering, and deadlocks? • Will CDP scheduling become the true bottleneck? • Is raw CDP unavoidably more brittle than Playwright? If you’ve seen similar attempts fail, we’d especially like to know how they failed. --- 3. Non-LLM page-structure learning: probably not generalizable We built a small ML module to avoid calling an LLM every time we parse HTML. It works well on e-commerce pages, but we strongly suspect it will break elsewhere. Concerns: • Will it fail outright on news, forums, SaaS dashboards, and other domains? • Has anyone built DOM-structure-learning systems and then abandoned them? Why? • Is the long tail of the web fundamentally hostile to non-LLM approaches? Failure stories are particularly valuable. --- 4. Some questions we have zero confidence about • Does the world actually need yet another browser-automation stack? • Do “Browser Agents” have long-term practical value at all? • Do coroutine-style concurrency models provide real benefits under heavy CDP I/O? • Should we drop the “agent” layer entirely and just build a runtime? • What fatal issues exist around resource isolation, multi-tenancy, event storms, or long-tail page behaviors? • Do all high-concurrency browser runtimes eventually die for the same reasons? If the answer is “yes, stop now,” we’d prefer to know early. --- Prototype status We’ll open-source a very early version (missing docs, missing examples, and possibly flawed designs). Known issues include: • Deadlocks on certain complex sites that are hard to reproduce • CDP event reordering under high concurrency • Worse-than-expected memory behavior • Structure-learning module is inaccurate on non-e-commerce pages If you’ve built systems with heavy browser interaction, automation, data extraction, or treating the browser as a runtime, we’d love to hear about the bottlenecks you hit—so we don’t optimize toward the wrong direction. --- Finally Any single sentence of criticism may save us months. — Browser4 Team

Comments

grizzles•39m ago
Open source it and you'll get all the feedback you desire.

Create a Markdown Editor in Ruby on Rails

https://blog.appsignal.com/2025/12/10/create-a-markdown-editor-in-ruby-on-rails.html
1•amalinovic•55s ago•0 comments

The Future of Software Outsourcing: Productization and On-Demand

https://www.indiehackers.com/post/the-future-of-software-outsourcing-productization-and-on-demand...
1•plakhlani2•1m ago•0 comments

The San José–The 'Holy Grail' of Shipwrecks–Just Yielded Its First Treasure

https://www.popularmechanics.com/science/archaeology/a69546218/holy-grail-of-shipwrecks-first-tre...
1•bookofjoe•2m ago•1 comments

Show HN: Practical programming using only composition

https://github.com/raoofha/r/blob/main/r
1•raoof•3m ago•0 comments

Digital Stimulation: AI and Porn

https://www.economist.com/podcasts/2025/12/10/digital-stimulation-ai-and-porn
1•andsoitis•5m ago•0 comments

AI slop ad backfires for McDonald's

https://www.latimes.com/business/story/2025-12-10/ai-slop-ad-backfires-for-mcdonalds
1•thm•5m ago•0 comments

Show HN: I wrote an open source package manager for AI coding, OpenPackage

https://github.com/enulus/OpenPackage
1•hyericlee•6m ago•0 comments

Ask HN: Post-CVE-2025-55182 – should we be auditing for backdoors?

1•Just_Clive•6m ago•0 comments

Show HN: I made a web piano with recording and playback

https://webpiano.jcurcioconsulting.com
1•Jeremy1026•6m ago•0 comments

Dialing Up the Internet Phonebook

https://pketh.org/internet-phonebook.html
1•cookingoils•6m ago•0 comments

Show HN: A directory of 150 AI bots and crawlers with verifying tools

https://crawlercheck.com/directory
1•bogozi•7m ago•1 comments

Google Calendar Extension – a browser-side enhancement for Calendar users

1•sergey_commit•8m ago•1 comments

Cagent – Docker Docs

https://docs.docker.com/ai/cagent
1•thunderbong•11m ago•0 comments

Black Hole Recorded Blasting Winds at More Than 20% the Speed of Light

https://www.esa.int/Science_Exploration/Space_Science/XMM-Newton/Flaring_black_hole_whips_up_ultr...
2•Willingham•13m ago•0 comments

Trump to make all foreign tourists provide five years of social media history

https://www.lbc.co.uk/article/trump-foreign-tourists-social-media-history-5HjdPCX_2/
6•chrisjj•13m ago•2 comments

Streaming at the Speed of Thought: How Human Perception Affects UX

https://www.red5.net/blog/streaming-at-the-speed-of-thought/
1•mondainx•14m ago•0 comments

US could ask foreign tourists for five-year social media history before entry

https://www.bbc.co.uk/news/articles/c1dz0g2ykpeo
4•neversaydie•14m ago•0 comments

Hard problems in social media archiving

https://alexwlchan.net/2025/hard-problems-in-social-media-archiving/
1•ingve•14m ago•0 comments

Togelius: Please, Don't Automate Science

http://togelius.blogspot.com/2025/12/please-dont-automate-science.html
1•bilsbie•16m ago•0 comments

Ethereum Fusaka upgrade set for early December rollout

https://altcoindesk.com/perspectives/learn/ethereum-fusaka-upgrade-set-for-early-december-rollout...
1•AishwaryaTiwari•17m ago•0 comments

First Analysis of the Lunar GNSS Receiver Experiment Data

https://destevez.net/2025/12/first-analysis-of-the-lunar-gnss-receiver-experiment-data/
1•tverbeure•20m ago•0 comments

History Rhymes: Macro-Contextual Retrieval for Robust Financial Forecasting

https://arxiv.org/abs/2511.09754
1•PaulHoule•20m ago•0 comments

Ask HN: Did Andrew Lee Kill IRC?

1•the_stocker•21m ago•1 comments

Notepad++ Updater Installed Malware

https://www.heise.de/en/news/Notepad-updater-installed-malware-11109726.html
5•mimikasec•24m ago•1 comments

Ask HN: Resources for Learning Springboot

1•peter_bips•24m ago•0 comments

The Java Ring: A Wearable Computer (1998)

https://www.nngroup.com/articles/javaring-wearable-computer/
1•cromulent•26m ago•0 comments

Week 1 of Streaming as a Developer

https://www.twitch.tv/implabinash
1•implabinash•26m ago•1 comments

Docker Best Practices: Read-Only Containers

https://blog.ploetzli.ch/2025/docker-best-practices-read-only-containers/
1•buibuibui•27m ago•0 comments

Ask HNIs early-stage fundraising broken,or founders just pitching the wrong way?

2•paulwilsonn•30m ago•0 comments

Show HN: YM2149 in Rust – Chiptune Emulation from Atari ST to WebAssembly

https://ym2149-rs.org/
1•slippyvex•32m ago•1 comments