frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Browser Harness – simplest way to give AI control of real browser

https://github.com/browser-use/browser-harness
5•gregpr07•1h ago
Hey HN,

We got tired of browser frameworks restricting the LLM, so we removed the framework and gave the LLM maximum freedom to do whatever it's trained on. We gave the harness the ability to self correct and add new tools if the LLM wants (is pre-trained on) that.

Our Browser Use library is tens of thousands of lines of deterministic heuristics wrapping Chrome (CDP websocket). Element extractors, click helpers, target managemenet (SUPER painful), watchdogs (crash handling, file downloads, alerts), cross origin iframes (if you want to click on an element you have to switch the target first, very anoying), etc.

Watchdogs specifically are extremely painful but required. If Chrome triggers for example a native file popup the agent is just completely stuck. So the two solutions are to: 1. code those heuristics and edge cases away 1 by 1 and prevent them 2. give LLM a tool to handle the edge case

As you can imagine - there are crazy amounts of heuristics like this so you eventually end up with A LOT of tools if you try to go for #2. So you have to make compromises and just code those heuristics away.

BUT if the LLM just "knows" CDP well enough to switch the targets when it encounters a cross origin iframe, dismiss the alert when it appears, write its own click helpers, or upload function, you suddenly don't have to worry about any of those edge cases.

Turns out LLMs know CDP pretty well these days. So we bitter pilled the harness. The concepts that should survive are: - something that holds and keeps CDP websocket alive (deamon) - extremely basic tools (helpers.py) - skill.md that explains how to use it

The new paradigm? SKILL.md + a few python helpers that need to have the ability to change on the fly.

One cool example: We forgot to implement upload_file function. Then mid-task the agent wants to upload a file so it grepped helpers.py, saw nothing, wrote the function itself using raw DOM.setFileInputFiles (which we only noticed that later in a git diff). This was a relly magical moment of how powerful LLMs have become.

Compared to other approaches (Playwright MCP, browser use CLI, agent-browser, chrome devtools MCP): all of them wrap Chrome in a set of predefined functions for the LLM. The worst failure mode is silent. The LLM's click() returns fine so the LLM thinks it clicked, but on this particular site nothing actually happened. It moves on with a broken model of the world. Browser Harness gives the LLM maximum freedom and perfect context for HOW the tools actually work.

Here are a few crazy examples of what browser harness can do: - plays stockfish https://x.com/shawn_pana/status/2046457374467379347 - sets a world record in tetris https://x.com/shawn_pana/status/2047120626994012442 - figures out how to draw a heart with js https://x.com/mamagnus00/status/2046486159992480198?s=20

You can super easily install it by telling claude code: `Set up https://github.com/browser-use/browser-harness for me.`

Repo: https://github.com/browser-use/browser-harness

What would you call this new paradigm? A dialect?

Diatec, known for its mechanical keyboard brand FILCO, has ceased operations

https://gigazine.net/gsc_news/en/20260424-filco-diatec/
1•gslin•44s ago•0 comments

Firefox Has Integrated Brave's Adblock Engine

https://itsfoss.com/news/firefox-ships-brave-adblock-engine/
1•eaf7e281•1m ago•1 comments

ReactGhost: Four locations of an unguarded property lookup in React Flight

https://reactghost.com/
1•cybrdude•3m ago•0 comments

Beware Software Brain

https://anderegg.ca/2026/04/23/beware-software-brain
1•Brajeshwar•4m ago•0 comments

Show HN: #1 On This Day

https://onthisday-theta.vercel.app
1•starzmustdie•5m ago•1 comments

Phantom: Web Automation Without a Browser

https://saadnaveed.com/writing/phantom-web-automation-without-a-browser/
1•saadn92•9m ago•0 comments

We are our own worst enemies

https://www.ufried.com/blog/worst_enemies/
1•cdrnsf•10m ago•0 comments

TurboBird – Firebird Database Tool

