Stagehand – an open source browser automation framework powered by AI
Hi HN! I’m Anirudh — longtime lurker, first time poster, and I couldn’t be more excited to show you Stagehand. Stagehand is a TypeScript project that extends Playwright with three simple AI methods — act, extract, and observe. We’d love for you to try it out using the command below: npx create-browser-app --example quickstart Here’s a sample workflow: const stagehand = new Stagehand(); await stagehand.init(); // Stagehand overrides the Playwright Page and Context classes const { page, context } = stagehand await page.goto("instadash.com") // Regular Playwright…
In plain words
Stagehand is an open source TypeScript framework that extends Playwright for browser automation with AI capabilities. It adds three methods—act, extract, and observe—that allow developers to automate web interactions and data extraction using natural language instructions rather than traditional selectors. The tool is designed for developers building automation workflows who want to leverage AI to make browser automation more flexible and intuitive.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hi HN! I’m Anirudh — longtime lurker, first time poster, and I couldn’t be more excited to show you Stagehand. Stagehand is a TypeScript project that extends Playwright with three simple AI methods — act, extract, and observe. We’d love for you to try it out using the command below: npx create-browser-app --example quickstart Here’s a sample workflow: const stagehand = new Stagehand(); await stagehand.init(); // Stagehand overrides the Playwright Page and Context classes const { page, context } = stagehand await page.goto("instadash.com") // Regular Playwright // Take action on the page await page.act({ action: "click on taqueria cazadores" }) // Extract relevant data from the page const { price } = await page.extract({ instruction: "extract the price of the super burrito", schema: z.object({ price: z.number() }) }) We built Stagehand because we loved building browser automations using Playwright and Selenium, but we grew frustrated at how cumbersome it is to just get started and write simple browser automations. These frameworks, while incredibly powerful, are built for QA testing and are thus notoriously prone to fail if there are minor changes in the UI or underlying DOM structure. The goal of Stagehand is twofold: 1. Make browser automations easier to write 2. Make browser automations more resilient to DOM changes. We were super energized by what we’ve been seeing with vision-based computer use agents. We think with a browser, you can provide even richer data by leveraging the information in the DOM + a11y tree in addition to what’s rendered on the page. However, we didn’t want to go so far as to build an agent, since we wanted fine-grained control over each step that an agent can take. Therefore, the happy medium we built was to extend the existing powerful functionalities of Playwright with simple and extensible AI APIs that return the decision-making power back to the developer at each step. Check out our docs: https://docs.stagehand.dev We’d love for you to join and give us feedback on Slack as well: https://stagehand.dev/slack
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 26d ago · cactuscompute.com


Launched alongside, January 2025
the whole month →- IM
Hello! I'm Byran. I spent the past ~6 months engineering a laptop from scratch. It's fully open-source on GH at: https://github.com/Hello9999901/laptop
Dev tools · 2025 · byran.ee
- TITetris in a PDF▲1,289
I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I/O primitives to make a basic game like Tetris. It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing/hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box. All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at…
Life & fun · 2025 · th0mas.nl



Create lifelike, personalized AI avatars from text prompts
AI · 2025 · jogg.ai
