Launched July 14, 2026
Libretto

Libretto

An open source CLI to integrate with any website

FreeCLIAI Agents1,592 impressions#14 of its week

Libretto is an agent skill and token-efficient CLI that makes it easy for your coding agent to inspect live pages, reverse-engineer network requests, and generate deterministic browser automations. Go from "give an agent a prompt at runtime and hope it figures things out" to "use coding agents to generate real scripts you can inspect, run, and debug"

Libretto is an open-source CLI that lets AI coding agents record, debug, and run browser automations as reusable scripts.

for
Developers building AI agents that need to interact with web pages and automate browser tasks.
pricing
open source
license
MIT
cashew-labs/libretto 904 70TypeScriptupdated 2 months ago
works withPlaywrightChrome

Key features

4 features of Libretto
  • Libretto CLI — Record actions, capture network traffic, and generate Playwright scripts directly from the command line.
  • Debug Agents — When a Playwright automation fails, an agent inspects the page and opens a pull request with a fix.
  • Browser Tools SDK — Six SDK tools let AI agents read pages and control real browsers via Playwright.
  • Chrome Extension — Create and schedule browser workflows from Chrome, then reuse them as scripts.

Use cases

  • Generate deterministic browser scripts that can be inspected, run, and debug.
  • Automatically fix broken Playwright automations via pull-request patches.
  • Build web scrapers or data-extraction agents that navigate live sites.
  • Schedule recurring browser tasks (e.g., download invoices) across multiple sites.

Libretto vs alternatives

LibrettoClaude CodeGemini CLILangChainCrewAI
Best forCLI-driven browser automation for AI agentsAgentic coding in terminal and IDEGeneral AI agent tasks in terminalLLM app development frameworkCoordinating multiple AI agents
PricingOpen sourceSubscriptionFreeFreeSubscription
DevHunt upvotes10000
LaunchedJul 2026————
  • Libretto vs Claude Code: Claude Code focuses on terminal/IDE coding assistance, not browser workflow automation.
  • Libretto vs Gemini CLI: Gemini CLI is an AI agent for the terminal, without built-in browser automation tools.
  • Libretto vs LangChain: LangChain is a framework for building LLM apps, not a ready-made CLI for browser scripting.
  • Libretto vs CrewAI: CrewAI manages multi-agent systems, whereas Libretto provides concrete browser automation primitives.

Libretto FAQ

How does Libretto help coding agents with browser automation?+

It provides a CLI to record actions and network requests, then outputs reusable Playwright scripts that agents can call.

What happens when an automation fails?+

Libretto’s Debug Agents inspect the live page, generate a fix, and open a pull request with the corrected script.

Can I use Libretto from a Chrome browser?+

Yes, the Chrome extension lets you tell an agent to perform tasks in Chrome and save them as reusable workflows.

Is Libretto free to use?+

Libretto is open source and available without cost.

What language or framework does the SDK target?+

The Browser Tools SDK is built on Playwright and can be used from JavaScript/TypeScript.

Summarized by DevHunt from libretto.sh · Oct 2, 2026. Details may change; check the official site.