https://github.com/mdadali/TurboBird
1•mariuz•11m ago•0 comments

Google Plans to Invest Up to $40B in Anthropic

https://www.bloomberg.com/news/articles/2026-04-24/google-plans-to-invest-up-to-40-billion-in-ant...
7•elffjs•12m ago•0 comments

Show HN: Kadō, an open source habit tracker app for iOS

https://github.com/scastiel/kado
3•scastiel•15m ago•0 comments

Visual-base is a second brain from your eyes

https://github.com/oilbeater/visual-base
1•recrush•16m ago•0 comments

I Cancelled Claude: Token Issues, Declining Quality, and Poor Support

https://nickyreinert.de/en/2026/2026-04-24-claude-critics/
4•y42•18m ago•0 comments

Is the Novelty Budget Dead?

https://simonshine.dk/articles/is-the-novelty-budget-dead/
1•sshine•20m ago•0 comments

PGO Build TPC-C Analysis MariaDB v11.8.6 TideSQL

https://tidesdb.com/articles/pgo-build-tpc-c-analysis-mariadb-v11-8-6-tidesql/
1•alexpadula•22m ago•0 comments

LLMs – What Experienced Practitioners See

https://dr-knz.net/llms-in-practice.html
1•knz42•23m ago•1 comments

Ask HN: How does Google crawls x.com website?

1•iaziz786•24m ago•0 comments

Games for Change

https://www.gamesforchange.org/
1•csmillie•26m ago•0 comments

What Anthropic's Mythos Means for the Future of Cybersecurity

https://spectrum.ieee.org/ai-cybersecurity-mythos
2•Brajeshwar•28m ago•1 comments

Refuse to let your doctor record you

https://buttondown.com/maiht3k/archive/why-you-should-refuse-to-let-your-doctor-record/
31•speckx•29m ago•21 comments

Space Reactor 1

https://en.wikipedia.org/wiki/Space_Reactor%E2%80%911_Freedom
1•hansmayer•30m ago•0 comments

Intel stock hits new all-time highs for first time since 2000

https://cryptobriefing.com/intel-stock-all-time-high-since-2000/
3•mgh2•31m ago•2 comments

Content credentials – hardware signing of photo and video cameras

https://contentcredentials.org/
1•sveme•31m ago•0 comments

Why I'm Done Making Desktop Applications

https://www.kalzumeus.com/2009/09/05/desktop-aps-versus-web-apps/
20•claxo•33m ago•9 comments

Six things I'll remember when I think about Tim Cook's version of Apple

https://arstechnica.com/gadgets/2026/04/six-things-ill-remember-when-i-think-about-tim-cooks-vers...
1•01-_-•37m ago•0 comments

UK Biobank health data listed for sale in China, government confirms

https://www.bbc.com/news/articles/cpvxgl3n138o
1•01-_-•38m ago•1 comments

What I learned asking 11 AI models to grade each other's AI predictions

https://shimin.io/journal/what-i-learned-asking-11-ai-models-to-grade-each-other/
1•recurrence•38m ago•0 comments

Why High-Testosterone Men Don't Perform for the Crowd

https://www.nature.com/articles/s41386-023-01570-y
3•bilsbie•38m ago•0 comments

El Salvador Adds New Tools in National Health App to Track and Treat (DoctorSV)

https://ticotimes.net/2026/04/19/el-salvador-adds-new-tools-in-national-health-app-to-track-and-t...
1•catlikesshrimp•39m ago•1 comments

Asia's Billionaires Are Bankrolling a Push for More Babies

https://www.bloomberg.com/news/articles/2026-04-24/asia-s-billionaires-offer-cash-incentives-to-b...
1•snidane•40m ago•0 comments

Rubbing testosterone gel on men's upper arms eliminates the audience effect

https://www.psypost.org/rubbing-testosterone-gel-on-mens-upper-arms-eliminates-the-audience-effec...
1•bilsbie•41m ago•0 comments