正在加载视频...

视频加载失败

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 次观看 • 7 个月前 •via X (Twitter)

47 条评论

Sawyer Hood 的头像
Sawyer Hood7 个月前

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 的头像
Sawyer Hood7 个月前

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 的头像
Sawyer Hood7 个月前

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

am.will 的头像
am.will7 个月前

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 的头像
Tommy D. Rossi7 个月前

did you try playwriter?

Sawyer Hood 的头像
Sawyer Hood7 个月前

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

Tommy D. Rossi 的头像
Tommy D. Rossi7 个月前

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

Thomas Mustier 的头像
Thomas Mustier7 个月前

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

Sawyer Hood 的头像
Sawyer Hood7 个月前

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

Thomas Mustier 的头像
Thomas Mustier7 个月前

hahahaha I take your point

Gary Basin 的头像
Gary Basin7 个月前

hell yeah buddy

Numman Ali 的头像
Numman Ali7 个月前

The legend is back

Sawyer Hood 的头像
Sawyer Hood7 个月前

i didn’t know i was gone lol

. 的头像
.7 个月前

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

Sawyer Hood 的头像
Sawyer Hood7 个月前

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

. 的头像
.7 个月前

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

Shubhankar Tripathy 的头像
Shubhankar Tripathy7 个月前

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

Selim Kırcı 的头像
Selim Kırcı7 个月前

any plan to have it for poor windows slaves:)

Sawyer Hood 的头像
Sawyer Hood7 个月前

yes! i need to boot up my windows machine

Selim Kırcı 的头像
Selim Kırcı7 个月前

haahhaa. Nice! Best of luck.

Sawyer Hood 的头像
Sawyer Hood7 个月前

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

Alec Mather 的头像
Alec Mather7 个月前

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 的头像
Hero Halldon7 个月前

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 的头像
Gregor7 个月前

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 的头像
Asen Lei7 个月前

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?

🥔🥔🥔 的头像
🥔🥔🥔7 个月前

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

GlitchPool 的头像
GlitchPool7 个月前

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 的头像
Minjune Song7 个月前

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 的头像
Dylan Normandin7 个月前

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 的头像
charaf7 个月前

How does this compare to Browser Use 2.0?

InsForge 的头像
InsForge7 个月前

browser agents peaked when we stopped clicking and started coding.

Andrés Lopezvictoria 的头像
Andrés Lopezvictoria7 个月前

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

Daniel San 的头像
Daniel San7 个月前

@threepointone This is sweet

Anand Narayan 的头像
Anand Narayan7 个月前

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

Chris Covington 的头像
Chris Covington7 个月前

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 的头像
Aron Prins7 个月前

Bruhh… thats stupid fast… i like it 🫵

Roman M • building gotmoat.ai • curo.you - e/acc 的头像
Roman M • building gotmoat.ai • curo.you - e/acc7 个月前

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

Claudio 的头像
Claudio7 个月前

How does it compare to browser-use?

와사장 🤖 的头像
와사장 🤖7 个月前

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 的头像
ZYPHER7 个月前

Different from agent-browser of vercel?

Sebastian Buzdugan 的头像
Sebastian Buzdugan7 个月前

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

Harry Stuckler 的头像
Harry Stuckler7 个月前

fantastic. superfast. rollout. thanks.

Jeff Graber 的头像
Jeff Graber7 个月前

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

Rocky 🪨 的头像
Rocky 🪨7 个月前

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 🦅🇺🇸 🔫 𝕏 的头像
Randy Stout 🦅🇺🇸 🔫 𝕏7 个月前

Best browser use agent

Somi 的头像
Somi7 个月前

How does it compare with agent-browser?

Stopa 的头像
Stopa7 个月前

Great work Sawyer!

相关视频