News for hackers. Stuff that matters.
Re:OpenCode Browse by arcanemachiner on Monday November 16, 2026 @06:50PM (#50525300)
> Also just use CDP, way too many browser solutions for agents when chrome ships with the ability to crontrol the browser at a low level.

> If you want to wrap it in a jsonrpc api for mcp, this is like 4 hrs or a work for an llm, point them at a pkg thats uses CDP like go-rod.

As someone who has vibe-coded my own such wrapper, I think that there is a lot of value in having a common interface for an agent to interact with CDP beyond just slinging together ad-hoc scripts until something works. CDP exposes a lot of features, but exposing them to an agent in a sane, consistent way takes a good bit of work.

It's also taken me a good bit longer than 4 hours by now. The features really add up over time.

Re:OpenCode Browse by esperent on Monday November 16, 2026 @07:24PM (#50525672)
[delayed]
Re:OpenCode Browse by arcanemachiner on Tuesday November 17, 2026 @04:44AM (#50529371)
Yeah but if you ask the agent, they are probably tripping over their ad-hoc scripts and working around little issues all the time. All that stuff adds up. Maybe my wrapper is a YAGNI-esque optimization on my part to avoid this, but I find it's also fun to work on these sorts of tools.
Re:OpenCode Browse by esperent on Tuesday November 17, 2026 @05:35AM (#50529703)
[delayed]
Re:OpenCode Browse by testtestmetest on Monday November 16, 2026 @07:30PM (#50525736)
Took me about half a day.

Granted, Ive neen building browser automation tools on top of cdp for many years now.