Browser Tools SDK
Browser Tools SDK is an open-source npm package from Libretto that gives AI agents a small set of Playwright-backed browser tools so agents can open real browsers, read page snapshots, and run Playwright actions programmatically.
Browser Tools SDK is automation software teams evaluate for automation. Use this page to review pricing, integration signals, and the best alternatives before you commit.
Used in These Packs
Quick Overview
Best for: Automation
What it does
Automation software for decision-makers comparing workflow fit and alternatives.
Best fit
Automation
Pricing snapshot
Contact for pricing
Next step
Compare Browser Tools SDK with similar tools before you shortlist it.
Compare this tool before you shortlist it
Review alternatives, pricing posture, and workflow fit side by side.
Browser Tools SDK
Browser Tools SDK is an open-source SDK from Libretto that provides six small tools enabling AI agents to operate real browsers via Playwright. The SDK exposes browser-level primitives (open, snapshot, exec, status, close, connect/inspect) so agents can read a compact accessibility-style snapshot of a page and then run Playwright code to interact with the live page. It is distributed as an npm package (libretto-browser-tools) and includes adapters for common agent frameworks such as AI SDK and Pi, plus support for local or hosted browser providers.
Six tools let any AI agent open a real browser, read the page, and act with Playwright.
Own this listing?
Claim this page to add pricing, features, screenshots, and verified owner details.
Claim this listingKey Features
Six browser tools
A compact toolset (browser_open, browser_snapshot, browser_exec, browser_status, browser_close and inspect/connect) that lets agents read page structure and run Playwright actions.
browser_snapshot
Returns a compact accessibility tree with stable refs so the agent can read page structure without raw HTML.
browser_exec
Runs Playwright code on the live page; each call returns a compact snapshot diff showing what changed.
Built-in adapters
Includes adapters for AI SDK and Pi and provides a custom path to connect other agent frameworks.
Local and hosted browser providers
Supports running Chromium locally with LocalBrowserProvider and built-in providers including Libretto Cloud, Browserbase, Kernel, and Steel.
Open source distribution
The package is available under the MIT license in the Libretto repository.
Libretto CLI & tooling
Integrates with Libretto CLI to turn recorded browser workflows into reusable TypeScript APIs and to debug or repair failed browser runs.
Benchmarked efficiency
Published benchmarks on the page claim lower outcome cost vs alternatives (example: Browser Tools $0.106 vs dev-browser $0.257 in a 26-task measurement).
Pricing
Claim this listing to add current pricing tiers.
Use Cases
Give agents real browser access
Allow AI agents to open a real browser, read a compact snapshot of the page, and execute Playwright steps to complete tasks on live websites.
Automate complex page interactions
Enable agents to work through complex pages by combining browser_snapshot for reading structure and browser_exec for interacting with the live DOM.
Record and expose browser workflows as APIs
Use Libretto CLI to record live workflows and save them as reusable TypeScript APIs.
Debug and repair failed browser runs
Give a failed run to an agent and receive a tested pull request or repaired workflow using Libretto's debugging tools.
Integrations
AI SDK adapter
Built-in adapter to connect the Browser Tools SDK to the AI SDK agent framework.
Pi adapter
Built-in adapter to connect the Browser Tools SDK to Pi.
Custom adapter
A custom integration path for wiring the base tools into other agent loops or frameworks.
LocalBrowserProvider
Run Chromium on your machine as a browser provider.
Hosted providers (Libretto Cloud, Browserbase, Kernel, Steel)
Built-in providers listed on the page for running browsers in hosted environments.
Benefits
Limitations
Frequently Asked Questions
Which agent frameworks work today?
Which browser providers can I use?
Why does the SDK expose only six tools?
Does Browser Tools SDK replace Playwright?
Is Browser Tools SDK open source?
Getting Started
- 1 Install the package: $npm i libretto-browser-tools
- 2 Create or select a browser provider (for example: const provider = new LocalBrowserProvider()).
- 3 Create the SDK tools and use them with your agent: const { tools } = createAiSdkBrowserTools(provider); then call your agent/generation API with the tools (example shown: generateText with model, tools, prompt).
- 4 Optionally use Libretto CLI to record workflows, turn them into reusable TypeScript files, and debug failed runs.
Support
docs
Documentation and usage examples available on the Libretto site (Docs link referenced on the page).
forum
Libretto forum is referenced on the site for community discussion.
cli & repo
VIEW SOURCE ON GITHUB and Libretto CLI tooling are referenced on the page for debugging and workflow tooling.
blog & changelog
Blog and changelog links are available from the site for updates and release notes.
API
Compare Browser Tools SDK with similar tools
See how it stacks up against alternatives
Related Tools
View all 103 →
Docgpt
GPT for Sheets (by DocGPT.ai) is a Google Sheets add-on that embeds 100+ AI models and spreadsheet AI formulas to perform lead enrichment, web scraping, SEO content generation, image/vision tasks, automation and bulk workflows directly inside Google Sheets.
Premium Alternatives
OTP Inspired actor supervisor based full stack templates
ShipStacks provides production-grade, OTP-inspired full-stack SaaS templates that include supervisors/actor patterns, auth, payments, uploads, AI chat and agent playbooks, and Docker-ready deployment in multiple languages and frameworks.
ClaudeThings
ClaudeThings provides a packaged, continuously-updating set of 89 specialized agents, 103 pre-built skills, and 181 slash commands that act as an AI engineering and marketing team for Claude Code — delivered as a private GitHub repo and installed with a single npx command. It adapts to any stack via a CLAUDE.md project manifest and is sold as a one-time purchase with lifetime updates.
Aiportraitgen
AI Portrait Gen is an online AI portrait generator that creates realistic, high-quality portrait photos from a few user-supplied photos. It offers customizable locations, outfits and styles, pay-as-you-go credits (no subscription), and privacy protections for uploaded images.
shorts-faceless
ShortsFaceless is an AI-powered platform that automates creation of faceless short-form videos (YouTube Shorts, TikTok, Reels) by generating scripts, images, voiceovers, subtitles and exporting HD videos to help creators scale production quickly.
Documentpro
DocumentPro is an API-first document intelligence platform that extracts structured data from invoices, purchase orders, tax forms and other documents for embedding into software platforms; it emphasizes fast integration, AI-powered extraction, and maintenance-free production operation.