Loading video...

Video Failed to Load

Go Home

Introducing the new dev-browser cli. The fastest way for an agent to use a browser is to let it write code. Just `npm i -g dev-browser` and tell your agent to "use dev-browser"

871,559 views • 7 months ago •via X (Twitter)

47 Comments

Sawyer Hood's profile picture
Sawyer Hood7 months ago

there are like 100s browser agent clis (even Garry Tan has one) why use this one? dev-browser is incredibly bitter-lesson pilled. Rather than inventing a new syntax for browser automation, just use the one they already know: Playwright.

Sawyer Hood's profile picture
Sawyer Hood7 months ago

the original dev-browser was just a markdown file and a few scripts that called playwright directly. simple, but slow startup and you had to let your agent run arbitrary node scripts. since its release there has been a lot of innovation in the browser skill space (from things like agent-browser) the new cli addresses the two biggest points of feedback from the original: a proper daemon for fast startup and all playwright scripts run inside a sandboxed quickjs vm. your agent writes real playwright code but can't `fs.rm()` because it had a bad day.

Sawyer Hood's profile picture
Sawyer Hood7 months ago

fittingly we just hit 4k stars on github! Check it out today!

am.will's profile picture
am.will7 months ago

sawyer you're a legend bro i think you forgot to mention something absolutely critical here. this isn't using a playwright dev environemnt that doesn't store your sessions, passwords, etc reliably. this is the real browser. and its fast. that alone makes it special.

Tommy D. Rossi's profile picture
Tommy D. Rossi7 months ago

did you try playwriter?

Sawyer Hood's profile picture
Sawyer Hood7 months ago

i did not! i had not realized that you went full cli as well!

Tommy D. Rossi's profile picture
Tommy D. Rossi7 months ago

cli is much better. MCP has always some issue. you just need a dependency using a console.log and it breaks everything

Thomas Mustier's profile picture
Thomas Mustier7 months ago

that is FAST sure you get this all the time but - how do you compare this vs agent-browser from vercel?

Sawyer Hood's profile picture
Sawyer Hood7 months ago

here is a video of agent-browser doing the same task for comparison

Thomas Mustier's profile picture
Thomas Mustier7 months ago

hahahaha I take your point

Gary Basin's profile picture
Gary Basin7 months ago

hell yeah buddy

Numman Ali's profile picture
Numman Ali7 months ago

The legend is back

Sawyer Hood's profile picture
Sawyer Hood7 months ago

i didn’t know i was gone lol

.'s profile picture
.7 months ago

REALLY awesome work brother! Can I send a donation to the github? I LOVE this man.

Sawyer Hood's profile picture
Sawyer Hood7 months ago

@kyuxloll no need my dude. just let me know any issues you run into

.'s profile picture
.7 months ago

Definitely bro! I would like to donate regardless, can raise $1,000+ for you man. Just let me know :)

Shubhankar Tripathy's profile picture
Shubhankar Tripathy7 months ago

@alanaagoyal About a week ago this was released - would love your comments on this as well @sawyerhood

Selim Kırcı's profile picture
Selim Kırcı7 months ago

any plan to have it for poor windows slaves:)

Sawyer Hood's profile picture
Sawyer Hood7 months ago

yes! i need to boot up my windows machine

Selim Kırcı's profile picture
Selim Kırcı7 months ago

haahhaa. Nice! Best of luck.

Sawyer Hood's profile picture
Sawyer Hood7 months ago

update i have just released a new version that should support windows!

Alec Mather's profile picture
Alec Mather7 months ago

Can you please make this into a chrome extension so I can just go into my browser and have it do complex annoying things for me

Hero Halldon's profile picture
Hero Halldon7 months ago

been using CDP websockets to automate chrome for a week straight now. uploaded 3 tiktok videos, sent 97 emails, and replied to this tweet. all from the same node script. we are truly cooked.

Gregor's profile picture
Gregor7 months ago

The real bottleneck isn't browser speed, it's agents hallucinating what's actually on the page. Does dev-browser give the agent a reliable DOM snapshot, or is it still guessing?

Asen Lei's profile picture
Asen Lei7 months ago

This looks great for standard browser flows. Curious how dev-browser holds up with more complex form-filling though. Does the agent end up needing way more snapshots in those scenarios?

🥔🥔🥔's profile picture
🥔🥔🥔7 months ago

how is this different to agent-browser from vercel and chrome devtools mcp?

GlitchPool's profile picture
GlitchPool7 months ago

the "write code to control the browser" approach is so much better than screenshot-based stuff. way more reliable, less token waste. this is how agents should work tbh

Minjune Song's profile picture
Minjune Song7 months ago

Unfortunately its useless, asked it to go through a spreadsheet of Zillow properties and make a sheet showing price, amenities, walking distance to X, etc, couldn't do anything because of Google/Zillow CAPTCHA.

Dylan Normandin's profile picture
Dylan Normandin7 months ago

the problem though is that you have to click "allow debugging" every single time the agent has to run. which makes automations and scheduled jobs impossible.

charaf's profile picture
charaf7 months ago

How does this compare to Browser Use 2.0?

InsForge's profile picture
InsForge7 months ago

browser agents peaked when we stopped clicking and started coding.

Andrés Lopezvictoria's profile picture
Andrés Lopezvictoria7 months ago

This is excellent, thank you so much! It works like a charm on Windows. Great work!

Daniel San's profile picture
Daniel San7 months ago

@threepointone This is sweet

Anand Narayan's profile picture
Anand Narayan7 months ago

Is there a way dev-browser can use my existing google chrome profile.. so that it can use my login cookies

Chris Covington's profile picture
Chris Covington7 months ago

nice, basically building on the code mode concept, I wonder what it would take to have a user story written in plain english, and have the model spit out playwright that would drive that user story might get closer to solving the whole fragile e2e testing concept that is always such a pain and breaks so easily

Aron Prins's profile picture
Aron Prins7 months ago

Bruhh… thats stupid fast… i like it 🫵

Roman M • building gotmoat.ai • curo.you - e/acc's profile picture
Roman M • building gotmoat.ai • curo.you - e/acc7 months ago

Just tried, this actually works great! So fast and smooth!

Claudio's profile picture
Claudio7 months ago

How does it compare to browser-use?

와사장 🤖's profile picture
와사장 🤖7 months ago

been following dev-browser since you launched it — using Chrome MCP for browser automation right now but the 'let the agent write code' approach feels way more natural. planning to switch over

ZYPHER's profile picture
ZYPHER7 months ago

Different from agent-browser of vercel?

Sebastian Buzdugan's profile picture
Sebastian Buzdugan7 months ago

cool idea, but security model for arbitrary browsing agents really matters here

Harry Stuckler's profile picture
Harry Stuckler7 months ago

fantastic. superfast. rollout. thanks.

Jeff Graber's profile picture
Jeff Graber7 months ago

Just installed. Works great. Thanks for putting it out there. Another superpower unlocked for OC 👍

Rocky 🪨's profile picture
Rocky 🪨7 months ago

The Playwright choice is key. Every other browser agent tool invents its own DSL that the model has to learn from scratch. Playwright already has massive representation in training data — models write it fluently without extra prompting. Real bottleneck was always startup latency + context window waste, not the automation API itself. This solves both.

Randy Stout 🦅🇺🇸 🔫 𝕏's profile picture
Randy Stout 🦅🇺🇸 🔫 𝕏7 months ago

Best browser use agent

Somi's profile picture
Somi7 months ago

How does it compare with agent-browser?

Stopa's profile picture
Stopa7 months ago

Great work Sawyer!

Related Videos