Browser Tools SDK
an optimal browser harness for agents
Details
- External ID
- 48998262
- Source
- HN
- Company
- —
- Product
- Browser Tools SDK
- Website domain
- libretto.sh
- Launched
- July 21, 2026
- Cohort
- —
- Upvotes
- 11
- Upvotes percentile
- 0.5764635603345281
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
We’re open-sourcing Browser Tools SDK: a small TypeScript package to give any AI agent a reliable way to control a real browser. With just a few lines of code, you can give any agent a production-ready browser harness import { createAiSdkBrowserTools } from "libretto-browser-tools/ai-sdk"; import { LocalBrowserProvider } from "libretto-browser-tools"; const { tools } = createAiSdkBrowserTools(new LocalBrowserProvider()); const result = await generateText({ model: anthropic("claude-sonnet-4-5"), tools, prompt: "Go to Hacker News and tell me the top story", }); We built the Browser Tools SDK because access to a browser is one of the most important tools of a productive agent, but we found many of the existing tools lacking. Using the insights we gained building Libretto, we were able to build the SDK so that it’s significantly more context and cost-efficient than other tools:We compared Browser Tools SDK against agent-browser, playwright-cli, and dev-browser on 26 live-site tasks with GPT 5.6 Sol (best results from 3 runs). Browser Tools tied for the best pass rate at 24/26 and came in about 55% cheaper per successful task than the next alternative ($0.106 vs $0.235) while also using far fewer tokens (1.45M vs 2.29M+). Benchmark methodology is in the repo.The Browser Tools SDK only exposes 6 tools, of which only 2 are really important: `browser_snapshot` and `browser_exec`. The snapshot tool was designed from the ground up to be extremely context-efficient and provide agents the overview they need to know what to try next. The exec tool takes and executes raw Playwright code, of which the models have been trained on heaps of, and know how to use without much direction.Works with AI SDK and Pi out of the box, plus a custom path for anything else. More frameworks are coming soon. You can also use any browser infra provider (Libretto Cloud, Kernel, Browserbase, etc.) or use `LocalBrowserProvider` to run Chromium locally (although that will have less anti-bot protections).MIT licensed. Check out the docs: https://libretto.sh/docs/browser-tools/quickstart and join the Discord: https://discord.gg/NYrG56hVDt.We’d love any and all feedback.
Enrichment
- Theme
- browser automation and scraping for AI
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI-native
- Project type
- Commercial product
- Normalized one-liner
- browser automation sdk for ai agents
- Manually corrected
- False
Could you build this?
Yes This is an open-source TypeScript SDK wrapper around Playwright and accessibility tree parsing designed to expose standard tool definitions for LLM frameworks.
Discussion
6 comments analyzed.
Competitors mentioned: playwright-cli
Concerns raised: Lacks transparency on methodology and results comparison, Remote providers require workaround (live URL proxy) for login flows, Claims need validation against full benchmark tasks
Feature requests: Support for user login without headless browser requirement, Publish full 26-task benchmark with session/token comparisons
Competitors
Other products that read as similar to this one — 265 launches clear the similarity bar, closest 8 shown.
Attention rank: #154 of 266 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 258 days after the earliest competitor.
- Browser4 · hn · 2025-12-13 · 7 upvotes · similarity 0.67
- Libretto · hn · 2026-04-15 · 134 upvotes · similarity 0.65
- Libretto PR agents · hn · 2026-07-16 · 22 upvotes · similarity 0.63
- ContextFort · hn · 2026-01-14 · 14 upvotes · similarity 0.52
- ts-browser-agent · github · 2026-09-18 · 31 upvotes · similarity 0.50
- Letting Claude automate fleets of browser sandboxes · hn · 2026-03-03 · 6 upvotes · similarity 0.50
- Smooth CLI · hn · 2026-02-05 · 109 upvotes · similarity 0.50
- I spent 3 months making desktop automation stop lying to AI agents · hn · 2026-08-15 · 6 upvotes · similarity 0.49
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.