Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: OnPanda – Steer LLMs and agents at the token level(diyer22.com ↗)
    discuss
  2. Running PyTorch natively on TPU [video](youtube.com ↗)
    discuss
  3. Base Labs launches an open-weight AI safety partnership with Hugging Face(techcrunch.com ↗)
    discuss
  4. Advertising is coming to AI chatbots, and it could influence the answers you get(techxplore.com ↗)
    discuss
  5. Speaking with the Mind – Neuralink [video](youtube.com ↗)
    discuss
  6. Avoiding the Dangers of AI Code with Formal Specifications and Tests(techradar.com ↗)
    discuss
  7. Anthropic sets up biology lab as it ramps AI drug program(reuters.com ↗)
    1comments
  8. Debunk bot: debunk wild claims(debunkbot.com ↗)
    discuss
  9. Show HN: Go Implementation of Systemd Time(gitlab.com/allddd ↗)
    discuss
  10. Show HN: Peelaway – Turn photos into illustrations, prints, and miniature scenes(peelaway.io ↗)
    discuss
  11. Show HN: Day3 vs. Resend pricing calculator (I make Day3)(day3.app ↗)
    discuss
  12. Show HN: Yello. Let your agents chat with other people's agents(yello.sh ↗)
    discuss
  13. Cua S1- A family of System One models(twitter.com/trycua ↗)
    discuss
  14. Show HN: Lodestar – Read, respond and manage coding agents more naturally(try-lodestar.com ↗)
    discuss
  15. Captain Memo – one local memory, skills and capabilities for every coding agent(ispcq.com ↗)
    discuss
  16. Show HN: LingBot-World 2.0 (1.3B) running at 16 FPS on one RTX 5090(github.com/kaarelkaarelson ↗)
    1comments
  17. What other languages call AI agents(wallfacer.ai ↗)
    discuss
  18. Revolutionary sound effect through wave interactions, like Leslie rotary speaker(techxplore.com ↗)
    1comments
  19. Central Social Institution Offfce with the Largest Vertical File Cabinets, 1937(rarehistoricalphotos.com ↗)
    discuss
  20. Parallax PPTX Skill(github.com/mrabbi3 ↗)
    discuss
  21. Homework Solution Test Question
    discuss
  22. We Built a Data Warehouse Using ClickHouse(letsencrypt.org ↗)
    discuss
  23. Not in My Git Yard: Catching Backdoors at Commit and Release Time(arxiv.org ↗)
    discuss
  24. Hackers Used Anthropic's Claude to Break into OpenAI(wsj.com ↗)
    discuss
  25. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    discuss
  26. How did AMD Ryzen get 50% faster in two years?(lemire.me ↗)
    1comments
  27. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    2comments
  28. I (Re)Created the Best Discovery Playlist on Spotify(spotify.com ↗)
    discuss
  29. Xcode 27.1 Beta Release – Support for iPhone Duo(idmsa.apple.com ↗)
    1comments
  30. Meta's Copyright System Is Being Weaponized Against Albanian Protesters(wired.com ↗)
    discuss

We made Playwright 2x faster and 80% more token efficient

16 pointsby 3h agogithub.com
14 comments
3h agoHN ↗

We built Stagehand 2 years ago (24k stars and 4M monthly npm downloads) and recently fixed its biggest flaw: round-trip latency.

Every action performed requires a round trip between your script and the browser (short when running locally but increased when running in the cloud). We also saw multiple posts complaining about the eager token appetite of Playwright MCP.

For this reason, we rebuilt Stagehand from the ground up and shipped v4, where Stagehand controls the browser from an extension automatically loaded upon your browser startup.

Stagehand v4 comes with batch command support, dedicated token-efficient methods `act()` and `extract()`, and a brand new architecture making it 2x faster than Playwright and 80% more token efficient.

You can see for yourself by looking at our benchmarks, comparing its performance across a dozen models (frontier and open weights) and tools (Codex, Claude Code, and more): https://www.stagehand.dev/evals

Ask me anything!

2h agoHN ↗

what did you lose compared to CDP (e.g. cross-origin iframes, downloads running in envs where you can't load extensions)?

2h agoHN ↗

It still uses CDP but communicates from an extension within the browser instead of a script running in a separate runtime or, worse, in a separate region.

2h agoHN ↗

I tried this myself - my conclusion was the overhead of parsing a screenshot, generating an action, and being limited to headful mode is much less efficient than reading accessibility trees & generating CDP commands.

basically, browser automation is a closer-to-the-metal abstraction than computer use, allows more flexibility, and ends up being much cheaper at scale!

2h agoHN ↗

Astra with computer use seems to burn a ton of tokens though. Stagehand seems more token efficient.

2h agoHN ↗

How much does the harness really matter for evals?

2h agoHN ↗

A lot, especially for performance. That's why we built our own benchmarks that account for both the model and the harness. For example, with Claude Opus 5, the accuracy gap can be up to 3% and performance up to 200ms, depending on whether you're using Deep Agents, Eve, or Fx.

More details here: https://www.stagehand.dev/evals

2h agoHN ↗

So for an enterprise with a 1,000 test Playwright suite, does this basically mean ~2x faster CI times? That would be huge.

1h agoHN ↗

Exactly, as Stagehand now runs inside the browser, you'll save on the round trip. Also, enabling batch actions will further accelerate your test suite.

2h agoHN ↗

Do I need to pay for Browserbase to use this?

2h agoHN ↗

Nope, Stagehand is open-source and works with local browsers by default.

1h agoHN ↗

seems really cool! although, one question i have is why not keep agent() alongside the new primatives? it seems v4 removed agent() entirely rather than offering it with all of act(), observe(), extract().

1h agoHN ↗

We removed agent because so many great harnesses are available in the ecosystem. Instead of keeping it, we decided to make Stagehand v4 better integrated with popular harnesses, both at the Coding Agent level (Codex, Claude Code) and frameworks level (Eve, Deep Agents, Mastra, etc)