Libretto
Libretto is a toolkit for building robust web integrations. It gives your coding agent a live browser and a token-efficient CLI to:
Inspect live pages with minimal context overhead
Capture network traffic to reverse-engineer site APIs
Record user actions and replay them as automation scripts
Debug broken workflows interactively against the real site
We at Saffron Health built Libretto to help us maintain our browser integrations to common healthcare software. We're open-sourcing it so other teams have an easier time doing the same thing.
libretto-demo.mov
Installation
npm install libretto # First-time onboarding: install skill, download Chromium, and pin the default snapshot model npx libretto setup # Check workspace readiness at any time npx libretto status # Manually change the snapshot analysis model (advanced override) npx libretto ai configure < openai | anthropic | gemini | vertex >
... continue reading