frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Stagehand – the open source SDK for browser agents

2•monadoid•58m ago
Hey HN, I’m Sam, a maintainer of Stagehand, and I’m excited to show off Stagehand v4: the SDK for browser agents.

For agents to do most knowledge work, they needs access to the internet. Today most people allow their agents to use Playwright to control a browser for them.

But Playwright was built for testing, not agents.

If you’ve ever tried to give it to your agent, you’ll quickly run into bloated context windows, inability to use iframes, and painful state sync issues (on remote browsers).

We built Stagehand specifically for agents. v4 fixes all of Playwright’s issues, with better page snapshotting, nested iframe support, webmcp, self-healing primitives, and we even rebuilt it to run as an extension in the browser which minimizes round trip time for all requests.

We’re roughly ~80% more token efficient and 2x faster than Playwright.

Use AI primitives for self-healing automations in natural language:

    // Act: execute natural language actions
    await stagehand.act("click the login button");

    // Extract: pull structured data
    const { data } = await stagehand.extract(
      "extract the price",
      z.object({ price: z.number() }),
    );

    // Observe: discover available actions
    const { data: actions } = await stagehand.observe("find submit buttons");
Or use familiar Playwright-style APIs:

    const page = await stagehand.browser.context.activePage();

    await page.goto("https://example.com");
    await page.locator('textarea[name="q"]').fill("Browserbase");
    await page.keyPress("Enter");
    await page.screenshot();
Stagehand v4 is live today, we built some reference integrations with popular agent frameworks like LangChain DeepAgents, Mastra, Vercel’s eve, and CrewAI.

Checkout the docs - docs.stagehand.dev

And join our discord for updates and feedback - discord.gg/stagehand

Font looks perfectly normal to humans but wreaks havoc on AI

https://www.fastcompany.com/91585494/this-font-looks-perfectly-normal-to-humans-but-confuses-ai
1•root-parent•2m ago•0 comments

The Great AI Illusion: Why Your Demo Works, but Your Enterprise Agent Fails

https://allcloud.io/blog/the-great-ai-illusion-why-your-demo-works-but-your-enterprise-agent-fails/
1•mooreds•2m ago•0 comments

Bevy's Sixth Birthday

https://bevy.org/news/bevys-sixth-birthday/
1•dabinat•3m ago•0 comments

Zuckerberg: The Future Is for Everyone

https://about.fb.com/news/2026/08/the-future-is-for-everyone/
1•jaredwiener•4m ago•0 comments

Travel Itinerary Template

https://travelitinerarytemplate.org/
1•SuxYu•4m ago•0 comments

New way of QA testing AI-written code

https://abloh.dev
3•ThomasL123•5m ago•2 comments

Executive order calls for fewer childhood vaccines, links shots to autism

https://www.cnbc.com/2026/08/10/trump-vaccine-executive-order-autism.html
2•pseudolus•6m ago•0 comments

Meta open-sources Muse Glimmer: 30B agent model runs locally under 20GB VRAM

https://ainexusdaily.vercel.app
1•qrify_app•6m ago•0 comments

Is This Man the Picasso of Pointe Shoes?

https://www.nytimes.com/2026/07/27/arts/dance/nyc-ballet-tim-foster-pointe-shoes.html
1•gmays•10m ago•0 comments

Fauci warned of miscarriage risk Covid vaccine while publicly claiming no issues

https://nypost.com/2026/08/10/us-news/fauci-warned-of-miscarriage-risk-linked-to-covid-vaccine-wh...
3•bilsbie•11m ago•0 comments

Letter from Iddin-Sin to Zinu

https://en.wikipedia.org/wiki/Letter_from_Iddin-Sin_to_Zinu
1•handfuloflight•11m ago•0 comments

Go 1.27's Keyed Fields

https://towardsdev.com/i-stopped-writing-verbose-struct-literals-go-1-27s-keyed-fields-530419e9e5...
2•cheikhdev•11m ago•0 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
1•AntiRush•12m ago•0 comments

Don't classify, hallucinate!

https://softwaredoug.com/blog/2026/08/10/hypothetical-classifications
2•softwaredoug•14m ago•0 comments

RSI, AGI, and ASI: The Explainer and the Reality Check

https://sanjeevganjihal.substack.com/p/rsi-agi-and-asi-the-explainer-and
1•sanjeevg89•15m ago•0 comments

AgentThread: Multiplayer Hosted Hermes, each chat channel is a full container

https://agentthread.ai/
1•runrunlobster•17m ago•2 comments

Stop Killing Games: It's time to sue Sony, join us

https://www.massaschadeconsument.nl/collectieve-acties/playstation/
2•EDM115•17m ago•1 comments

Free Ideas (to hopefully make the world more interesting)

https://freeideas.net/
2•blobcode•19m ago•0 comments

Chronexis – crash reports that include the root cause and a patch

https://chronexis-web.onrender.com
1•alraies_hayder•21m ago•0 comments

Git-knife – edit commit messages, authors, and dates like a spreadsheet

https://github.com/TheRealYT/git-knife
1•YonathanTesfaye•21m ago•0 comments

Defense-in-Depth Isn't Lego: A Study in Linux Capabilities and Seccomps Filters

https://huxleybarbee.substack.com/p/defense-in-depth-isnt-lego
1•barbee•22m ago•0 comments

A (Not So) Brief but (Very) Accurate History of Oracle PL/SQL (2020)

https://oracle-internals.com/blog/2020/04/29/a-not-so-brief-but-very-accurate-history-of-pl-sql/
1•stmw•23m ago•0 comments

Source-Level Debugging for the Atari Lynx

https://brianpeek.com/gearlynx-debugger/
1•speckx•24m ago•0 comments

The Norway Problem in YAML

https://senthil.learntosolveit.com/posts/2026/08/10/the-norway-problem-in-yaml.html
2•orsenthil•25m ago•0 comments

Temperature Zero for Culture: Why Everything Is Starting to Look the Same

https://laurenleek.substack.com/p/temperature-zero-for-culture-why
3•mmarian•29m ago•0 comments

Sign of the Times: An Account of the First Tech Workers' Strike

https://longhaulmag.com/first-tech-workers-strike/
1•rray•31m ago•0 comments

The 12 Commandments of AI

https://lastcopy.ai/code/72
1•itsthecourier•32m ago•0 comments

Kitbash Acquires Artstation and Sketchfab from Epic Games

https://twitter.com/kitbash3d/status/2086875399137505679
2•bhouston•32m ago•1 comments

The balloon is a placebo: Apple's VM framework never gives freed memory back

https://arcbox.dev/blog/macos-vm-memory-ratchet
1•AprilNEA•33m ago•0 comments

Running a Business Changes the Way You Think (2011)

https://www.kalzumeus.com/2011/07/08/business-psychology/
1•downbad_•36m ago•0 comments