Skip to main content
Libretto is a CLI and skill for your coding agent to build and maintain browser automations.
We spent a year building and maintaining browser automations for EHR and payer portal integrations at Saffron Health. None of those systems had the APIs we needed, and building and maintaining the automations was painfully slow. So, we built Libretto to make it easy to create new integrations and quickly fix errors when they pop up.

Core capabilities

  • Inspect live pages: Snapshot any page and get a token-efficient summary of selectors, interactive elements, and visible state.
  • Capture network traffic: Record every HTTP request/response to a structured JSONL log for reverse-engineering site APIs.
  • Record user actions: Capture clicks, form fills, and navigation in the browser so your agent can turn them into Playwright scripts.
  • Debug broken workflows: Give your coding agent tools and debugging features to step through and investigate failing workflows.

Get started

Create a new package

Scaffold a new Libretto package with directory structure and example workflows.

Install into an existing package

Add Libretto to a package you already have.